[fpc-pascal] Record size

Jonas Maebe jonas.maebe at elis.ugent.be
Tue May 24 16:13:03 CEST 2011

On 24 May 2011, at 16:06, Jonas Maebe wrote:

> Padding at the end of a record is generally added to make sure that  
> if such a record appears in an array, subsequent items all have the  
> required alignment. I don't immediately see why the compiler would  
> think that record needs alignment to a multiple of 16 bytes though  
> (afaik, we don't support any datatypes on the ARM that require such  
> an alignment).

See also http://wiki.freepascal.org/User_Changes_2.4.0#Alignment_of_record_variables

And make sure to also read the User Changes pages for 2.4.2 and 2.4.4.


More information about the fpc-pascal mailing list