From e377a5f7210d2cd26d48344df38e6381a86a635d Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Sat, 25 Feb 2006 10:40:31 +0000 Subject: ==SCons== * Use same warning flags as with linux2, greatly reducing noise in output during compile. Also for developers using win32/mingw now in effect: correct *each* and *every* warning in your code. I command you to! --- config/win32-mingw-config.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'config') diff --git a/config/win32-mingw-config.py b/config/win32-mingw-config.py index 2b87ee08ca7..ed87a13ce3e 100644 --- a/config/win32-mingw-config.py +++ b/config/win32-mingw-config.py @@ -130,14 +130,9 @@ REL_CCFLAGS = [ '-O2' ] ##ARFLAGS = ruv ##ARFLAGSQUIET = ru ## -C_WARN = [ '-Wall', '-W', '-Wshadow', '-Wpointer-arith', '-Wbad-function-cast', - '-Wcast-qual', '-Wcast-align', '-Waggregate-return', - '-Wstrict-prototypes', '-Wmissing-prototypes', - '-Wmissing-declarations', '-Wnested-externs', '-Wredundant-decls' ] - -CC_WARN = [ '-Wall', '-W', '-Wshadow', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', - '-Wredundant-decls', '-Wreorder', '-Wctor-dtor-privacy', '-Wnon-virtual-dtor', - '-Wold-style-cast', '-Woverloaded-virtual', '-Wsign-promo', '-Wsynth' ] +C_WARN = [ '-Wall' , '-Wno-char-subscripts' ] + +CC_WARN = [ '-Wall' ] ##FIX_STUBS_WARNINGS = -Wno-unused -- cgit v1.2.3