From 0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 25 Jun 1999 23:54:26 +0000 Subject: give -Wunused to gcc instead of -Wno-unused. Sat Jun 26 01:47:53 1999 Tim Janik * compiler-flags.m4: give -Wunused to gcc instead of -Wno-unused. svn path=/trunk/; revision=996 --- macros/compiler-flags.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/compiler-flags.m4') diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4 index 951aab7f5d..278d5099c0 100644 --- a/macros/compiler-flags.m4 +++ b/macros/compiler-flags.m4 @@ -15,7 +15,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ if test "x$GCC" = "xyes"; then case " $CFLAGS " in *[\ \ ]-Wall[\ \ ]*) ;; - *) warnCFLAGS="-Wall -Wno-unused" ;; + *) warnCFLAGS="-Wall -Wunused" ;; esac ## -W is not all that useful. And it cannot be controlled -- cgit