This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpplib: Dump __GXX_WEAK__ and __STDC__ with -dM


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]