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,8fec429719a29bf9 X-Google-Attributes: gid103376,public From: Darren C Davenport Subject: Re: Interface between ADA and C++ Date: 1996/05/24 Message-ID: <4o4h0p$l32@hacgate2.hac.com>#1/1 X-Deja-AN: 156527772 references: <31A2C469.41C6@essiris2.atlas.de> <31A46A6E.4B2F@banana.demon.co.uk> <31A51616.3222EAAC@str.com> content-type: text/plain; charset=us-ascii organization: Hughes Aircraft Company x-url: news:31A51616.3222EAAC@str.com mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 1.12 (X11; U; SunOS 4.1.3 sun4c) Date: 1996-05-24T00:00:00+00:00 List-Id: Mike Young wrote: >As for guessing and using the decorated name: this is generally not a good >idea. It's a pain in the behind, for one, not portable, for two, and extern >C takes care of all this, for three. > >Mike. However, GNAT does have the ability to interface with C++, including deriving classes, and you can not use that capability if you use extern. You do need to know the mangled name to use this feature. Darren