Module: Mesa
Branch: gallium-0.1
Commit: df1ae293c9c88615201cbe4b6c7a721d997ec809
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=df1ae293c9c88615201cbe4b6c7a721d997ec809

Author: José Fonseca <[email protected]>
Date:   Fri Mar 13 11:47:57 2009 +0000

scons: Use -Wdeclaration-after-statement
(cherry picked from commit f22574be95ccfb21058699f5e27e684abc87dac9)

---

 scons/gallium.py |    1 +
 scons/generic.py |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index f559ca0..e837e97 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 a7731a1..6662342 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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to