cpplib: Dump __GXX_WEAK__ and __STDC__ with -dM
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Fri Mar 2 11:11:00 GMT 2001
> From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
>
> > IIRC, STDC_0_IN_SYSTEM_HEADERS was introduced to address a specific
> > problem, namely that we *don't* want fixincludes to diddle every
> > header file on solaris2. There are numerous reasons to want to lower
> > the number of files gratuitously changed, I won't rehash them here.
>
> But this is not what happens at the moment: we both run fixincludes to fix
> that __STDC__-0==0 stuff and still have STDC_0_IN_SYSTEM_HEADERS, which
> won't trigger any longer since we have fixed copies of all affected system
> headers anyway. This is a change from gcc 2.95.2 where fixincludes wasn't
> run on Solaris 2.5 and up and thus STDC_0_IN_SYSTEM_HEADERS was necessary
> for gcc to work with the unchanged vendor headers; I haven't check when
> this was introduced.
> Rainer
Ah I see, well then that's a bug. We should restore the bypass for
solaris in fixincludes so that it doesn't bother "fixing" the
__STDC__-0==0, stuff.
Care to supply a patch?
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-patches
mailing list