comp.lang.ada
 help / color / mirror / Atom feed
* C++->Ada; Exception handling
@ 2001-06-26 11:10 Andreas Almroth
  0 siblings, 0 replies; only message in thread
From: Andreas Almroth @ 2001-06-26 11:10 UTC (permalink / raw)


Hi all,

Thought I would add to some of the Usenet noise... :)

I have been fiddling around with interfacing stuff written in C++
in my Ada95 programs. I have found the documentation to be scarce
at best, but I have got the basic mappings to work fairly well...

Now, my questions are, how about exception handling? Are there
pragma's I can use for this, and is it very compiler dependant?
I have read the RM95, Annex B and L. But no obvious pragmas,
except the ones I already used for achieving mapping to C++.
Well, I should say I'm using GNAT 3.13p. I don't know with
other compilers, maybe the Aonix one have support?

I have been thinking of encapsulating the exceptions in C++,
in a way so that I get error codes sent to Ada part, but that
really is not the best solution, is it?

Well, any information is indeed greatly appreciated. 
And if you have an URL where all the Gnat specific interface
documentation is, I would really appreciate it...

Regards,
Andreas



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-26 11:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-26 11:10 C++->Ada; Exception handling Andreas Almroth

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