From 0dfaa1d7060741355ccd266f8b376e13b97c3cfc Mon Sep 17 00:00:00 2001 From: psychon Date: Tue, 19 Feb 2008 20:23:44 +0000 Subject: [PATCH] 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 --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 6955d9d0..217fdd46 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 4f375a00..2f3253bf 100644 --- a/configure.in +++ b/configure.in @@ -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,)