Is it possible to throw an exception from a plain C function to be caught by a C++ function using gcc in x86 (and possibly x86-64) Linux?
What about catching a C++ exception in C code?
I'm hoping there's a way since the exception frame information is already there.
Note 1: I don't care about compatibility. A gcc only hack (internal function calls, language extension etc.) will do just fine.
Note 2: I can't compile the plain C part of the application with g++ for several reasons.