From 15ec8bd3773cff3bb8cd36c5890569fdc19e1356 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 26 Apr 2005 01:25:07 +0000 Subject: Added -Wswitch -Wchar-subscripts -Wparentheses - more stable and more pedantic settings :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1191 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 0d744a878..2f0ec9ae7 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" + FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses" MAKEPROG="gmake" ;; *) LDLIBS="-ldl" - FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror" + FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses" MAKEPROG="make" ;; esac -- cgit v1.2.3