git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e81e1
)
build: Don't warn about 'long long'.
author
Richard Jones
<rjones@redhat.com>
Fri, 16 Jul 2010 11:55:17 +0000
(12:55 +0100)
committer
Richard Jones
<rjones@redhat.com>
Tue, 17 Aug 2010 14:28:54 +0000
(15:28 +0100)
Various language bindings simply need this, so we have to allow
it even though it's a GCC extension.
(cherry picked from commit
0c0976496dafda4d172c5a7fc787d6a87d5bce8d
)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
92579f4
..
68111ad
100644
(file)
--- 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])