aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJody Goldberg <jody@src.gnome.org>1999-09-27 11:12:05 +0800
committerJody Goldberg <jody@src.gnome.org>1999-09-27 11:12:05 +0800
commitea421e8d5838d758418aa3e6fddafe593badb15f (patch)
treef38bd7076177665e7e22e185ca9de05680eea737
parent008fb50b9f799f202453759650a2b4ec4fc2b5af (diff)
downloadgsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.tar
gsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.tar.gz
gsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.tar.bz2
gsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.tar.lz
gsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.tar.xz
gsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.tar.zst
gsoc2013-evolution-ea421e8d5838d758418aa3e6fddafe593badb15f.zip
Remove -Wpointer-arith to make recent egcs & glibc to stop generating
warnings. svn path=/trunk/; revision=1258
-rw-r--r--macros/ChangeLog7
-rw-r--r--macros/compiler-flags.m44
2 files changed, 9 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index f1d14081d7..74dfc3cca3 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,10 @@
+1999-09-26 Jody Goldberg <jgoldberg@home.com>
+
+ * compiler-flags.m4 : Remove -Wpointer-arith. It generates large
+ numbers of warnings under glibc2.1.2 with a recent egcs release.
+ The glibc maintainers have suggested removing this flag because it
+ is useless.
+
1999-09-01 Havoc Pennington <hp@pobox.com>
* gnome-xml-check.m4: If you're going to AC_PATH_PROG then use the
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4
index 278d5099c0..63f8e2e6ac 100644
--- a/macros/compiler-flags.m4
+++ b/macros/compiler-flags.m4
@@ -21,7 +21,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 -Wmissing-prototypes -Wmissing-declarations"
fi
fi
fi
@@ -75,7 +75,7 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[
## -W is not all that useful. And it cannot be controlled
## with individual -Wno-xxx flags, unlike -Wall
if test "x$enable_cxx_warnings" = "xyes"; then
- warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wshadow -Woverloaded-virtual"
+ warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wshadow -Woverloaded-virtual"
fi
fi
fi