egcs-980115 sunos4/hpux9 gengenrtl.c bootstrap failure

Branko Cibej branko.cibej@hermes.si
Wed Jan 21 09:34:00 GMT 1998


>         Anyway, I think rth's patch works, but it dangerously relies on
> the fact that if !defined(__STDC__) then hopefully cpp replaces macros
> even inside double quotes.  I already found one platform where this is
> not true, ie Irix4 cc.  That compiler (in default mode, ie -xansi) does
> not define __STDC__, but it understands # and does not replace labels in
> double quotes.  But Irix4 is very old, six other systems I tested
> (incluiding Irix6) do work with the above patch.

Another such platform is Windows (NT and 95), because Microsoft's Win32 headers use
ANSI cpp directives, but don't compile in strict-ANSI mode.

I think this doesn't have any very immediate impact on egcs, though... and we have
cygwin32.

    Brane
--
Branko Cibej   <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
phone: (++386 61) 186 53 49  fax: (++386 61) 186 52 70





More information about the Gcc mailing list