Commit ca24d6ea authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Remove -Wshadow and -Wcast-qual since they give too many false

warnings and are of limited use.
parent fd8f393c
dnl $Id: configure.in,v 1.53 1999/01/15 11:16:02 byers Exp $
dnl $Id: configure.in,v 1.54 1999/02/05 22:03:30 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.53 $)
AC_REVISION($Revision: 1.54 $)
AC_INIT(src/server/lyskomd.h)
AM_CONFIG_HEADER(config.h)
AC_CONFIG_AUX_DIR(scripts)
......@@ -62,10 +62,16 @@ AC_MINIX
AM_C_PROTOTYPES
[if test -n "$GCC"; then
CFLAGS="$CFLAGS -Wall -W -Wtraditional -Wshadow -Wpointer-arith"]
dnl "-Wshadow" could be useful, but it gives too many false
dnl warnings.
CFLAGS="$CFLAGS -Wall -W -Wtraditional -Wpointer-arith"]
dnl AC_DEFINE(_GNU_SOURCE)
CMOD_COMPILER_CC_ACCEPTS([-Wbad-function-cast])
CMOD_COMPILER_CC_ACCEPTS([-Wcast-qual])
dnl
dnl This gives too many false warnings, but it may be proper
dnl to use this once in a while.
dnl CMOD_COMPILER_CC_ACCEPTS([-Wcast-qual])
dnl
CMOD_COMPILER_CC_ACCEPTS([-Wcast-align])
CMOD_COMPILER_CC_ACCEPTS([-Wwrite-strings])
CMOD_COMPILER_CC_ACCEPTS([-Wstrict-prototypes])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment