summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-06-10 14:01:32 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-06-10 14:01:32 +0100
commitdd9e43e98ddf321cd05b735022c8ef53a241a633 (patch)
tree745fb493bc46576fbf70779ed8b74b1d5871780e /configure.ac
parent0eb300e2eeeedd4cc701ac58af5484155601fc9c (diff)
downloadclutter-dd9e43e98ddf321cd05b735022c8ef53a241a633.tar.gz
build: No need to conditionally include -Wshadow
Cogl is not in tree any more, and compiler warnings are properly addressed.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index b6bd67883..f95295be1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -401,14 +401,6 @@ AS_IF([test "x$enable_wayland_compositor" = "xyes"],
AM_CONDITIONAL(SUPPORT_WAYLAND_COMPOSITOR, [test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"])
-AS_IF([test "x$enable_wayland_compositor" != "xyes" -a "x$enable_wayland" != "xyes"],
- [
- # The wayland headers introduce so much symbol shadowing that build
- # logs become incomprehensible with -Wshadow so we only use it for
- # non-wayland builds.
- MAINTAINER_COMPILER_FLAGS="-Wshadow"
- ])
-
AS_IF([test "x$enable_cex100" = "xyes"],
[
CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
@@ -953,6 +945,7 @@ MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
-Wcast-align
-Wuninitialized
-Wno-strict-aliasing
+ -Wshadow
-Werror=logical-op
-Werror=pointer-arith
-Werror=missing-declarations