summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-10-31 13:37:04 +0000
committerRichard Jones <rjones@redhat.com>2009-11-02 15:50:22 +0000
commit32ab3c183836ab434ab739bea8238593d70db2ac (patch)
tree1fcde48c37f35b697f642972e2e039cf1f8330e0
parent6600c275b2a845c3dc26ee97708abd04dd3c5c5c (diff)
downloadlibguestfs-32ab3c183836ab434ab739bea8238593d70db2ac.tar.gz
libguestfs-32ab3c183836ab434ab739bea8238593d70db2ac.tar.xz
libguestfs-32ab3c183836ab434ab739bea8238593d70db2ac.zip
daemon: Don't warn on -Wunsafe-loop-optimizations.
Ignore -Wunsafe-loop-optimizations, same as in the top level configure file.
-rw-r--r--daemon/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/configure.ac b/daemon/configure.ac
index c5cd0c7f..52da3ad5 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])