From: Sebastian Harl Date: Thu, 14 Oct 2010 19:15:09 +0000 (+0200) Subject: configure: Removed -Wunreachable-code from strict checks flags. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac80175f103e920bb902c99245d352e4387844a7;p=lm2latex.git configure: Removed -Wunreachable-code from strict checks flags. This produces warnings (i.e. errors due to -Werror) when using strcmp() and having optimization turned on :-/ --- diff --git a/configure.ac b/configure.ac index 31d2f03..5f4f758 100644 --- a/configure.ac +++ b/configure.ac @@ -160,8 +160,7 @@ if test "x$enable_strict_checks" = "xyes"; then -Wmissing-prototypes \ -Wpointer-arith \ -Wshadow \ - -Wstrict-prototypes \ - -Wunreachable-code; do + -Wstrict-prototypes; do AC_MSG_CHECKING([whether $CC accepts $flag]) if test_cc_flags $flag; then