From d104216bbeed0b4ed13063f3b627d4d9527b6b08 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 25 Oct 2008 04:18:48 +0000 Subject: icc adjustments: Select ANSI C89 dialect plus GNU extensions, again. --- ares/m4/cares-compilers.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ares/m4') diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 04c002631..84f813bd1 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 43 +# serial 45 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 we select ANSI C89 dialect plus GNU extensions. - dnl tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" - dnl Select ANSI C89 dialect without GNU extensions. - tmp_CFLAGS="$tmp_CFLAGS -std=c89" + tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" dnl Change some warnings into errors dnl #140: too many arguments in function call dnl #147: declaration is incompatible with 'previous one' -- cgit v1.2.3