daemon: Don't warn about 'long long' usage.
authorRichard Jones <rjones@redhat.com>
Mon, 6 Sep 2010 09:03:38 +0000 (10:03 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 6 Sep 2010 09:03:44 +0000 (10:03 +0100)
This removes a fatal warning (-Werror) which stops compilation
on 32 bit machines.

daemon/configure.ac

index b9ad70b..27bb997 100644 (file)
@@ -89,6 +89,8 @@ if test "$gl_gcc_warnings" = yes; then
   # ?? -Wstrict-overflow
   nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization
                                     # was not possible, safe to ignore
+  nw="$nw -Wlong-long"              # Allow long long since it's required
+                                    # by Python, Ruby and xstrtoll.
 
   gl_MANYWARN_ALL_GCC([ws])
   gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])