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!news4.google.com!news.glorb.com!news.cs.univ-paris8.fr!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Calling C++ methods from Ada.. Date: Sat, 4 Dec 2004 13:22:07 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <12249392.8B9d8fV5qk@linux1.krischik.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1102166527 21523 134.91.1.34 (4 Dec 2004 13:22:07 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Sat, 4 Dec 2004 13:22:07 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:6753 Date: 2004-12-04T13:22:07+00:00 List-Id: Luke A. Guest wrote: : On Fri, 03 Dec 2004 09:59:22 +0100, Martin Krischik wrote: : :> 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 :-( . : : I wonder how much work it would be to add a switch to the GCC C++ compiler : to enable generation of GNAT bindings (when --languages has ada passed on : the configuration command line)? Maybe there are some traces of this idea in GCC/GNAT for .NET/.GNU/.WHATEVER? (I'm guessing this because much in .NET is about extensible types with operations as part of a common language infrasructure. So if GCC is enabled to build type information for MSIL (?), the information needed to generate Ada bindings should be right there.) -- Georg