This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Intel compiler 8.0 pretends to be gcc 3.2.
- From: Jamie Lokier <jamie at shareable dot org>
- To: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- Cc: gcc at gcc dot gnu dot org, Martin Buchholz <martin at xemacs dot org>
- Date: Sun, 22 Jun 2003 12:10:29 +0100
- Subject: Re: Intel compiler 8.0 pretends to be gcc 3.2.
- References: <200306211957.52289.bangerth@ices.utexas.edu>
Wolfgang Bangerth wrote:
> > You folks should be aware that gcc is no longer the only compiler that
> > defines __GNUC__. Version 8 of icc for Linux does this as well.
>
> What a particularly unfortunate decision!
Perhaps. But if I were developing a compiler and supported GCC
extensions, particularly the extended asm, I'd probably define
__GNUC__ too. There's a huge number of applications out there that
will compile to better code iff __GNUC__ is defined.
-- Jamie