> PS. Throwing exceptions across C code aborts too, you can however > add one of the previously mentioned flags when compiling C code. Just a small correction: you need -fexceptions or -funwind-tables, -fnon-call-exceptions and -fasynchronous-unwind-tables aren't necessary unless you're throwing out of signal handlers. (Applies to gcc)