Mesa (mesa_7_7_branch): scons: Promote pointer arithmetic to error.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Fri Nov 27 17:06:29 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: 2348f6d490a200b464013dfe68c61525aee86feb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2348f6d490a200b464013dfe68c61525aee86feb
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Nov 27 16:01:36 2009 +0000
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 483bd5d..ca1ca51 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
More information about the mesa-commit
mailing list