Intel compiler 8.0 pretends to be gcc 3.2.

Hans-Peter Nilsson hp@bitrange.com
Mon Jun 23 14:13:00 GMT 2003


On Sat, 21 Jun 2003, Martin Buchholz wrote:
> The test
>
> #ifdef __GNUC__
>
> no longer conclusively identifies gcc.

Huh.  That's unfortunate and stupid, similar to uclibc vs.
glibc.  Maybe we could add a builtin_define ("__INTEL_COMPILER")
and call it even. :-) :-) :-)  And have a "__GENUINE_GCC" and
they could add an "__AUTHENTIC_INTEL". :-) :-)

brgds, H-P



More information about the Gcc mailing list