From ac80175f103e920bb902c99245d352e4387844a7 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 14 Oct 2010 21:15:09 +0200 Subject: [PATCH] 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 :-/ --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2