summaryrefslogtreecommitdiff
path: root/macros/compiler-flags.m4
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1999-06-25 23:54:26 +0000
committerTim Janik <timj@src.gnome.org>1999-06-25 23:54:26 +0000
commitbab7bc3e794da859374405e9ff5789ec13f2af65 (patch)
tree4ca63e6a70b5dd368109e848392f28975990aecb /macros/compiler-flags.m4
parent174b15faee18d826d9037b39d86cd6d1c9741313 (diff)
downloadshared-mime-info-bab7bc3e794da859374405e9ff5789ec13f2af65.tar.gz
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=832
Diffstat (limited to 'macros/compiler-flags.m4')
-rw-r--r--macros/compiler-flags.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4
index 951aab7f..278d5099 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