[clutter/clutter-1.18] build: Add -Werror=logical-op



commit 2662788bbc0abbf07e303425bff595d3e66d5ce3
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 10 17:39:47 2014 +0000

    build: Add -Werror=logical-op
    
    Caught a couple of checks that evaluated to always true.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711540

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b4ff89c..0750e92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -918,6 +918,7 @@ MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
                            -Wcast-align
                            -Wuninitialized
                            -Wno-strict-aliasing
+                           -Werror=logical-op
                            -Werror=pointer-arith
                            -Werror=missing-declarations
                            -Werror=redundant-decls


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]