From: José Fonseca Date: Thu, 30 Jun 2011 09:43:57 +0000 (+0100) Subject: scons: Make declaration-after-statement and pointer-arith just warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0edb40cb69124722691011b0db1c8b7376217728;p=mesa.git scons: Make declaration-after-statement and pointer-arith just warnings. Necessary, in order to build the whole tree. --- diff --git a/scons/gallium.py b/scons/gallium.py index 9d08efdd10c..bde1a3c6df7 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: