From ae61583dd629eacc0c8257380cf16553cc805156 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 4 Mar 2013 18:55:03 +0100 Subject: [PATCH] configure: Don't use -Wunreachable-code. This seems to cause errors with some versions of GCC when using assertions that (after optimization, inlining, and code-analysis) will never be true. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e9e8a3c..148b76d 100644 --- a/configure.ac +++ b/configure.ac @@ -171,8 +171,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