summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-06 10:03:38 +0100
committerRichard Jones <rjones@redhat.com>2010-09-06 10:03:44 +0100
commitaa96881a512a144f4611a8e7c9801be9bb7ff9cf (patch)
tree2131f2ab53a82d750896f1c406a0cb41ba962f7b /daemon
parentbd77c8d1b47d24619b48e8e2f3683c8ce324fca8 (diff)
downloadlibguestfs-aa96881a512a144f4611a8e7c9801be9bb7ff9cf.tar.gz
libguestfs-aa96881a512a144f4611a8e7c9801be9bb7ff9cf.tar.xz
libguestfs-aa96881a512a144f4611a8e7c9801be9bb7ff9cf.zip
daemon: Don't warn about 'long long' usage.
This removes a fatal warning (-Werror) which stops compilation on 32 bit machines.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/configure.ac b/daemon/configure.ac
index b9ad70b9..27bb997c 100644
--- a/daemon/configure.ac
+++ b/daemon/configure.ac
@@ -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])