From: Jim Meyering Date: Fri, 20 Nov 2009 18:34:46 +0000 (+0100) Subject: build: unlzw.c: avoid warnings about unused macros X-Git-Tag: v1.4~22 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b38d5c2c2add11631b976fa1e85f4350abcca639;p=debian%2Fgzip build: unlzw.c: avoid warnings about unused macros * configure.ac: Turn off -Wunused-macros. --- diff --git a/configure.ac b/configure.ac index d87c5f3..6442ab6 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,7 @@ if test "$gl_gcc_warnings" = yes; then # initial problems in gzip nw="$nw -Wold-style-definition" nw="$nw -Wshadow" + nw="$nw -Wunused-macros" # ?? -Wstrict-overflow gl_MANYWARN_ALL_GCC([ws]) @@ -120,7 +121,6 @@ if test "$gl_gcc_warnings" = yes; then # Remove the following and save the result in GNULIB_WARN_CFLAGS. nw= nw="$nw -Wuninitialized" - nw="$nw -Wunused-macros" nw="$nw -Wmissing-prototypes" nw="$nw -Wold-style-definition" gl_MANYWARN_COMPLEMENT([GNULIB_WARN_CFLAGS], [$WARN_CFLAGS], [$nw])