[Lazarus] Typecast set to byte in mode OBJFPC

Jürgen Hestermann juergen.hestermann at gmx.de
Wed Dec 31 18:52:26 CET 2014


Am 2014-12-31 um 18:42 schrieb Jürgen Hestermann:
>
> Am 2014-12-31 um 17:46 schrieb Luca Olivetti:
>> El 31/12/14 a les 17:33, Jürgen Hestermann ha escrit:
>>
>>>> Is this realy compiler mode dependent?
>>>> I can't find any documentation about this.
>>> Sorry, I meant that FlagSETType seems to be 4 bytes now.
>> http://www.freepascal.org/docs-html/prog/progsu59.html#x66-650001.2.59
>>
>>
> Is this valid for set types too?
> I think this is what I was looking for:
> http://www.freepascal.org/docs-html/prog/progsu61.html

It seems that I had to use both directives:

{$PackSet 1}
{$PackEnum 1}

because in OBJFPC mode enum *and* set sizes
are both different to DELPHI mode.
Any other sizes that may have changed?
Is there a list of differences for all modes?





More information about the Lazarus mailing list