From b38d5c2c2add11631b976fa1e85f4350abcca639 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 20 Nov 2009 19:34:46 +0100 Subject: [PATCH] build: unlzw.c: avoid warnings about unused macros * configure.ac: Turn off -Wunused-macros. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.47.2