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,8247c32bb1260c74 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-22 16:16:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!82-43-33-254.cable.ubr01.croy.blueyonder.co.UK!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Q re pack & aliased Date: Wed, 23 Apr 2003 00:16:37 +0100 Message-ID: References: <1ec946d1.0304221451.6365ec93@posting.google.com> NNTP-Posting-Host: 82-43-33-254.cable.ubr01.croy.blueyonder.co.uk (82.43.33.254) X-Trace: fu-berlin.de 1051053395 6432820 82.43.33.254 (16 [25716]) 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 Xref: archiver1.google.com comp.lang.ada:36383 Date: 2003-04-23T00:16:37+01:00 List-Id: "Matthew Heaney" wrote in message news:1ec946d1.0304221451.6365ec93@posting.google.com... > Pragma Pack and aliased components don't really go together. Think > about it: the pragma is there to tell the compiler not to allocate > array components on "natural" boundaries, which would otherwise be > addressable. I agree with this. > Get rid of the pragma Pack, and use a component size clause: ... I agree with this. I believe the correct solution is to drop the 'aliased' and the pragma Pack, and use pragma Volatile and the appropriate representation clauses (e.g. size clauses). -- Nick Roberts Jabber: debater@charente.de [ICQ: 159718630]