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

Jason Merrill jason@redhat.com
Tue Sep 2 21:43:00 GMT 2003


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 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.

Applied to trunk.

2003-09-02  Jason Merrill  <jason@redhat.com>

        PR c++/7327
	* config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030902/2c6d1fe2/attachment.bin>


More information about the Gcc-patches mailing list