From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: Q re pack & aliased
Date: Wed, 23 Apr 2003 00:16:37 +0100
Date: 2003-04-23T00:16:37+01:00 [thread overview]
Message-ID: <b84igj$64a1k$1@ID-25716.news.dfncis.de> (raw)
In-Reply-To: 1ec946d1.0304221451.6365ec93@posting.google.com
"Matthew Heaney" <mheaney@on2.com> 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]
prev parent reply other threads:[~2003-04-22 23:16 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
2003-04-25 16:38 ` Vinzent Hoefler
2003-04-22 22:51 ` Matthew Heaney
2003-04-22 23:16 ` Nick Roberts [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox