[fpc-devel] Patch, font rendering on Arm-Linux devices.

Michael Schnell mschnell at lumino.de
Fri Feb 29 10:10:06 CET 2008

> The VirtualTreeView tries to make the fields of the (packed) record 
> aligned at dword boundary by grouping together smaller (one or two 
> byte fields) or adding dummy fields. Does this trick overrides the 
> unaligned memory access?
Of course it is always a good idea to sort the members of a record 
according to their size (if size is 2**n: order from big to small). As 
there is no definition about how the compiler is to place the record 
elements in a record, IMHO the compiler should do this automatically, 
unless the record is defined as (bit-)packed.


More information about the fpc-devel mailing list