From: Jim Meyering Date: Mon, 17 Aug 2009 17:37:47 +0000 (+0200) Subject: build: suppress warnings due to gcc's new -Wjump-misses-init X-Git-Tag: v7.5~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eca6a4a21a7ca15e4c2a5e6d99eae43ab0bae787;p=thirdparty%2Fcoreutils.git build: suppress warnings due to gcc's new -Wjump-misses-init * configure.ac: Ignore -Wjump-misses-init violations in remove.c. --- diff --git a/configure.ac b/configure.ac index 4cb9d29035..2793060da0 100644 --- a/configure.ac +++ b/configure.ac @@ -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])