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]
Other format: [Raw text]

Re: PATCH to config/sparc/sol2.h for c++/7327


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


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