[fpc-devel] FPC_REQUIRES_PROPER_ALIGNMENT

Florian Klaempfl F.Klaempfl at gmx.de
Sun Oct 17 09:43:38 CEST 2004


Olle Raab wrote:

> 04-10-16 19.40, skrev Chess Player följande:
> 
> 
>>If packed records are such a problem, don't use packed records.  We're not
>>programming for computers with 640kb of RAM.
> 
> 
> "packed" is sometime used to make the binary representation of the record
> more predictable, which you might need if you mix fpc with other languages
> or want to save the data to disk. Of course you can only rely on this at
> your own risque.
> 
> And the Mac OS Universal Interfaces uses "packed" a lot.

Yes, but they are probably packed properly and taking care of alignment. 
Further, the powerpc doesn't "sigbus" on unaligned data usually.




More information about the fpc-devel mailing list