Intel compiler 8.0 pretends to be gcc 3.2.

Jamie Lokier jamie@shareable.org
Sun Jun 22 16:42:00 GMT 2003


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



More information about the Gcc mailing list