scons: Use -Wdeclaration-after-statement

This commit is contained in:
José Fonseca
2009-03-13 11:47:57 +00:00
parent 188a3334f8
commit f22574be95
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -334,6 +334,7 @@ def generate(env):
'-Wall',
'-Wmissing-prototypes',
'-Wno-long-long',
'-Wdeclaration-after-statement',
'-ffast-math',
'-std=gnu99',
'-fmessage-length=0', # be nice to Eclipse
+1 -3
View File
@@ -409,13 +409,11 @@ def generate(env):
'-Wall',
'-Wmissing-prototypes',
'-Wno-long-long',
'-Wdeclaration-after-statement',
'-ffast-math',
'-pedantic',
'-fmessage-length=0', # be nice to Eclipse
]
cflags += [
'-Wmissing-prototypes',
]
if msvc:
# See also:
# - http://msdn.microsoft.com/en-us/library/19z1t1wy.aspx