From: brain Date: Tue, 26 Apr 2005 01:47:01 +0000 (+0000) Subject: Added -Woverloaded-virtual to catch annoying module typos X-Git-Tag: v2.0.23~10474 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=4d4e4359d64e25c2adee14333e9f192d21425c94;p=user%2Fhenk%2Fcode%2Finspircd.git Added -Woverloaded-virtual to catch annoying module typos git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1192 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/configure b/configure index 2f0ec9ae7..e105d66b0 100755 --- a/configure +++ b/configure @@ -57,12 +57,12 @@ if [ "$1" = "-update" -o "$2" = "-update" ] ; then case "$OSNAME" in FreeBSD) LDLIBS="-Ldl" - FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses" + FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses -Woverloaded-virtual" MAKEPROG="gmake" ;; *) LDLIBS="-ldl" - FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses" + FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses -Woverloaded-virtual" MAKEPROG="make" ;; esac