summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-03-25 00:03:16 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-03-25 00:03:16 +0000
commitacf11156a94dbd7d222ea26ae6ded361c25e0b48 (patch)
tree689a7ecc9089866e1fef754fd4d50815984d3cdf
parentwindows build: update warning flags. unfortunately our code is not ready for ... (diff)
downloadinkscape-acf11156a94dbd7d222ea26ae6ded361c25e0b48.tar.gz
inkscape-acf11156a94dbd7d222ea26ae6ded361c25e0b48.zip
configure.ac: unfortunately our code is not ready for -Werror=switch yet (break GTK3 build in number of places, needs proper fixes)
(bzr r13207)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d2454da06..c470c4535 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,7 +96,7 @@ if test "$GCC" = "yes"; then
# Test for -Werror=... (introduced some time post-4.0)
AC_MSG_CHECKING([compiler support for -Werror=...])
ink_svd_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="-Werror=format-security -Werror=switch -Werror=return-type $CPPFLAGS"
+ CPPFLAGS="-Werror=format-security -Wswitch -Werror=return-type $CPPFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [ink_opt_ok=yes], [ink_opt_ok=no])
AC_MSG_RESULT([$ink_opt_ok])
if test "x$ink_opt_ok" != "xyes"; then