comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@baesystems.com>
Subject: Re: Record representation
Date: Wed, 9 Jun 2004 17:58:26 +0100
Date: 2004-06-09T17:58:26+01:00	[thread overview]
Message-ID: <40c7407c$1_1@baen1673807.greenlnk.net> (raw)
In-Reply-To: c2Gxc.1$oX2.0@dfw-service2.ext.ray.com

"Mark H Johnson" <mark_h_johnson@raytheon.com> wrote in message
news:c2Gxc.1$oX2.0@dfw-service2.ext.ray.com...
> Let's generalize the situation slightly. What do you suggest be done if
> you change the data type from an Integer to a Natural? Using GNAT on
> x86's, Natural'Size is 31 (not 32) so that would imply setting AA'Size
> to 310 (and not 320) w/ a real pain in the *ss due to packing /
> unpacking of the data.

Could use a new attribute 'Object_Size (which would be 32).


> I remember a private email exchange with Robert Dewar about something
> similar to this a few years ago. Let me see if I can dig up the
> suggestions he had to improve the portability of your code.

That would be very interesting - TIA

Cheers

-- Martin






  reply	other threads:[~2004-06-09 16:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09  9:14 Record representation Martin Dowie
2004-06-09 11:38 ` Martin Krischik
2004-06-09 14:11   ` Martin Dowie
2004-06-09 15:30 ` Mark H Johnson
2004-06-09 16:58   ` Martin Dowie [this message]
2004-06-09 17:44     ` tmoran
2004-06-09 20:08     ` Mark H Johnson
2004-06-09 21:12       ` Martin Dowie
2004-06-09 21:14       ` Martin Dowie
2004-06-10  0:38 ` Stephen Leake
2004-06-10  6:13   ` Randy Brukardt
2004-06-10  6:10 ` Randy Brukardt
2004-06-15  7:37   ` Martin Dowie
replies disabled

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