cURL / Mailing Lists / curl-library / Single Mail


Re: Compiling with the Intel compiler

From: Daniel Stenberg <>
Date: Thu, 19 Feb 2004 22:37:59 +0100 (CET)

On Thu, 19 Feb 2004, Tor Arntsen wrote:

> I'm adding a setup using the Intel C compiler (8.0) to my autobuilds, but
> it's not ready yet. But I have uploaded one log so that Daniel can figure
> out yet another compiler warning format for the web scripts :-)

I'm on to it. Thanks!

> checking for gcc... icc
> ..
> checking whether we are using the GNU C compiler... yes
> and thus the build is using GCC compiler options. The Intel compiler doesn't
> choke on unknown options, it just issues a warning and goes on. AFAIK Intel
> made the compiler this way to make it possible to replace gcc without too
> much trouble.

I've now tried to detect this by checking for a too high version number.
Anything 5.0 or above is not treated as gcc anymore.

> Anyway, using this compiler should give Daniel a whole new set of warnings
> to work on, now that he has managed to beat down all those warnings from the
> SGI MIPSPro compiler :-)

Not only that, I've added more aggressive debug warnings and I think the all
time record was beaten this afternoon when I got 1786 warnings on my solaris
gcc build... Most of the being in the OpenSSL headers, and the majority of the
rest being falsed warnings because of -Wcast-align. I think I've fixed the
configure now to pass on options to prevent warnings on openssl (and similar)
headers, and I've removed the -Wcast-align again since it gives just a little
too many warnings!

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-19