CompilerVersion in delphi style cause FPC to error in delphi mode
Original Reporter info from Mantis: payl
-
Reporter name: Paul W
Original Reporter info from Mantis: payl
- Reporter name: Paul W
Description:
using for example:
{$IF CompilerVersion >= 17.0}
will produce:
Error: Compile time expression: Wanted STRING but got INTEGER at "COMPILERVERSION >= 170"
Even with {$mode delphi} it still creates same error.
Mantis conversion info:
- Mantis ID: 20935
- Version: 2.4.4