This is the mail archive of the gcc@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: 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


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