Code

configure: Removed -Wunreachable-code from strict checks flags.
authorSebastian Harl <sh@tokkee.org>
Thu, 14 Oct 2010 19:15:09 +0000 (21:15 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 14 Oct 2010 19:15:09 +0000 (21:15 +0200)
This produces warnings (i.e. errors due to -Werror) when using strcmp() and
having optimization turned on :-/

configure.ac

index 31d2f0378bd5d4439d5fe8c37e472874f18cbb9e..5f4f758b8dd650f7fd803eb63ad2e68e63097737 100644 (file)
@@ -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