Added `-Wno-unused'.
authorMartin Baulig <martin@home-of-linux.org>
Sun, 11 Oct 1998 22:40:11 +0000 (22:40 +0000)
committerMartin Baulig <martin@src.gnome.org>
Sun, 11 Oct 1998 22:40:11 +0000 (22:40 +0000)
1998-10-12  Martin Baulig  <martin@home-of-linux.org>

* compiler-flags.m4 (warnCFLAGS): Added `-Wno-unused'.

svn path=/trunk/; revision=436

macros/ChangeLog
macros/compiler-flags.m4

index bed658a..7832e78 100644 (file)
@@ -1,3 +1,7 @@
+1998-10-12  Martin Baulig  <martin@home-of-linux.org>
+
+       * compiler-flags.m4 (warnCFLAGS): Added `-Wno-unused'.
+
 1998-10-11  Martin Baulig  <martin@home-of-linux.org>
 
        * gnome-libgtop-sysdeps.m4 (libgtop_postinstall): Use `:' instead
index 92ff35e..c6cd1a6 100644 (file)
@@ -17,7 +17,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
       ## -W is not all that useful.  And it cannot be controlled
       ## with individual -Wno-xxx flags, unlike -Wall
       if test "x$enable_compile_warnings" = "xyes"; then
-       warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
+       warnCFLAGS="$warnCFLAGS -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
       fi
     fi
   fi