From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b9ae8898567dfc82 X-Google-Attributes: gid103376,public From: cdecker@snet.net (Decker, Christian R) Subject: Ada C++ interface Date: 1999/07/12 Message-ID: #1/1 X-Deja-AN: 500150186 References: X-Complaints-To: wrenabuse@remarq.com X-Trace: WReNphoon3 931795666 10.0.2.28 (Mon, 12 Jul 1999 09:07:46 PDT) Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here NNTP-Posting-Date: Mon, 12 Jul 1999 09:07:46 PDT Newsgroups: comp.lang.ada Date: 1999-07-12T00:00:00+00:00 List-Id: 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 -