On 20080911 17:37:23, Bastian Blank wrote: > On Thu, Sep 11, 2008 at 03:34:53PM +0100, [EMAIL PROTECTED] wrote: > > Essentially, a piece of Ada code calls a foreign C function with > > a callback as an argument. The callback is an Ada procedure which > > raises an exception. The original Ada caller catches the exception > > and execution continues from that point. > > Do you build the C source with -fexceptions? Otherwise its illegal to > throw exception through this code.
Well, that was painless. Thanks. I wasn't even aware of the -fexceptions flag. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]