[fpc-devel] Re: Class field reordering

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jul 19 20:12:22 CEST 2012

On 19 Jul 2012, at 12:21, _-jane-_ at web.de wrote:

> Unfortunately PACKED is not allowed on all suitable places; there should be packed set

There's the {$packset xxx} directive you can use.

> /array/record/

"packed array" and "packed record" both exist.

> object/class.

Both respect the current {$packrecords xxx} setting ("class" only since FPC 2.6.0). If you use {$packrecords 1}, there will be no gaps between the class fields and hence nothing will ever be reordered either.


More information about the fpc-devel mailing list