diff --git a/PythonAPI/setup.py b/PythonAPI/setup.py index eb3d508c..5ef76cd1 100644 --- a/PythonAPI/setup.py +++ b/PythonAPI/setup.py @@ -11,7 +11,7 @@ 'pycocotools._mask', sources=['../common/maskApi.c', 'pycocotools/_mask.pyx'], include_dirs = [np.get_include(), '../common'], - extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'], + extra_compile_args={'gcc': ['/Qstd=c99']}, ) ] @@ -21,4 +21,4 @@ version='2.0', ext_modules= cythonize(ext_modules) - ) \ No newline at end of file + )