diff options
author | Havoc Pennington <hp@src.gnome.org> | 1998-10-28 18:24:48 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 1998-10-28 18:24:48 +0000 |
commit | 9a854dfe11011fd23f55d6a937b453dab59f6274 (patch) | |
tree | 2525e427017d55c0956fdf263c4a6759f85a2523 | |
parent | 99204a68db9ff740b150c752c1d7dd62bbebcf8f (diff) | |
download | gnome-common-9a854dfe11011fd23f55d6a937b453dab59f6274.tar.gz |
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=458
-rw-r--r-- | macros/compiler-flags.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4 index 51ff70f..07f85c1 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 |