comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <dewar@gnat.com>
Subject: Re: Ada and C++; Any Gurus Out There?
Date: 1999/06/04
Date: 1999-06-04T00:00:00+00:00	[thread overview]
Message-ID: <7j7dc4$jt$1@nnrp1.deja.com> (raw)
In-Reply-To: slrn7ldch2.nqu.gisle@apal.ii.uib.no

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

In article <slrn7ldch2.nqu.gisle@apal.ii.uib.no>,
  gisle@apal.ii.uib.no (Gisle S�lensminde) wrote:
> so 'extern C' is neccesary  to make C linkage, and not a
> workaround.
>
> --
> Gisle S�lensminde ( gisle@ii.uib.no )

Fine, but this is comp.lang.ada, not comp.lang.c, so we are
interested in interfacing from C++ to Ada (C is not in
necessarily in sight unless we drag it in).

And the answer is no, it is not necessary to use extern C in
interfacing between Ada 95 and C++ if your implementation (like
GNAT) supports interfacing directly to C++.

See the example of this interfacing that comes with the GNAT
distribution.

Robert Dewar
Ada Core Technologies


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




  reply	other threads:[~1999-06-04  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-02  0:00 Ada and C++; Any Gurus Out There? Decker, Christian R
1999-06-02  0:00 ` Robert Dewar
1999-06-02  0:00 ` Gisle S�lensminde
1999-06-03  0:00   ` Robert Dewar
1999-06-03  0:00     ` Gisle S�lensminde
1999-06-04  0:00       ` Robert Dewar [this message]
1999-06-02  0:00 ` Tucker Taft
replies disabled

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