Add -Wshadow to our CXX flags

This gives us some useful warnings, but it first needs some fixing...
(See next commit)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@963 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-02-19 20:23:44 +00:00
parent 606f1978fa
commit 0dfaa1d706
2 changed files with 2 additions and 2 deletions
Vendored
+1 -1
View File
@@ -2522,7 +2522,7 @@ if test "$IPV6" != "no"; then
fi
if test "x$GXX" = "xyes"; then
appendCXX -Wall -W -Wno-unused -Woverloaded-virtual
appendCXX -Wall -W -Wno-unused -Woverloaded-virtual -Wshadow
fi
ac_ext=c
+1 -1
View File
@@ -98,7 +98,7 @@ if test "$IPV6" != "no"; then
fi
if test "x$GXX" = "xyes"; then
appendCXX -Wall -W -Wno-unused -Woverloaded-virtual
appendCXX -Wall -W -Wno-unused -Woverloaded-virtual -Wshadow
fi
AC_CHECK_LIB( gnugetopt, getopt_long,)