This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: throwing C++ exceptions across C frames
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Ben Liblit <liblit at eecs dot berkeley dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 30 Dec 2002 23:52:54 -0500 (EST)
- Subject: Re: throwing C++ exceptions across C frames
On Mon, 30 Dec 2002, Ben Liblit wrote:
> - the C++ "catch" code calls some C function
> - this C function then calls back into C++ code
> - this C++ code now throws an exception
>
> Is there any possible way to make this work?
Compile your C source with -fexceptions.
Jeff