==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!
This commit is contained in:
Nathan Letwory 2006-02-25 10:40:31 +00:00
parent 8dd19059fc
commit e377a5f721

@ -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' ]
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