From: Lars Bro <lbr () dksin ! dk>
To: tru64-unix-managers
Subject: SUMMARY: How to determine allignment
Date: Sun, 03 Jan 1999 13:14:14 +0000 [thread overview]
Message-ID: <96079034715961.tru64-unix-managers.marc@archive.invalid> (raw)
Hi, managers.
My question were how to correctly determine the allignment needed when
placing different kinds of objects in memory.
The consensus was that there is no **right** way to do this. And it is
certainly not enough just to use an int. I got that idea because of a
programming error in my test program. The best thing to do is to allign
everything with the size of a pointer (which on the Alpha is 64 bits).
Thanks to:
Claude Scarpelli
Dr. Tom Blinn
Alan Rollow
Dejan Muhamedagic
--
Lars Bro lbr@dksin.dk
ABB Daimler-Benz Transportation Signal A/S +45 36 39 01 77
reply other threads:[~1999-01-03 13:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox