[PATCH 2/3] build: ignore new -Wjump-misses-init warnings
Jim Meyering
meyering at redhat.com
Tue Aug 18 19:24:53 UTC 2009
* configure.ac: Ignore warnings from gcc's new -Wjump-misses-init.
---
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 17958a0..0500b5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -256,6 +256,9 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
gl_WARN_ADD([-Wno-unused-macros]) # Too many warnings for now
+ # FIXME: investigate these
+ gl_WARN_ADD([-Wno-jump-misses-init])
+
# In spite of excluding -Wlogical-op above, it is enabled, as of
# gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
gl_WARN_ADD([-Wno-logical-op])
--
1.6.4.378.g88f2f
More information about the parted-devel
mailing list