[Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jun 9 11:39:28 CEST 2018


On Fri, 08 Jun 2018 20:08:02 +0200
Bo Berglund via Lazarus <lazarus at lists.lazarus-ide.org> 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


More information about the Lazarus mailing list