icc adjustments:

Select ANSI C89 dialect plus GNU extensions, again.
pull/1/head
Yang Tse 17 years ago
parent 88398b5e3a
commit c81480a998
  1. 6
      m4/cares-compilers.m4

@ -16,7 +16,7 @@
#*************************************************************************** #***************************************************************************
# File version for 'aclocal' use. Keep it a single number. # File version for 'aclocal' use. Keep it a single number.
# serial 43 # serial 45
dnl CARES_CHECK_COMPILER dnl CARES_CHECK_COMPILER
@ -559,9 +559,7 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [
# #
dnl On unix this compiler uses gcc's header files, so dnl On unix this compiler uses gcc's header files, so
dnl we select ANSI C89 dialect plus GNU extensions. dnl we select ANSI C89 dialect plus GNU extensions.
dnl tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
dnl Select ANSI C89 dialect without GNU extensions.
tmp_CFLAGS="$tmp_CFLAGS -std=c89"
dnl Change some warnings into errors dnl Change some warnings into errors
dnl #140: too many arguments in function call dnl #140: too many arguments in function call
dnl #147: declaration is incompatible with 'previous one' dnl #147: declaration is incompatible with 'previous one'

Loading…
Cancel
Save