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:06:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!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: Fri, 25 Apr 2003 17:06:45 +0100 Message-ID: References: <63lpa.48072$Si4.30616@rwcrnsc51.ops.asp.att.net> NNTP-Posting-Host: 82-43-33-254.cable.ubr01.croy.blueyonder.co.uk (82.43.33.254) X-Trace: fu-berlin.de 1051286797 8885646 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:36549 Date: 2003-04-25T17:06:45+01:00 List-Id: wrote in message news:63lpa.48072$Si4.30616@rwcrnsc51.ops.asp.att.net... > > I suggest that 'aliased' was always inappropriate anyway. > > ... > The case at hand is a DIBitmap in Windows. It needs to be in > packed, 24 bit, format so I can pass it to Windows (not to > mention size considerations). I also need sometimes to make > pointers to individual elements, so the components need to be > aliased. > ... > There is no second task, hardware or software, accessing it, > so it's not Volatile. Ah. I beg your pardon. 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. But that's just a guess. Now I'll leave the argument! (Sorry.) -- Nick Roberts Jabber: debater@charente.de [ICQ: 159718630]