add -Wdeclaration-after-statement to warning flags for gcc

This commit is contained in:
Stephen Swaney 2007-04-12 18:20:00 +00:00
parent 4b9bb64897
commit 5ca1910276
6 changed files with 6 additions and 6 deletions

@ -143,7 +143,7 @@ REL_CCFLAGS = ['-O2']
##
CC = 'gcc'
CXX = 'g++'
C_WARN = ' -Wall -Wno-long-double'
C_WARN = ' -Wall -Wno-long-double -Wdeclaration-after-statement '
CC_WARN = ' -Wall -Wno-long-double'

@ -145,7 +145,7 @@ REL_CCFLAGS = ['-O2']
##ARFLAGS = ruv
##ARFLAGSQUIET = ru
##
C_WARN = '-Wall -Wno-char-subscripts'
C_WARN = '-Wall -Wno-char-subscripts -Wdeclaration-after-statement'
CC_WARN = '-Wall'

@ -123,7 +123,7 @@ CPPFLAGS = [ '-DXP_UNIX', '-DWIN32', '-DFREE_WINDOWS' ]
CXXFLAGS = ['-pipe', '-mwindows', '-funsigned-char', '-fno-strict-aliasing' ]
REL_CFLAGS = [ '-O2' ]
REL_CCFLAGS = [ '-O2' ]
C_WARN = [ '-Wall' , '-Wno-char-subscripts' ]
C_WARN = [ '-Wall' , '-Wno-char-subscripts', '-Wdeclaration-after-statement' ]
CC_WARN = [ '-Wall' ]

@ -138,7 +138,7 @@ REL_CCFLAGS = ['-O2']
##
CC = 'gcc'
CXX = 'g++'
C_WARN = '-Wall'
C_WARN = '-Wall -Wdeclaration-after-statement'
CC_WARN = '-Wall'

@ -146,7 +146,7 @@ REL_CCFLAGS = ['-O2']
##ARFLAGS = ruv
##ARFLAGSQUIET = ru
##
C_WARN = '-Wall -Wno-char-subscripts'
C_WARN = '-Wall -Wno-char-subscripts -Wdeclaration-after-statement'
CC_WARN = '-Wall'

@ -156,7 +156,7 @@ REL_CCFLAGS = [ '-O2' ]
##ARFLAGS = ruv
##ARFLAGSQUIET = ru
##
C_WARN = [ '-Wall' , '-Wno-char-subscripts' ]
C_WARN = [ '-Wall' , '-Wno-char-subscripts', '-Wdeclaration-after-statement' ]
CC_WARN = [ '-Wall' ]