[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 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.

Bastian

-- 
You can't evaluate a man by logic alone.
		-- McCoy, "I, Mudd", stardate 4513.3


Reply to: