diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-19 11:55:58 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-19 14:06:20 +0100 |
commit | 52bbf45f5b8c20f6b03fc918079632106e25eda3 (patch) | |
tree | 4f834206882d5fd0a1924e993f6d035946012b8e | |
parent | 3031aecb296404d883125a2917318e803759fba3 (diff) | |
download | libguestfs-52bbf45f5b8c20f6b03fc918079632106e25eda3.tar.gz libguestfs-52bbf45f5b8c20f6b03fc918079632106e25eda3.tar.xz libguestfs-52bbf45f5b8c20f6b03fc918079632106e25eda3.zip |
build: Ignore -Wjump-misses-init warning.
This libguestfs 1.18 and 1.16-specific patch is necessary because
something (gcc? gnulib?) has enabled a strict -Wjump-misses-init
warning, which breaks libguestfs builds. In the development branch we
fixed everything (commit e128a627fb8f39f4f4c11b782cef895bd79f0282,
commit 74283d58cfb62e6cc73bfe0f62ca142ddc1e8fb2), but that patch is
too invasive to backport.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 941c6f3a..2da47216 100644 --- a/configure.ac +++ b/configure.ac @@ -130,6 +130,7 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wsuggest-attribute=pure" # Don't suggest pure functions. nw="$nw -Wsuggest-attribute=const" # Don't suggest const functions. nw="$nw -Wunsuffixed-float-constants" # Don't care about these. + nw="$nw -Wjump-misses-init" gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) |