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,d1ced5efd53fe6a1 X-Google-Attributes: gid103376,public From: smize@news.imagin.net (Samuel Mize) Subject: Re: Can Ada95 interface with C++? Date: 1997/02/20 Message-ID: <5ej3fo$15ki@prime.imagin.net>#1/1 X-Deja-AN: 220306177 References: <5csvbd$ia2@top.mitre.org> <1997Feb6.130819.1@eisner> Organization: ImagiNet Communications Ltd, Arlington, Texas Newsgroups: comp.lang.ada Date: 1997-02-20T00:00:00+00:00 List-Id: In article , Ken Raeburn wrote: >People have been saying "yes you can do it", but I'm wondering how >it's done, since Annex B only talks about C, COBOL, and Fortran. >...Or can Ada interface with >"real" C++ code? ... >But is it possible (or feasible) to make compatible those constructs >that might directly correlate between the languages? It is apparently both possible and feasible, since (I understand) GNAT does it. However, as you noted, it is not in Annex B, so it is not a standard item. It is vendor-dependent. (There wasn't an ISO standard for C++ when Ada95 was standardized. It would have been problematic to define a standard interface to an unstandardized language.) Samuel Mize