Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
ca24d6ea
Commit
ca24d6ea
authored
Feb 05, 1999
by
Per Cederqvist
Browse files
Remove -Wshadow and -Wcast-qual since they give too many false
warnings and are of limited use.
parent
fd8f393c
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
ca24d6ea
dnl $Id: configure.in,v 1.5
3
1999/0
1/15 11:16:02 by
er
s
Exp $
dnl $Id: configure.in,v 1.5
4
1999/0
2/05 22:03:30 ced
er 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.5
3
$)
AC_REVISION($Revision: 1.5
4
$)
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])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment