On Fri, 08 Jun 2018 20:08:02 +0200
Bo Berglund via Lazarus <[email protected]> wrote:
>[...]
> Then I tried compiling and for the first few components all I had to
> do was add an {$IFDEF DELPHI} bracket around some Delphi version
> checking code and they compiled.
> I also added this to the top of each component source file:
> {$IFDEF FPC}
> {$MODE DELPHI}
> {$ENDIF}
> (I don't know if this is required on all source files or if there is a
> master setting that enforces MODE DELPHI for the whole package).
Package / Options / Compiler Options/ Parsing / Syntax Mode
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus