aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@src.gnome.org>1998-10-29 02:24:48 +0800
committerHavoc Pennington <hp@src.gnome.org>1998-10-29 02:24:48 +0800
commit86ef4d8ab5e648eca5fe2a39da4acae2d876a76c (patch)
treea56391aa2f1040711ea5b406632f96e04d6eeb87
parent7d44d543de96d173147145451250edc6713669e5 (diff)
downloadgsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar.gz
gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar.zst
gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.zip
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
-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 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