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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user