==SCons==
authorNathan Letwory <nathan@letworyinteractive.com>
Sat, 25 Feb 2006 01:06:02 +0000 (01:06 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sat, 25 Feb 2006 01:06:02 +0000 (01:06 +0000)
* Warning flags I had dutifully copied from sirdudes yet unpublished
  make rewrite turned out to be the Paranoia flags, causing the flood
  of warnings. Using better flags instead (like current Makefile level 1).

  All developers on Linux that use SCons for building - (new) code you write is
  supposed to be *entirely* warning-free from now on (Ton said so!)

config/linux2-config.py

index f44cda3eee9f024b02f92ed2664d2070e326759b..a66da7d014beaa68c983ddb94e1221e05dcf4069 100644 (file)
@@ -121,9 +121,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 '
+C_WARN = '-Wall -Wno-char-subscripts'
 
-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 '
+CC_WARN = '-Wall'
 
 ##FIX_STUBS_WARNINGS = -Wno-unused