git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b25ebed
)
Disable -Wunsafe-loop-optimizations
author
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 17 Sep 2009 13:39:42 +0000
(14:39 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 17 Sep 2009 14:31:22 +0000
(15:31 +0100)
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
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
b28f316
..
95ab51e
100644
(file)
--- 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])