[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc version 4.3.1 ada exception bug from foreign code?



On 20080911 17:37:23, Bastian Blank wrote:
> On Thu, Sep 11, 2008 at 03:34:53PM +0100, debian-gcc@coreland.ath.cx 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.


Reply to: