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
This commit is contained in:
Havoc Pennington
1998-10-28 18:24:48 +00:00
parent 7d44d543de
commit 86ef4d8ab5

View File

@ -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