mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
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:
@@ -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
@@ -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,)
|
||||
|
||||
Reference in New Issue
Block a user