[fpc-pascal] Sets

Juha Manninen juha.manninen62 at gmail.com
Thu Oct 3 08:20:17 CEST 2013


On Thu, Oct 3, 2013 at 1:58 AM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> It is part of {$mode delphi}:
> http://wiki.freepascal.org/User_Changes_2.6.0#Sizes_of_sets_in_TP.2FDelphi_mode

Ok, sorry Marco and Jonas.
This unit did not have Mode Delphi. I thought the setting in a Lazarus
project was enough but no. This unit is not part of the project but is
used by it.
This is a big code base I must learn. Some units must compile with
Delphi and FPC, some units only with Delphi.
It is better to put :
 {$IFDEF FPC}
   {$MODE Delphi}
 {$ENDIF}

in every unit.

Thanks and regards,
Juha



More information about the fpc-pascal mailing list