projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5976d8e
)
scons: Promote pointer arithmetic to error.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 27 Nov 2009 16:01:36 +0000
(16:01 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 27 Nov 2009 17:06:12 +0000
(17:06 +0000)
All code covered by scons is being built on multiple OSes, so pointer
arithmetic must really be addressed when spotted.
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 483bd5d29eb7fd8716ca820f825a0c851b8fa8c1..ca1ca5153e751d0635adffa349ffd2462e3895e6 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-366,7
+366,7
@@
def generate(env):
ccflags += [
'-Wall',
'-Wmissing-field-initializers',
- '-Wpointer-arith',
+ '-W
error=
pointer-arith',
'-Wno-long-long',
'-ffast-math',
'-fmessage-length=0', # be nice to Eclipse