]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: suppress warnings due to gcc's new -Wjump-misses-init
authorJim Meyering <meyering@redhat.com>
Mon, 17 Aug 2009 17:37:47 +0000 (19:37 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 17 Aug 2009 17:37:47 +0000 (19:37 +0200)
* configure.ac: Ignore -Wjump-misses-init violations in remove.c.

configure.ac

index 4cb9d29035dd47b03315be7ecd4d3c29c96f1e25..2793060da0b7f7940973f9d36b223924608141fd 100644 (file)
@@ -101,6 +101,9 @@ if test "$gl_gcc_warnings" = yes; then
   gl_WARN_ADD([-Wno-pointer-sign])     # Too many warnings for now
   gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
 
+  # Offenders in pre-fts remove.c; FIXME: remove upon remove.c rewrite
+  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])