aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 18d2d2221..e579ea052 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -242,8 +242,12 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
dnl #266: function declared implicitly
CPPFLAGS="$CPPFLAGS -we 140,147,165,266"
dnl Disable some remarks
+ dnl #279: controlling expression is constant
dnl #981: operands are evaluated in unspecified order
dnl #1469: "cc" clobber ignored
+ if test "$curl_cv_def___INTEL_COMPILER" -lt "910"; then
+ CPPFLAGS="$CPPFLAGS -wd 279"
+ fi
CPPFLAGS="$CPPFLAGS -wd 981,1469"
dnl Disable use of ANSI C aliasing rules in optimizations
CFLAGS="$CFLAGS -no-ansi-alias"