git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1191
e03df62e-2008-0410-955e-
edbf42e46eb7
case "$OSNAME" in
FreeBSD)
LDLIBS="-Ldl"
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"
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"
{
for (int j = 0; j < strlen(data); j++)
{
{
for (int j = 0; j < strlen(data); j++)
{