From: kls@icf.hrb.com (Ken Slater)
Subject: Re: Interface between ADA and C++
Date: 1996/05/29
Date: 1996-05-29T00:00:00+00:00 [thread overview]
Message-ID: <1996May29.083850.24678@hrbicf> (raw)
In-Reply-To: 4o4h0p$l32@hacgate2.hac.com
In article <4o4h0p$l32@hacgate2.hac.com>, Darren C Davenport <ddavenpo@redwood.dn.hac.com> writes:
> Mike Young <mikey@str.com> wrote:
>>As for guessing and using the decorated name: this is generally not a good
>>idea. It's a pain in the behind, for one, not portable, for two, and extern
>>C takes care of all this, for three.
>>
>>Mike.
>
> However, GNAT does have the ability to interface with C++, including
> deriving classes, and you can not use that capability if you use extern.
> You do need to know the mangled name to use this feature.
>
> Darren
>
I have just started using GNAT on a Silicon Graphics Indy workstation and
was also wondering how easy it was to interface to C++. Do you use pragmas?
Is there any sample code showing how this is done? Is it dependent on the
C++ compiler used (i.e. must you use gcc)?
Thanks.
next prev parent reply other threads:[~1996-05-29 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-22 0:00 Interface between ADA and C++ Norbert Roeben
1996-05-23 0:00 ` Kevin F. Quinn
1996-05-23 0:00 ` Mike Young
1996-05-24 0:00 ` Darren C Davenport
1996-05-29 0:00 ` Ken Slater [this message]
1996-05-29 0:00 ` Ding-yuan Sheu
1996-05-24 0:00 ` Vincent P. Amiot
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox