From 86ef4d8ab5e648eca5fe2a39da4acae2d876a76c Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 28 Oct 1998 18:24:48 +0000 Subject: Added -Wshadow and -Woverloaded-virtual to the --enable-cxx-warnings=yes case. -Wshadow complains a *lot* about gtk-- and gtk--draw. svn path=/trunk/; revision=457 --- macros/compiler-flags.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4 index 51ff70fc05..07f85c1521 100644 --- a/macros/compiler-flags.m4 +++ b/macros/compiler-flags.m4 @@ -64,7 +64,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" + warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wshadow -Woverloaded-virtual" fi fi fi -- cgit v1.2.3