From 4548f5ce00e2834a6108e1d27588ac0ac392a2c3 Mon Sep 17 00:00:00 2001 From: Catherine Ng <44181913+catherine8224@users.noreply.github.com> Date: Sat, 21 Nov 2020 10:27:53 -0500 Subject: [PATCH] Update setup.py --- PythonAPI/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 + )