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-25 09:39:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!62.2.203.231!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Q re pack & aliased Date: Fri, 25 Apr 2003 18:38:26 +0200 Organization: JeLlyFish software Message-ID: References: <63lpa.48072$Si4.30616@rwcrnsc51.ops.asp.att.net> NNTP-Posting-Host: 62.2.203.231 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1051288746 8894296 62.2.203.231 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:36552 Date: 2003-04-25T18:38:26+02:00 List-Id: "Nick Roberts" wrote: >I suspect that GNAT 3.15 (based on GCC 2.8.1?) now considers the minimal >addressable unit as a 'machine word' (32 bits), so it won't alias an = object >(type) with components whose size isn't (a multiple of) this. Well, as I tried to demonstrate here at least the example code works if the components of the record are byte sized. Vinzent.