comp.lang.ada
 help / color / mirror / Atom feed
From: cdecker@snet.net (Decker, Christian R)
Subject: Ada C++ interface
Date: 1999/07/12
Date: 1999-07-12T00:00:00+00:00	[thread overview]
Message-ID: <mpoi3.724$td2.371416@WReNphoon3> (raw)
In-Reply-To: i3gi3.15$Gf1.286@news1.online.no

Check the previous threads on this one... there have been many discussions
on this topic.

The basic problem with interfacing Ada to C++ is the fact that C++ compilers
perform 'name mangling'
on the obejct files.  This causes the Ada lonker to have many unresolved
external errors during link time.

Your C++ code being interfaced must have the extern "C" applied to it in
order to prevent the name mangling.

Good Luck!

Chris



   -**** Posted from RemarQ, http://www.remarq.com/?a ****-
 Search and Read Usenet Discussions in your Browser - FREE -




      parent reply	other threads:[~1999-07-12  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-12  0:00 Ada C++ interface Martin
1999-07-12  0:00 ` David Botton
1999-07-12  0:00 ` Ted Dennison
1999-07-12  0:00 ` Decker, Christian R [this message]
replies disabled

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