From 68cde07b99a716e66f4d242bc90236881333172d Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Fri, 31 Oct 2008 13:58:59 +0000 Subject: corrections to the C_WARN and CC_WARN variables for scons config. I didn't actually changed what the flags were, just the format, but Platform Maintainers, please check. --- config/darwin-config.py | 4 ++-- config/openbsd3-config.py | 4 ++-- config/sunos5-config.py | 4 ++-- config/win32-mingw-config.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/darwin-config.py b/config/darwin-config.py index ccc3eb5a0d0..547d655b531 100644 --- a/config/darwin-config.py +++ b/config/darwin-config.py @@ -251,9 +251,9 @@ else: ## CC = 'gcc' CXX = 'g++' -C_WARN = ' -Wall -Wno-long-double -Wdeclaration-after-statement ' +C_WARN = ['-Wdeclaration-after-statement'] -CC_WARN = ' -Wall -Wno-long-double' +CC_WARN = ['-Wall', '-Wno-long-double'] ##FIX_STUBS_WARNINGS = -Wno-unused diff --git a/config/openbsd3-config.py b/config/openbsd3-config.py index b2112c84b98..0a4f75e3bcc 100644 --- a/config/openbsd3-config.py +++ b/config/openbsd3-config.py @@ -145,9 +145,9 @@ REL_CCFLAGS = ['-O2'] ## CC = 'gcc' CXX = 'g++' -C_WARN = '-Wall -Wdeclaration-after-statement' +C_WARN = ['-Wdeclaration-after-statement'] -CC_WARN = '-Wall' +CC_WARN = ['-Wall'] ##FIX_STUBS_WARNINGS = -Wno-unused diff --git a/config/sunos5-config.py b/config/sunos5-config.py index bb6c5d89e46..2343ce69060 100644 --- a/config/sunos5-config.py +++ b/config/sunos5-config.py @@ -159,9 +159,9 @@ REL_CCFLAGS = ['-O2'] ##ARFLAGS = ruv ##ARFLAGSQUIET = ru ## -C_WARN = '-Wall -Wno-char-subscripts -Wdeclaration-after-statement' +C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement'] -CC_WARN = '-Wall' +CC_WARN = ['-Wall'] ##FIX_STUBS_WARNINGS = -Wno-unused diff --git a/config/win32-mingw-config.py b/config/win32-mingw-config.py index d7ecad33bca..bdeca1ddc91 100644 --- a/config/win32-mingw-config.py +++ b/config/win32-mingw-config.py @@ -153,7 +153,7 @@ CXXFLAGS = ['-pipe', '-mwindows', '-funsigned-char', '-fno-strict-aliasing' ] REL_CFLAGS = [ '-O2' ] REL_CCFLAGS = [ '-O2' ] -C_WARN = [ '-Wall' , '-Wno-char-subscripts', '-Wdeclaration-after-statement' ] +C_WARN = [ '-Wno-char-subscripts', '-Wdeclaration-after-statement' ] CC_WARN = [ '-Wall' ] -- cgit v1.2.3