[fpc-pascal] enum greater than 32 differents values

Jose Pascual josepascual at almudi.com
Mon Sep 5 21:22:31 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?

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?

tia!

best regards




More information about the fpc-pascal mailing list