diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-17 14:39:42 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-17 15:31:22 +0100 |
commit | 6c8a69c602643ae3102c263148a94559d6594381 (patch) | |
tree | 825e5a08c2339f34c1b2128545c4713bf98648e3 | |
parent | b25ebed9e61e8903567a65b5a949d9bf47ee8e29 (diff) | |
download | libguestfs-6c8a69c602643ae3102c263148a94559d6594381.tar.gz libguestfs-6c8a69c602643ae3102c263148a94559d6594381.tar.xz libguestfs-6c8a69c602643ae3102c263148a94559d6594381.zip |
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.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b28f3169..95ab51eb 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]) |