aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-10-12 06:40:11 +0800
committerMartin Baulig <martin@src.gnome.org>1998-10-12 06:40:11 +0800
commit273fc6123144e9d70835fb62e1e016d179a19093 (patch)
tree37627a8c1424d073ec8f2adc29af18f9e8d2c30f
parente5c3c13873ec9d9b676e997ff6b9eb653274a348 (diff)
downloadgsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.tar
gsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.tar.gz
gsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.tar.bz2
gsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.tar.lz
gsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.tar.xz
gsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.tar.zst
gsoc2013-evolution-273fc6123144e9d70835fb62e1e016d179a19093.zip
Added `-Wno-unused'.
1998-10-12 Martin Baulig <martin@home-of-linux.org> * compiler-flags.m4 (warnCFLAGS): Added `-Wno-unused'. svn path=/trunk/; revision=443
-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 bed658a0e9..7832e788c6 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -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
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4
index 92ff35e3eb..c6cd1a6cbb 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