Skip to content

Commit 86c48b4

Browse files
committed
Reduce compiler warnings (by turning some off).
1 parent a17e0c9 commit 86c48b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎setup.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ def download_library():
7777
SQLPARSER_DIR + 'ext/node_visitor/' ],
7878
library_dirs = [ SQLPARSER_DIR + '/lib/' ],
7979
libraries = [ 'gspcollection' + ARCH, 'gspcore' + ARCH ],
80-
define_macros = [ ('_CRT_SECURE_NO_WARNINGS', None), ('DONT_FIX_FRAGMENTS', None), ]
80+
define_macros = [ ('_CRT_SECURE_NO_WARNINGS', None), ('DONT_FIX_FRAGMENTS', None), ],
81+
extra_compile_args = ['-Wno-strict-prototypes'],
82+
8183
)
8284

8385
if sys.platform == 'win32' or sys.platform == 'win64':

0 commit comments

Comments
 (0)