Commit: 31425f922508ec5ab2c0e0bbdf9ba38e3c682b2b Author: Joshua Leung Date: Thu Feb 5 00:50:50 2015 +1300 Branches: master https://developer.blender.org/rB31425f922508ec5ab2c0e0bbdf9ba38e3c682b2b
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? =================================================================== M build_files/scons/config/win64-mingw-config.py =================================================================== diff --git a/build_files/scons/config/win64-mingw-config.py b/build_files/scons/config/win64-mingw-config.py index 60a9c9f..16574f7 100644 --- a/build_files/scons/config/win64-mingw-config.py +++ b/build_files/scons/config/win64-mingw-config.py @@ -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'] _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs