comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeff C," <jcreem@yahoo.com>
Subject: Re: GtkAda compile errors (Apex Ada)
Date: Fri, 05 Mar 2004 02:30:03 GMT
Date: 2004-03-05T02:30:03+00:00	[thread overview]
Message-ID: <LCR1c.479738$na.1155156@attbi_s04> (raw)
In-Reply-To: Hu2BCw.9MM@news.boeing.com


"Nelson Chandler" <nelson.c.chandlerNOSPAM@DELETECAPSboeing.com> 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, <type>) because
> "<type> is (or depends on) an incompletely defined private type" or
> "<type> 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..






  reply	other threads:[~2004-03-05  2:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Hu0C9v.55K@news.boeing.com>
2004-03-03 17:30 ` GtkAda compile errors (Apex Ada) Nelson Chandler
2004-03-03 23:14   ` Jeff C,
2004-03-04 17:31     ` Nelson Chandler
2004-03-05  2:30       ` Jeff C, [this message]
2004-03-05  9:28 Lionel.DRAGHI
2004-03-05 16:19 ` Nelson Chandler
2004-03-05 22:48 ` Dan Eilers
  -- strict thread matches above, loose matches on Subject: below --
2004-03-05  9:32 Lionel.DRAGHI
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox