From eca6a4a21a7ca15e4c2a5e6d99eae43ab0bae787 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 17 Aug 2009 19:37:47 +0200 Subject: build: suppress warnings due to gcc's new -Wjump-misses-init * configure.ac: Ignore -Wjump-misses-init violations in remove.c. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 4cb9d2903..2793060da 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]) -- cgit v1.2.3-70-g09d2