corrections to the C_WARN and CC_WARN variables for scons config. I didn't actually...
authorMartin Poirier <theeth@yahoo.com>
Fri, 31 Oct 2008 13:58:59 +0000 (13:58 +0000)
committerMartin Poirier <theeth@yahoo.com>
Fri, 31 Oct 2008 13:58:59 +0000 (13:58 +0000)
config/darwin-config.py
config/openbsd3-config.py
config/sunos5-config.py
config/win32-mingw-config.py

index ccc3eb5a0d0ccc9032a89d761774df3fa8c19a23..547d655b531ad93e52c2d6cb3e6fb000cc8814e1 100644 (file)
@@ -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
 
index b2112c84b9895698d2c745e4c995faacf9fd0d68..0a4f75e3bccc4fc4d777cc7309e3a3fc9739866d 100644 (file)
@@ -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
 
index bb6c5d89e4633ffb755ee602611450481e4725ff..2343ce69060ceaaf5228d5b3679f8d3446952d43 100644 (file)
@@ -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
 
index d7ecad33bca48043799782ba5264eb638a894f08..bdeca1ddc9182ab9e43d0b23f00c8d817d65b5df 100644 (file)
@@ -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' ]