[cairo-commit] build/configure.ac.warnings

Chris Wilson ickle at kemper.freedesktop.org
Fri Oct 29 07:03:42 PDT 2010


 build/configure.ac.warnings |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 253374d6ada14796b5ec55ceb7983de62be34f62
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Oct 29 15:00:03 2010 +0100

    configure: Remove noisy -Wlogical-op
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/build/configure.ac.warnings b/build/configure.ac.warnings
index b225ac8..a43ae89 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


More information about the cairo-commit mailing list