Intel compiler 8.0 pretends to be gcc 3.2.

Richard Guenther rguenth@tat.physik.uni-tuebingen.de
Mon Jun 23 15:20: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

Yesterday I filed intel a bugreport about this and suggested to make
-no-gcc default on. Its being investigated at the moment.

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/



More information about the Gcc mailing list