From 6c8a69c602643ae3102c263148a94559d6594381 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 17 Sep 2009 14:39:42 +0100 Subject: [PATCH 1/1] Disable -Wunsafe-loop-optimizations This warning indicates that GCC could not do a particular sort of loop optimization. It pops up randomly in certain forms of looping code, and seems safe to ignore. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index b28f316..95ab51e 100644 --- a/configure.ac +++ b/configure.ac @@ -84,6 +84,8 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Winline" # daemon.h's asprintf_nowarn nw="$nw -Wshadow" # numerous, plus we're not unanimous # ?? -Wstrict-overflow + nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization + # was not possible, safe to ignore gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) -- 1.8.3.1