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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!prodigy.com!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Calling C++ methods from Ada.. Date: Fri, 03 Dec 2004 09:59:22 +0100 Organization: None Message-ID: <12249392.8B9d8fV5qk@linux1.krischik.com> References: Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1102064467 04 14450 bZu5X8c11dF+Q2T 041203 09:01:07 X-Complaints-To: usenet-abuse@t-online.de X-ID: bLbJk+ZHoeYzhrapwZnJTiMSLGU5N40q17MKGT5BrqyyNUxXe-Kwkv User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:6732 Date: 2004-12-03T09:59:22+01:00 List-Id: Luke A. Guest wrote: > 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. The original idea was a C++ parser which generated the bindings. With the complexity of C++ the only way to go. However the parser never happend :-( . Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com