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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2ed4df3963fb5a81 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-04 18:30:04 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!wn52feed!worldnet.att.net!attbi_s04.POSTED!not-for-mail From: "Jeff C," Newsgroups: comp.lang.ada References: Subject: Re: GtkAda compile errors (Apex Ada) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 24.147.74.171 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s04 1078453803 24.147.74.171 (Fri, 05 Mar 2004 02:30:03 GMT) NNTP-Posting-Date: Fri, 05 Mar 2004 02:30:03 GMT Organization: Comcast Online Date: Fri, 05 Mar 2004 02:30:03 GMT Xref: archiver1.google.com comp.lang.ada:6067 Date: 2004-03-05T02:30:03+00:00 List-Id: "Nelson Chandler" wrote in message news:Hu2BCw.9MM@news.boeing.com... >> Hi, I'm using Rational Apex Ada NT 4.2.0c and I'm trying to make GtkAda work > with it. > > So far, I've converted all of the gnat style file names to rational apex ada > style file names and made a sub-system and working area for all of the > gtkAda code (2.2.0). But when I actually try to use it, I keep getting > errors. Usually it starts with a convention c imported function having one > of its componant types not of convention c. And that componant type unable > to be used with pragma convention (c, ) because > " is (or depends on) an incompletely defined private type" or > " is neither unconstrained nor statically constrained" errors. > > Has anyone else had these problems or gotten any of it to work? > > -Nelson > I have never tried it. There are a lot of things going against you here. Gtk on NT still being somewhat of a second class citizen to the Unix ports (though it clearly has gotten a lot better than it used to be).. I have never heard of anyone trying GtkAda with Apex. What MIGHT work would be to take all of the GtkAda code and pass it through gcc -gnatR which would spit out rep-spec versions for each of the record types. Then you could eliminate all of the pragma conventions C things and replace them with rep-specs...Not sure if it would would work. Note that I would be surprised if you got this to work all the way without some real effort. It would certainly be easier if you used GNAT. It is probably not the "standard tool" but then again I suspect GtkAda is not either..