diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-03-25 00:03:16 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-03-25 00:03:16 +0000 |
| commit | acf11156a94dbd7d222ea26ae6ded361c25e0b48 (patch) | |
| tree | 689a7ecc9089866e1fef754fd4d50815984d3cdf | |
| parent | windows build: update warning flags. unfortunately our code is not ready for ... (diff) | |
| download | inkscape-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.ac | 2 |
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 |
