From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: Q re pack & aliased
Date: Fri, 25 Apr 2003 17:06:45 +0100
Date: 2003-04-25T17:06:45+01:00 [thread overview]
Message-ID: <b8bmec$8f5ce$1@ID-25716.news.dfncis.de> (raw)
In-Reply-To: 63lpa.48072$Si4.30616@rwcrnsc51.ops.asp.att.net
<tmoran@acm.org> 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]
next prev parent reply other threads:[~2003-04-25 16:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-20 1:08 Q re pack & aliased tmoran
2003-04-20 11:40 ` David Holm
2003-04-21 4:44 ` tmoran
2003-04-22 16:08 ` Jacob Sparre Andersen
2003-04-22 16:30 ` Vinzent Hoefler
2003-04-22 16:44 ` tmoran
2003-04-22 17:23 ` Stephen Leake
2003-04-22 21:45 ` Robert A Duff
2003-04-22 22:25 ` tmoran
2003-04-22 23:10 ` Nick Roberts
2003-04-23 0:24 ` tmoran
2003-04-23 8:07 ` Vinzent Hoefler
2003-04-23 17:18 ` tmoran
2003-04-23 19:28 ` Vinzent Hoefler
2003-04-23 11:52 ` Martin Dowie
2003-04-25 16:06 ` Nick Roberts [this message]
2003-04-25 16:38 ` Vinzent Hoefler
2003-04-22 22:51 ` Matthew Heaney
2003-04-22 23:16 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox