git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db13b0e
)
build: Don't warn about 'long long'.
author
Richard Jones
<rjones@redhat.com>
Fri, 27 Aug 2010 07:51:37 +0000
(08:51 +0100)
committer
Richard Jones
<rjones@redhat.com>
Fri, 27 Aug 2010 07:51:37 +0000
(08:51 +0100)
We have to allow this, even though it's a GCC extension.
This is a port of libguestfs commit
0c0976496dafda4d172c5a7fc787d6a87d5bce8d
.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
1efc7c1
..
7c599e9
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-87,6
+87,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 xstrtoll.
gl_MANYWARN_ALL_GCC([ws])
gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])