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) Kind regards, Den Jean _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel