tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: How to determine allignment
@ 1999-01-03 13:14 Lars Bro
  0 siblings, 0 replies; only message in thread
From: Lars Bro @ 1999-01-03 13:14 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-03 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-03 13:14 SUMMARY: How to determine allignment Lars Bro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox