This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to config/sparc/sol2.h for c++/7327
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 03 Sep 2003 01:58:35 +0200
- Subject: Re: PATCH to config/sparc/sol2.h for c++/7327
- References: <wvloey2yinq.fsf@prospero.boston.redhat.com>
Jason Merrill <jason@redhat.com> writes:
> People have complained about -isystem implying extern "C" on Solaris. I
> checked, and the oldest Solaris 2 system I have access to, 2.5.1 (of May
> 1996), has C++-aware C library headers. Does anyone know when this became
> true?
I don't have older systems running, but could check Solaris media back to
2.0 (will do so tomorrow).
> I tried testing libstdc++ under 2.5.1 after making this change; the build
> failed with a bus error on strstream.o. This couldn't possibly be due to
> this change, and I'm not interested in tracking down that problem, so I'm
> considering this tested.
This is PR libstdc++/12126.
> Applied to trunk.
>
> 2003-09-02 Jason Merrill <jason@redhat.com>
>
> PR c++/7327
> * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.
This is wrong: this patch is in no way SPARC specific and belongs into
config/sol2.h.
Rainer