This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Requirements for throwning C++ exceptions from one shared library to another in gcc 4.1.0?
- From: John Love-Jensen <eljay at adobe dot com>
- To: Glenn Serre <serre at adobe dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Thu, 11 Jan 2007 15:22:00 -0600
- Subject: Re: Requirements for throwning C++ exceptions from one shared library to another in gcc 4.1.0?
Hi Glenn,
> Sorry, the platforms are x86 Linux and sparc Sun Solaris (with gcc 3.2).
Sun SPARC Solaris ... oh oh!
Linux x86 should be okay.
> By C barrier here, do you mean code compiled as C (i.e. with gcc instead
> of g++) or would that include an extern "C" function in C++ code (just
> checking).
Compiled with gcc instead of g++, yes.
An extern "C" function in C++ code... not sure. I think that will work in
GCC's g++, but may not work with other C++ compilers. Perhaps needs a
compiler flag to enable.
HTH,
--Eljay