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-Thread: 103376,e5140c483354bfcc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!news.space.net!news.tesion.net!news.belwue.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: What is correct way to pack records Date: Thu, 18 Nov 2004 06:50:28 +0000 (UTC) Organization: BT Openworld Message-ID: References: <3fc90377.0411171620.7a3bcfd9@posting.google.com> NNTP-Posting-Host: host81-152-56-142.range81-152.btcentralplus.com X-Trace: titan.btinternet.com 1100760628 16163 81.152.56.142 (18 Nov 2004 06:50:28 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 18 Nov 2004 06:50:28 +0000 (UTC) X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Xref: g2news1.google.com comp.lang.ada:6263 Date: 2004-11-18T06:50:28+00:00 List-Id: "Warren O. Merrill" wrote in message > is there a pragma (or other method) that will do the same thing > GUARANTEED not to change the field order to accomplish the packing > without having to write all these record representation clauses? Some compilers (e.g. the Ada83 Alysis) came with a non-standard 'pragma Preserve_Layout' but no there is no standard pragma to do what you ask. Cheers -- Martin