summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-29 15:00:03 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-29 15:00:03 +0100
commit253374d6ada14796b5ec55ceb7983de62be34f62 (patch)
tree51a0d38f5fbee8139e5288a19947a871af50d28c /build
parent5a762edc28310a59968230ccb5354c57808606bf (diff)
configure: Remove noisy -Wlogical-op
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'build')
-rw-r--r--build/configure.ac.warnings4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/configure.ac.warnings b/build/configure.ac.warnings
index b225ac82..a43ae894 100644
--- a/build/configure.ac.warnings
+++ b/build/configure.ac.warnings
@@ -8,6 +8,8 @@ dnl MAYBE_WARN in an ignorable way (like adding whitespace)
# -Wcast-align generates lots of false positive reports we need to
# cast image data from uint8_t to uin32_t.
+# -Wlogical-op causes too much noise from strcmp("literal", str)
+
MAYBE_WARN="-Wall -Wextra \
-Wold-style-definition -Wdeclaration-after-statement \
-Wmissing-declarations -Werror-implicit-function-declaration \
@@ -17,7 +19,7 @@ MAYBE_WARN="-Wall -Wextra \
-Wbad-function-cast -Wvolatile-register-var \
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
-Wno-missing-field-initializers -Wno-unused-parameter \
--Wno-attributes -Wno-long-long -Winline -Wlogical-op"
+-Wno-attributes -Wno-long-long -Winline"
dnl Sun Studio 12 likes to rag at us for abusing enums like
dnl having cairo_status_t variables hold cairo_int_status_t