Exception handling in C++

Richard Henderson rth@redhat.com
Wed Jan 10 00:59:00 GMT 2001


On Tue, Jan 09, 2001 at 07:08:07PM -0500, Robert Schweikert wrote:
> Is there any way to get a C++ exception through C-code? Take the
> following schematic of a call stack as an example.

Compile the C with -fexceptions.  This is required to emit
the frame unwind descriptors needed to get through the code.
It should not have any effect on C optimization.


r~


More information about the Gcc mailing list