mirror of
https://github.com/curl/curl.git
synced 2026-07-30 17:58:03 +03:00
icc adjustments:
Select ANSI C89 dialect plus GNU extensions, again.
This commit is contained in:
parent
d086fdaf9f
commit
d104216bbe
2 changed files with 4 additions and 8 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#***************************************************************************
|
||||
|
||||
# File version for 'aclocal' use. Keep it a single number.
|
||||
# serial 42
|
||||
# serial 44
|
||||
|
||||
|
||||
dnl CURL_CHECK_COMPILER
|
||||
|
|
@ -565,9 +565,7 @@ AC_DEFUN([CURL_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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue