[fpc-devel] FPC_REQUIRES_PROPER_ALIGNMENT

Florian Klaempfl F.Klaempfl at gmx.de
Wed Oct 13 17:04:09 CEST 2004


Jonas Maebe wrote:

> 
>> M:> But how are members of packed records accessed ?
> 
> 
> Just like members of regular records. The difference is that there are 
> simply no alignment bytes between the different fields of the record.
>

If you've to access an unaligned member, you've to use a move as you do 
in C, where a memcpy is used.




More information about the fpc-devel mailing list