From: Richard Jones Date: Sat, 31 Oct 2009 13:37:04 +0000 (+0000) Subject: daemon: Don't warn on -Wunsafe-loop-optimizations. X-Git-Tag: 1.0.77~16 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=sidebyside;h=32ab3c183836ab434ab739bea8238593d70db2ac;p=libguestfs.git daemon: Don't warn on -Wunsafe-loop-optimizations. Ignore -Wunsafe-loop-optimizations, same as in the top level configure file. --- diff --git a/daemon/configure.ac b/daemon/configure.ac index c5cd0c7..52da3ad 100644 --- a/daemon/configure.ac +++ b/daemon/configure.ac @@ -93,6 +93,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])