]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Added -Wswitch -Wchar-subscripts -Wparentheses - more stable and more pedantic settin...
[user/henk/code/inspircd.git] / configure
index 0d744a8781e5b5e32ea54c5deeabfc7cb2a16878..2f0ec9ae73f973302ab6038223f98ea79c454cb3 100755 (executable)
--- 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