diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2007-04-12 22:20:00 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2007-04-12 22:20:00 +0400 |
commit | 5ca191027620e4802ff540424a60486c4742812a (patch) | |
tree | fec9d142011cacb3b860aa0094e0fc4f25ccc1d7 /config | |
parent | 4b9bb648979d80690f36d7195af88562d1efa0f6 (diff) |
add -Wdeclaration-after-statement to warning flags for gcc
Diffstat (limited to 'config')
-rw-r--r-- | config/darwin-config.py | 2 | ||||
-rw-r--r-- | config/linux2-config.py | 2 | ||||
-rw-r--r-- | config/linuxcross-config.py | 2 | ||||
-rw-r--r-- | config/openbsd3-config.py | 2 | ||||
-rw-r--r-- | config/sunos5-config.py | 2 | ||||
-rw-r--r-- | config/win32-mingw-config.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/config/darwin-config.py b/config/darwin-config.py index ee386e8ca76..142317440ae 100644 --- a/config/darwin-config.py +++ b/config/darwin-config.py @@ -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' diff --git a/config/linux2-config.py b/config/linux2-config.py index 4866f86c3ad..a041f518ba7 100644 --- a/config/linux2-config.py +++ b/config/linux2-config.py @@ -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' diff --git a/config/linuxcross-config.py b/config/linuxcross-config.py index f372e5d886e..1c2288a8430 100644 --- a/config/linuxcross-config.py +++ b/config/linuxcross-config.py @@ -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' ] diff --git a/config/openbsd3-config.py b/config/openbsd3-config.py index bbb13731bd8..b3579d4ac65 100644 --- a/config/openbsd3-config.py +++ b/config/openbsd3-config.py @@ -138,7 +138,7 @@ REL_CCFLAGS = ['-O2'] ## CC = 'gcc' CXX = 'g++' -C_WARN = '-Wall' +C_WARN = '-Wall -Wdeclaration-after-statement' CC_WARN = '-Wall' diff --git a/config/sunos5-config.py b/config/sunos5-config.py index 78fe55dc7ba..7939e210993 100644 --- a/config/sunos5-config.py +++ b/config/sunos5-config.py @@ -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' diff --git a/config/win32-mingw-config.py b/config/win32-mingw-config.py index c4b14a10c89..95c096c4bac 100644 --- a/config/win32-mingw-config.py +++ b/config/win32-mingw-config.py @@ -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' ] |