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,c76d41708bf94f23 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f6g2000prf.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: c2ada bug report filed Date: Mon, 4 Apr 2011 16:46:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <3a657bf9-89ed-45c8-bd4d-f226cb3bc5fa@w7g2000pre.googlegroups.com> <61c5b143-0617-4fc9-a395-14bb8530cc96@k10g2000prh.googlegroups.com> NNTP-Posting-Host: 75.172.189.65 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1301960769 14890 127.0.0.1 (4 Apr 2011 23:46:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 4 Apr 2011 23:46:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f6g2000prf.googlegroups.com; posting-host=75.172.189.65; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/531.21.8+(KHTML, like Gecko, Safari/528.16) (null),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18688 Date: 2011-04-04T16:46:09-07:00 List-Id: On Apr 4, 10:27=A0am, Simon Wright wrote: > Personally I always thought that it was a mistake to take on the > translation of C body files (IYSWIM). I suppose one could make some > simple translations for printf(), but it's not really Ada-compatible. IDSWYM, even though the docs indicate at least _some_ results--I got nada. I also tried some .h files as input and also got empty spec files as output. Oh well--it was worth a shot. As you say, there might be some project- specific stuff to play with, but it's not worth the effort given the size of my project. I do frequently take the option of short-term pain for long-term gain which is why I originally looked at c2ada several years ago (when it appeared to be rather dormant), and again now. If I ever do another binding, I'll look at the conversion utility that is now included with the AdaCore distribution. Thanks, Jerry