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>
Wed, 8 Sep 2010 13:17:56 +0000 (14:17 +0100)
This removes a fatal warning (-Werror) which stops compilation
on 32 bit machines.
(cherry picked from commit aa96881a512a144f4611a8e7c9801be9bb7ff9cf)

daemon/configure.ac

index 65a1485..d169f48 100644 (file)
@@ -95,6 +95,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])