summaryrefslogtreecommitdiff
path: root/macros/compiler-flags.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-10-11 22:40:11 +0000
committerMartin Baulig <martin@src.gnome.org>1998-10-11 22:40:11 +0000
commit6508a164f7cc669495627635a8e3ee62736de648 (patch)
tree8c79c5c535efd5045d22e40c1db772f9ee61660f /macros/compiler-flags.m4
parent6a333af976a2b968a8003ef40a46b7d2fe776e2d (diff)
downloadshared-mime-info-6508a164f7cc669495627635a8e3ee62736de648.tar.gz
Added `-Wno-unused'.
1998-10-12 Martin Baulig <martin@home-of-linux.org> * compiler-flags.m4 (warnCFLAGS): Added `-Wno-unused'. svn path=/trunk/; revision=436
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 92ff35e3..c6cd1a6c 100644
--- a/macros/compiler-flags.m4
+++ b/macros/compiler-flags.m4
@@ -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