summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-07-16 12:55:17 +0100
committerRichard Jones <rjones@redhat.com>2010-07-16 15:23:26 +0100
commit0c0976496dafda4d172c5a7fc787d6a87d5bce8d (patch)
treea0876c6f2d045a8c8c75939d75385224d4b2a59e
parent5b77be72bc4e46c7a53a24f1eb4cbd107a708f17 (diff)
downloadlibguestfs-0c0976496dafda4d172c5a7fc787d6a87d5bce8d.tar.gz
libguestfs-0c0976496dafda4d172c5a7fc787d6a87d5bce8d.tar.xz
libguestfs-0c0976496dafda4d172c5a7fc787d6a87d5bce8d.zip
build: Don't warn about 'long long'.
Various language bindings simply need this, so we have to allow it even though it's a GCC extension.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7533ec0b..caf25ee8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,6 +114,8 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization
# was not possible, safe to ignore
nw="$nw -Wpacked" # Allow attribute((packed)) on structs
+ 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])