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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,703ebe6e4ca7960a X-Google-Attributes: gid103376,public From: scott@hakuin.boeing.com (Scott Moody, 773-8600) Subject: Re: Linking C++ and Ada Date: 1996/02/26 Message-ID: #1/1 X-Deja-AN: 141256889 sender: news@plato.ds.boeing.com references: organization: Boeing Defense and Space Group reply-to: scott@hakuin.boeing.com newsgroups: comp.lang.ada Date: 1996-02-26T00:00:00+00:00 List-Id: >check the GNAT examples included in the distribution, there is an example >about calling some C++ code. This brings up a question. GNAT has a few pragmas for linking to C++ that are not part of the Ada standard. I haven't even seen them until looking at the ex6 example. Should I start using these non-standard pragmas? It would definitely help my corba interface... eg. pragma CPP_Class (Entity => A); pragma CPP_Vtable (Entity => A, Vtable_Ptr => Vptr, Entry_Count => 2); pragma CPP_Constructor (Entity => Constructor);