Skip to content
Snippets Groups Projects
Commit e36dd454 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't use -Wtraditional.

parent 3d0f72d1
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.2 $)dnl AC_REVISION($Revision: 1.3 $)dnl
AC_INIT(src/isc_master.c) AC_INIT(src/isc_master.c)
AM_INIT_AUTOMAKE(isc, 0.99) AM_INIT_AUTOMAKE(isc, 0.99)
...@@ -73,8 +73,10 @@ AC_TYPE_SIZE_T ...@@ -73,8 +73,10 @@ AC_TYPE_SIZE_T
CMOD_C_ATTRIBUTE_UNUSED CMOD_C_ATTRIBUTE_UNUSED
[if test -n "$GCC"; then [if test -n "$GCC"; then]
CFLAGS="$CFLAGS -Wall -W -Wtraditional -Wshadow -Wpointer-arith"] dnl "-Wtraditional" isn't really useful: we don't support
dnl pre-c89-compilers.
[CFLAGS="$CFLAGS -Wall -W -Wshadow -Wpointer-arith"]
CMOD_COMPILER_CC_ACCEPTS([-Wbad-function-cast]) CMOD_COMPILER_CC_ACCEPTS([-Wbad-function-cast])
CMOD_COMPILER_CC_ACCEPTS([-Wcast-qual]) CMOD_COMPILER_CC_ACCEPTS([-Wcast-qual])
CMOD_COMPILER_CC_ACCEPTS([-Wcast-align]) CMOD_COMPILER_CC_ACCEPTS([-Wcast-align])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment