summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-11-27 16:01:36 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-11-27 17:06:12 +0000
commit2348f6d490a200b464013dfe68c61525aee86feb (patch)
tree1a5e3800c9f5de6b25360c6fedd6cbb648ede687 /scons/gallium.py
parent5976d8e6f1b12e9ac13a8d09aa9723f971f38a92 (diff)
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.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py2
1 files changed, 1 insertions, 1 deletions
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