Module: Mesa
Branch: master
Commit: 0edb40cb69124722691011b0db1c8b7376217728
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0edb40cb69124722691011b0db1c8b7376217728

Author: José Fonseca <jfons...@vmware.com>
Date:   Thu Jun 30 10:43:57 2011 +0100

scons: Make declaration-after-statement and pointer-arith just warnings.

Necessary, in order to build the whole tree.

---

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

diff --git a/scons/gallium.py b/scons/gallium.py
index 9d08efd..bde1a3c 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -437,10 +437,10 @@ def generate(env):
             ]
         if distutils.version.LooseVersion(ccversion) >= 
distutils.version.LooseVersion('4.2'):
             ccflags += [
-                '-Werror=pointer-arith',
+                '-Wpointer-arith',
             ]
             cflags += [
-                '-Werror=declaration-after-statement',
+                '-Wdeclaration-after-statement',
             ]
     if msvc:
         # See also:

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to