give -Wunused to gcc instead of -Wno-unused.
authorTim Janik <timj@gtk.org>
Fri, 25 Jun 1999 23:54:26 +0000 (23:54 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 25 Jun 1999 23:54:26 +0000 (23:54 +0000)
Sat Jun 26 01:47:53 1999  Tim Janik  <timj@gtk.org>

        * compiler-flags.m4: give -Wunused to gcc instead of -Wno-unused.

svn path=/trunk/; revision=832

macros/ChangeLog
macros/compiler-flags.m4

index 38150d5..aadbbba 100644 (file)
@@ -1,3 +1,7 @@
+Sat Jun 26 01:47:53 1999  Tim Janik  <timj@gtk.org>
+
+       * compiler-flags.m4: give -Wunused to gcc instead of -Wno-unused.
+
 1999-06-11  Tuomas J. Lukka <lukka@iki.fi>
 
        * gnome-guile-checks.m4: Debian has qt_null in -lqthreads but
index 951aab7..278d509 100644 (file)
@@ -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