Hans Mĺrtensson wrote:
.
.
> Does PPC 2.0.2 handle alignment of data the same way as former versions?
.
.
Actually, I don't think so - I believe the default alignment might have
changed from 2 to 4 (at least this seems to be indicated by my simple
test). You can check this easily for pBoxtemplate^ (or anything else as
required) by calling:
WriteLn (SizeOf (pBoxtemplate^));
Furthermore, you can enforce required alignment using {$PACKRECORDS x}.
Tomas
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal