mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
icc adjustments:
Disable remark #981: operands are evaluated in unspecified order Function calls which are triggering this remark, today, do not depend on the order of evaluation of its arguments. Disable remark #1469: "cc" clobber ignored Remark triggered on htons() and ntohs() due to glibc header files.
This commit is contained in:
parent
dfa0fd5b33
commit
51ba24991c
@ -241,6 +241,10 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
|
||||
dnl #165: too few arguments in function call
|
||||
dnl #266: function declared implicitly
|
||||
CPPFLAGS="$CPPFLAGS -we 140,147,165,266"
|
||||
dnl Disable some remarks
|
||||
dnl #981: operands are evaluated in unspecified order
|
||||
dnl #1469: "cc" clobber ignored
|
||||
CPPFLAGS="$CPPFLAGS -wd 981,1469"
|
||||
dnl Disable use of ANSI C aliasing rules in optimizations
|
||||
CFLAGS="$CFLAGS -no-ansi-alias"
|
||||
else
|
||||
|
@ -315,6 +315,10 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
|
||||
dnl #165: too few arguments in function call
|
||||
dnl #266: function declared implicitly
|
||||
CPPFLAGS="$CPPFLAGS -we 140,147,165,266"
|
||||
dnl Disable some remarks
|
||||
dnl #981: operands are evaluated in unspecified order
|
||||
dnl #1469: "cc" clobber ignored
|
||||
CPPFLAGS="$CPPFLAGS -wd 981,1469"
|
||||
dnl Disable use of ANSI C aliasing rules in optimizations
|
||||
CFLAGS="$CFLAGS -no-ansi-alias"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user