daemon: Don't warn on -Wunsafe-loop-optimizations.
authorRichard Jones <rjones@redhat.com>
Sat, 31 Oct 2009 13:37:04 +0000 (13:37 +0000)
committerRichard Jones <rjones@redhat.com>
Mon, 2 Nov 2009 15:50:22 +0000 (15:50 +0000)
Ignore -Wunsafe-loop-optimizations, same as in the top level
configure file.

daemon/configure.ac

index c5cd0c7..52da3ad 100644 (file)
@@ -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])