On Tue, Feb 17, 2004 at 11:05:03AM +0100, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
extern "C" { #include "whatever.h" }
Make sure to not throw any C++ exceptions though.
There is another problem, which might clash with C++ exception handling (and possibly others).
Pike_error() uses longjmp(), which is not recommended to be used in C++ runtime... And this is, IMHO, unavoidable...
Regards, /Al