Use the compiler command line option -CPPACKSET=1 or source directive {$PACKSET 1} for Delphi compatibility in Set sizes. This works in 2.3.1 and 2.2.0. I use too {$Z1} or {$PACKENUM 1} for Delphi compatibility in enumerated sizes. Curiously, and sadly, these options are not automatically attributed in Delphi mode.
-- Att, Wanderlan Santos dos Anjos
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal