OSDN Git Service

build: ignore new -Wjump-misses-init warnings
authorJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 19:24:53 +0000 (21:24 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 20:25:21 +0000 (22:25 +0200)
* configure.ac: Ignore warnings from gcc's new -Wjump-misses-init.

configure.ac

index 17958a0..0500b5b 100644 (file)
@@ -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])