Hey Nicolas(@NDXDeveloper),
On this file:
You're missing the {$mode objfpc}{$H+}.
Not sure if this has caused problems in your code.
I'm not completely sure if you have the -M flag setup on Lazarus. Even if you have, this could break when another person tries to compile the code and it has a preference for {$mode delphi} or has -Mdelphi on their defaults.
And the explicit use of AnsiStrings or {$H+} is probably preferable to the old Pascal short string, amirite!? 😉
I totally understand that at an early stage of coming from Delphi to Free Pascal, these are the details we can miss.
Cheers,
Gus
Hey Nicolas(@NDXDeveloper),
On this file:
FileFind/src/findfile.pas
Line 17 in dd20778
You're missing the
{$mode objfpc}{$H+}.Not sure if this has caused problems in your code.
I'm not completely sure if you have the
-Mflag setup on Lazarus. Even if you have, this could break when another person tries to compile the code and it has a preference for{$mode delphi}or has-Mdelphion their defaults.And the explicit use of
AnsiStringsor{$H+}is probably preferable to the old Pascal short string, amirite!? 😉I totally understand that at an early stage of coming from Delphi to Free Pascal, these are the details we can miss.
Cheers,
Gus