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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,1488a75895e849b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.175.65 with SMTP id w1mr9829724qaz.7.1360619379315; Mon, 11 Feb 2013 13:49:39 -0800 (PST) X-Received: by 10.49.35.77 with SMTP id f13mr1114419qej.4.1360619379248; Mon, 11 Feb 2013 13:49:39 -0800 (PST) Path: k2ni21154qap.0!nntp.google.com!p13no9191421qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 11 Feb 2013 13:49:39 -0800 (PST) In-Reply-To: <51192116$0$30527$703f8584@news.kpn.nl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.8.48.118; posting-account=kLM-CAoAAAD1qD8LldjLWCXYzERl03-C NNTP-Posting-Host: 93.8.48.118 References: <51192116$0$30527$703f8584@news.kpn.nl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <829bf734-e37d-4232-aced-c5f5734a3bbf@googlegroups.com> Subject: Re: Converting a C/C++ statement to Ada From: Quentin Ochem Injection-Date: Mon, 11 Feb 2013 21:49:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-02-11T13:49:39-08:00 List-Id: > > I am just trying to convert a routine that I can use. > Are you trying to translate code from Ada to C++, or just to interface it? In the latter case, the gcc switch -fdump-ada-specs does the job for you (http://docs.adacore.com/gnat-unw-docs/html/gnat_ugn_29.html#SEC298)