aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1999-06-26 07:54:26 +0800
committerTim Janik <timj@src.gnome.org>1999-06-26 07:54:26 +0800
commit0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3 (patch)
treeba6425907e17c9c36d535548d3040e40a51c0f4b /macros
parent0038b76777e2036bd3eb58e6860f153df9b17dce (diff)
downloadgsoc2013-evolution-0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3.tar.gz
gsoc2013-evolution-0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3.tar.zst
gsoc2013-evolution-0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3.zip
give -Wunused to gcc instead of -Wno-unused.
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=996
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/compiler-flags.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 38150d5ccf..aadbbba391 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -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
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