2012/9/10 Den Jean <den.j...@telenet.be>:
> Hi,
>
> As described in
> http://bugs.freepascal.org/view.php?id=22797
>
> fpc 2.7.1 does not allow anymore to pass an enum
> to a function expecting integers.
>
> Note that there has always been a
> {$MINENUMSIZE 4} in qt4.pas
>
> Is this intended behaviour ? I really hope it is not.
>
> I cannot define the type of the parameter
> as the enumtype because the expected values
> are either the enum or combinations of the enum (or)

If it is the combination of enum, then the type of the parameter is set of enum.

Vincent
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to