From: José Fonseca Date: Fri, 27 Nov 2009 16:01:36 +0000 (+0000) Subject: scons: Promote pointer arithmetic to error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2348f6d490a200b464013dfe68c61525aee86feb;p=mesa.git 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. --- diff --git a/scons/gallium.py b/scons/gallium.py index 483bd5d29eb..ca1ca5153e7 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