From 2348f6d490a200b464013dfe68c61525aee86feb Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 27 Nov 2009 16:01:36 +0000 Subject: scons: Promote pointer arithmetic to error. All code covered by scons is being built on multiple OSes, so pointer arithmetic must really be addressed when spotted. --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scons') diff --git a/scons/gallium.py b/scons/gallium.py index 483bd5d29e..ca1ca5153e 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -366,7 +366,7 @@ def generate(env): ccflags += [ '-Wall', '-Wmissing-field-initializers', - '-Wpointer-arith', + '-Werror=pointer-arith', '-Wno-long-long', '-ffast-math', '-fmessage-length=0', # be nice to Eclipse -- cgit v1.2.3