diff options
Diffstat (limited to 'scons/generic.py')
-rw-r--r-- | scons/generic.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scons/generic.py b/scons/generic.py index def2e415d50..26ba309d686 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -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 |