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: Ian Lance Taylor <iant at google dot com>
- To: John Love-Jensen <eljay at adobe dot com>
- Cc: Glenn Serre <serre at adobe dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: 11 Jan 2007 17:59:07 -0800
- Subject: Re: Requirements for throwning C++ exceptions from one shared library to another in gcc 4.1.0?
- References: <C1CC0698.1B33C%eljay@adobe.com>
John Love-Jensen <eljay@adobe.com> writes:
> > 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.
For what it's worth, you can use the -fexceptions option to permit
throwing exceptions across C code.
Ian