comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier write-only <gautier_niouzes@hotmail.com>
Subject: Re: acceess problem
Date: Wed, 27 Jul 2011 05:06:35 -0700 (PDT)
Date: 2011-07-27T05:06:35-07:00	[thread overview]
Message-ID: <375286d8-70a1-4bfc-8d3d-5699942807c1@t7g2000vbv.googlegroups.com> (raw)
In-Reply-To: 980bda39-954a-4b4e-8b7d-fb9597f808c0@s33g2000prg.googlegroups.com

On 26 juil, 19:43, Adam Beneschan <a...@irvine.com> wrote:
> Although I don't like this approach, if you're going to convert an
> Address to an access object, surely it's better to use
> System.Address_To_Access_Conversions, which is designed for this sort
> of conversion, than to use Unchecked_Conversion, which assumes that a
> System.Address and the access object you're converting to have the
> same format, which isn't always the case.  There's no point in using
> "pure Ada" if it results in code that compiles on another system but
> doesn't work properly.

Could not agree more!
http://globe3d.svn.sourceforge.net/viewvc/globe3d/bindings/gl.adb?r1=153&r2=152&pathrev=153



  reply	other threads:[~2011-07-27 12:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 15:59 acceess problem ldries46
2011-07-24 17:27 ` Simon Wright
2011-07-25  6:57   ` ldries46
2011-07-25  8:27     ` Simon Wright
2011-07-25  9:59       ` ldries46
2011-07-26 15:57       ` Gautier write-only
2011-07-26 17:43         ` Adam Beneschan
2011-07-27 12:06           ` Gautier write-only [this message]
2011-07-25  9:08     ` AdaMagica
replies disabled

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