[fpc-pascal] PACKENUM and MINENUMSIZE

Michael Van Canneyt michael at freepascal.org
Thu Sep 11 09:42:54 CEST 2008



On Thu, 11 Sep 2008, Marco van de Voort wrote:

> In our previous episode, Michael Van Canneyt said:
> > > As far as I could find in the docs it depends on $MODE: for $MODE OBJPAS it's
> > > 4 but I could'nt find the default for $MODE DELPHI.
> > 
> > Where did you read that this depends on $MODE ?
> > It just says that the default (contrary to Delphi) is 4.
> 
> Then the doc is wrong, since sizeof (enum with one element) is 1 in Delphi
> mode.

No problem, if someone would tell me the exact behaviour, I will change it.

Michael.



More information about the fpc-pascal mailing list