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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54a7591bed8148f2 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Record representation Date: Wed, 9 Jun 2004 17:58:26 +0100 Organization: BAE SYSTEMS Message-ID: <40c7407c$1_1@baen1673807.greenlnk.net> References: <40c6d3d1$1_1@baen1673807.greenlnk.net> X-Trace: news.uni-berlin.de TOWjRtV2cbeiqPcBi8mxrQ2uM1Z0V0Sk3bVk5ZoWcK+JbO2BA8 X-Orig-Path: baen1673807.greenlnk.net!baen1673807!not-for-mail X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: baen1673807.greenlnk.net Xref: g2news1.google.com comp.lang.ada:1325 Date: 2004-06-09T17:58:26+01:00 List-Id: "Mark H Johnson" 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