comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: exceptions and C functions (was Re: Ada -> C or C++ translator)
Date: Wed, 19 Jun 2002 17:33:17 GMT
Date: 2002-06-19T17:33:17+00:00	[thread overview]
Message-ID: <wccr8j3p40y.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 3D1095F1.68DA0D0C@despammed.com

Wes Groleau <wesgroleau@despammed.com> writes:

> > > Can Ada exceptions cross C functions? E.g. if an Ada subprogram called
> > > a C function, which called an Ada subprogram which raised an exception,
> > > would the exception propagate across the C void?
> > 
> > Yes.
> 
> No.  Unless the compiler vendors had taken steps to ensure
> this would happen.  I think the answer is yes with gcc (cc1/gnat1)

Umm.  The question was about the AverCom (was AverStar, was
Intermetrics) AdaMagic compiler -- the version that translates to C.
I work for this compiler vendor, and I implemented much of the
exception handling facility.  This compiler vendor *has* taken steps to
make sure that exceptions can propagate from Ada to C back to Ada.

So the answer, as I said, is "Yes".  Sheesh.

- Bob



  reply	other threads:[~2002-06-19 17:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 12:26 Ada -> C or C++ translator David Rasmussen
2002-06-17 12:51 ` Martin Dowie
2002-06-17 12:59   ` David Rasmussen
2002-06-17 14:21     ` Larry Kilgallen
2002-06-17 14:19       ` David Rasmussen
2002-06-28 18:40       ` pontius
2002-06-29  1:47         ` tmoran
2002-07-01 14:30           ` pontius
2002-07-03 15:16         ` Robert I. Eachus
2002-07-13 22:55           ` David Thompson
2002-06-18 23:41 ` Robert A Duff
2002-06-19  0:21   ` exceptions and C functions (was Re: Ada -> C or C++ translator) Dale Stanbrough
2002-06-19  1:44     ` Robert A Duff
2002-06-19 14:32       ` Wes Groleau
2002-06-19 17:33         ` Robert A Duff [this message]
2002-06-19 17:58           ` Wes Groleau
2002-06-19 19:17             ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox