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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5f4679d58bde270f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: Calling C++ methods from Ada.. Date: Thu, 02 Dec 2004 21:32:03 +0000 Message-ID: References: NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1102023123 29010 62.49.62.197 (2 Dec 2004 21:32:03 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 2 Dec 2004 21:32:03 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news1.google.com comp.lang.ada:6726 Date: 2004-12-02T21:32:03+00:00 List-Id: On Thu, 02 Dec 2004 22:12:03 +1100, Brian May wrote: >>>>>> "Luke" == Luke A Guest writes: > > Luke> What compiler are you using? > > Good point - I assumed he was using GNAT, so the solution I gave may > not be relevant if he is not using GNAT. I am not sure if the pragmas > I gave are GNAT specific or not. Yeah, I didn't see the reference to GHS, I must've just skimmed past ;-), but the code he posted wouldn't work on GNAT anyway because you have to provide GNAT the mangled C++ names, which is crap IMO. Luke.