From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Access to C++ exceptions from GNAT ?
Date: 1996/04/05
Date: 1996-04-05T00:00:00+00:00 [thread overview]
Message-ID: <dewar.828723555@schonberg> (raw)
In-Reply-To: 4k3ahf$4ig0@info4.rus.uni-stuttgart.de
"I know that there is a paper on how to access "normal" C++
classes from Ada.
My question is, how do get access to C++ exceptions ?
I know that there is quite a diffrence between Ada and C++ exceptions,
but I am asking because I would like to evaluate if it is possible
to write an Ada binding to some of the freely available OS/2
class libraries.
"
Currently there is no way to interoperate with exceptions between C++
and GNAT. This will change in the future when we integrate the exception
handling in GNAT and g++.
You can always write wrappers that translate the exceptions into flags,
and then pick up the flags on the Ada side and reraise the exceptions.
prev parent reply other threads:[~1996-04-05 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-05 0:00 Access to C++ exceptions from GNAT ?
1996-04-05 0:00 ` Robert Dewar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox