[fpc-pascal] enum greater than 32 differents values

Peter Vreman peter at freepascal.org
Tue Sep 6 08:06:56 CEST 2005


> Hi,
>
> I have read in docs for freepascal "If a set has less than 32 elements,
> it is coded as an unsigned 32-bit value. Otherwise it is coded as a 8
> element array of 32-bit unsigned values (cardinal) (hence a size of 256
> bytes)."
>
> Has it changed in fpc 2.x.x?

No

> I have a enum with 60 differents values and Delphi is packing in 8 bytes
> (int64), Is there some option
> or switch for fpc 2.x.x does the same paking?

No





More information about the fpc-pascal mailing list