Compiler warnings tweak for scons + mingw64
The warning flags in C_WARN were not actually getting included (most notably, the one disabling the pointless + braindead one about using chars to index into arrays - given that we only use unsigned chars everywhere). Maybe this should get done for the other scons platforms too?
This commit is contained in:
parent
810c7ee825
commit
31425f9225
|
@ -188,9 +188,10 @@ REL_CFLAGS = []
|
|||
REL_CXXFLAGS = []
|
||||
REL_CCFLAGS = ['-O2', '-ftree-vectorize']
|
||||
|
||||
C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes']
|
||||
# NOTE: C_WARN gets ignored
|
||||
#C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes']
|
||||
|
||||
CC_WARN = [ '-Wall' ]
|
||||
CC_WARN = [ '-Wall', '-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes' ]
|
||||
|
||||
LLIBS = ['-lshell32', '-lshfolder', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz', '-lstdc++','-lole32','-luuid', '-lwsock32', '-lpsapi', '-lpthread']
|
||||
|
||||
|
|
Loading…
Reference in New Issue