diff options
-rw-r--r-- | scons/gallium.py | 1 | ||||
-rw-r--r-- | scons/generic.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index f559ca0089..e837e9702c 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -315,6 +315,7 @@ def generate(env): '-Wall', '-Wmissing-prototypes', '-Wno-long-long', + '-Wdeclaration-after-statement', '-ffast-math', '-std=c99', '-pedantic', diff --git a/scons/generic.py b/scons/generic.py index a7731a19d7..66623427a4 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -385,6 +385,7 @@ def generate(env): '-Wall', '-Wmissing-prototypes', '-Wno-long-long', + '-Wdeclaration-after-statement', '-ffast-math', '-pedantic', '-fmessage-length=0', # be nice to Eclipse |