This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: Dump __GXX_WEAK__ and __STDC__ with -dM
- To: neil at daikokuya dot demon dot co dot uk
- Subject: Re: cpplib: Dump __GXX_WEAK__ and __STDC__ with -dM
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 4 Mar 2001 14:39:49 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com, ro at TechFak dot Uni-Bielefeld dot DE
> From: Neil Booth <neil@daikokuya.demon.co.uk>
>
> Kaveh R. Ghazi wrote:-
>
> > I'm not talking about reverting Mark's patch. We need to keep the
> > positive effects of that while restoring the old behavior wherein it
> > avoided these gratuitous header file transformations on solaris.
> >
> > That means in inclhack.def, we need to bypass the "hacknames"
> > "strict_ansi_not", "strict_ansi_not_ctd" and "strict_ansi_only" when
> > "mach" equals "*-*-solaris2*".
>
> Kaveh,
>
> Do you still object to trying to remove the __STDC_0_IN_SYSTEM_HEADERS__
> stuff and applying Rainer's patch? (mainline, of course)
> Neil.
You can't do both, assuming you're referring to this patch:
Fri Mar 2 18:01:01 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
strict_ansi_only): Don't run on Solaris 2.
* fixinc/fixincl.x: Regenerate.
This patch is only necessary & correct if you leave
STDC_0_IN_SYSTEM_HEADERS in.
I *do* object to removing STDC_0_IN_SYSTEM_HEADERS. So if we all
agree to leave that in, I fully support installing the above patch.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions