comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Pro*Ada and Gnat
Date: 1997/03/03
Date: 1997-03-03T00:00:00+00:00	[thread overview]
Message-ID: <dewar.857399299@merv> (raw)
In-Reply-To: 5f9hlt$7j9@hetre.wanadoo.fr


J-P Rosen asks

<<We have been unable to use Pro*Ada (Oracle) with Gnat. Apparently,
Pro*Ada uses heavily unchecked_conversions between pointers and
adresses, and other doubtful features; has anyone succeded to use
Pro*Ada with Gnat ?>>

Note that if you have pointers to unconstrained arrays, which are normally
represented as double ("fat") pointers in GNAT, you can force an alternative
single ("thin") pointer representation with a size clause:

   for x'size use address'size;

and this may make your code more ready to do battle with doubtful features :-)





      parent reply	other threads:[~1997-03-03  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-01  0:00 Pro*Ada and Gnat J-P. Rosen
1997-03-03  0:00 ` Brad Balfour
1997-03-04  0:00   ` J-P. Rosen
1997-03-11  0:00     ` Ed Bruce
1997-03-03  0:00 ` Laurent Guerby
1997-03-03  0:00   ` Robert Dewar
1997-03-03  0:00 ` Robert Dewar [this message]
replies disabled

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