scons: Make declaration-after-statement and pointer-arith just warnings.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 30 Jun 2011 09:43:57 +0000 (10:43 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 30 Jun 2011 09:43:57 +0000 (10:43 +0100)
Necessary, in order to build the whole tree.

scons/gallium.py

index 9d08efdd10cd838f1d3c9409a60d97c085a42e24..bde1a3c6df760ac598a1f7d7ad316b87cfc9968d 100755 (executable)
@@ -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: