comp.lang.ada
 help / color / mirror / Atom feed
* Access to C++ exceptions from GNAT ?
@ 1996-04-05  0:00 
  1996-04-05  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From:  @ 1996-04-05  0:00 UTC (permalink / raw)




Hello,

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.


Regards,

Ralph Paul

	ralph@ifr.luftfahrt.uni-stuttgart.de
  




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Access to C++ exceptions from GNAT ?
  1996-04-05  0:00 Access to C++ exceptions from GNAT ? 
@ 1996-04-05  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-04-05  0:00 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-05  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-05  0:00 Access to C++ exceptions from GNAT ? 
1996-04-05  0:00 ` Robert Dewar

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