From a8323cc3f5f3ab0621e14ebf543a870feed2280e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 18 Sep 2008 13:56:56 +0000 Subject: icc adjustments --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5654a4959..c07052a56 100644 --- a/configure.ac +++ b/configure.ac @@ -303,6 +303,12 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then dnl On Linux this compiler uses gcc's header files, so dnl we select ANSI C89 dialect plus GNU extensions. CPPFLAGS="$CPPFLAGS -std=gnu89" + if test "$curl_cv_def___INTEL_COMPILER" -gt "600"; then + dnl Show errors, warnings, and remarks + CPPFLAGS="$CPPFLAGS -Wall" + dnl Perform extra compile-time code checking + CPPFLAGS="$CPPFLAGS -Wcheck" + fi dnl Change some warnings into errors dnl #140: too many arguments in function call dnl #147: declaration is incompatible with 'previous one' -- cgit v1.2.3