comp.lang.ada
 help / color / mirror / Atom feed
From: almroth@attglobal.net (Andreas Almroth)
Subject: C++->Ada; Exception handling
Date: 26 Jun 2001 04:10:36 -0700
Date: 2001-06-26T11:10:36+00:00	[thread overview]
Message-ID: <e19796c6.0106260310.a1ada9c@posting.google.com> (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



                 reply	other threads:[~2001-06-26 11:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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