From 52bbf45f5b8c20f6b03fc918079632106e25eda3 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Sep 2012 11:55:58 +0100 Subject: 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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]) -- cgit