Fix for scons + mingw64 warning flags fix
So, it turns out my changes here the other day were a bit too over-eager: -Wdeclaration-after-statement and -Wstrict-prototypes only applied to C code and not C++ (which that set of flags was getting included for too). However, -Wno-char-subscripts is fine where it is now, so I've left it in place
This commit is contained in:
parent
bf4c44491a
commit
c62c44bdc1
@ -188,10 +188,10 @@ REL_CFLAGS = []
|
|||||||
REL_CXXFLAGS = []
|
REL_CXXFLAGS = []
|
||||||
REL_CCFLAGS = ['-O2', '-ftree-vectorize']
|
REL_CCFLAGS = ['-O2', '-ftree-vectorize']
|
||||||
|
|
||||||
# NOTE: C_WARN gets ignored
|
# NOTE: C_WARN seems to get ignored - at least -Wno-char-subscripts doesn't work!
|
||||||
#C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes']
|
C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes']
|
||||||
|
|
||||||
CC_WARN = [ '-Wall', '-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes' ]
|
CC_WARN = [ '-Wall', '-Wno-char-subscripts' ]
|
||||||
|
|
||||||
LLIBS = ['-lshell32', '-lshfolder', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz', '-lstdc++','-lole32','-luuid', '-lwsock32', '-lpsapi', '-lpthread']
|
LLIBS = ['-lshell32', '-lshfolder', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz', '-lstdc++','-lole32','-luuid', '-lwsock32', '-lpsapi', '-lpthread']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user