diff options
author | Havoc Pennington <hp@src.gnome.org> | 1998-10-29 02:24:48 +0800 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 1998-10-29 02:24:48 +0800 |
commit | 86ef4d8ab5e648eca5fe2a39da4acae2d876a76c (patch) | |
tree | a56391aa2f1040711ea5b406632f96e04d6eeb87 /macros | |
parent | 7d44d543de96d173147145451250edc6713669e5 (diff) | |
download | gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar.gz gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar.bz2 gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar.lz gsoc2013-evolution-86ef4d8ab5e648eca5fe2a39da4acae2d876a76c.tar.xz 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
Diffstat (limited to 'macros')
-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 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 |