[fpc-devel] enums and integer auto conversion
Marco van de Voort
marcov at stack.nl
Mon Sep 10 22:11:19 CEST 2012
In our previous episode, Dani?l Mantione said:
> > On Monday 10 September 2012 20:18:52 Vincent Snijders wrote:
> >> If it is the combination of enum, then the type of the parameter is set of
> >> enum.
> > Ahum, I am talking about passing combinations of enums values
> > (usually bitmasks, assigned enums, some assigned enums
> > are already combinations of other) to C or C++.
> > Sets are not binary compatible for that.
>
> They should be.
Afaik {$mode delphi} doesn't auto enable the equivalent packenum/set. I
noticed that last week too.
More information about the fpc-devel
mailing list