From acf11156a94dbd7d222ea26ae6ded361c25e0b48 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 25 Mar 2014 01:03:16 +0100 Subject: configure.ac: unfortunately our code is not ready for -Werror=switch yet (break GTK3 build in number of places, needs proper fixes) (bzr r13207) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3