icc adjustments

This commit is contained in:
Yang Tse 2008-09-18 13:56:56 +00:00
parent aa29735868
commit a8323cc3f5
4 changed files with 20 additions and 8 deletions

View file

@ -2686,10 +2686,10 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
WARN="-wd279,269,981,1418,1419"
WARN=""
if test "$gccnum" -gt "600"; then
dnl icc 6.0 and older doesn't have the -Wall flag
WARN="-Wall $WARN"
fi
dnl if test "$gccnum" -gt "600"; then
dnl dnl icc 6.0 and older doesn't have the -Wall flag
dnl WARN="-Wall $WARN"
dnl fi
else dnl $ICC = yes
dnl this is a set of options we believe *ALL* gcc versions support:
WARN="-W -Wall -Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs -Winline -Wmissing-prototypes"