diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-25 04:18:48 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-25 04:18:48 +0000 |
commit | d104216bbeed0b4ed13063f3b627d4d9527b6b08 (patch) | |
tree | b326a95be3838ae4b38876a5fd75f514feb23730 /ares/m4 | |
parent | d086fdaf9f16f0739b2a9eb4ca97aed8c7d26ade (diff) |
icc adjustments:
Select ANSI C89 dialect plus GNU extensions, again.
Diffstat (limited to 'ares/m4')
-rw-r--r-- | ares/m4/cares-compilers.m4 | 6 |
1 files changed, 2 insertions, 4 deletions
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' |