On 10/22/2018 3:12 PM, Bo Berglund via Lazarus wrote:
I guess this might be a FPC difference to Delphi... How can I make FPC understand that this is a conditional it shall just ignore?
By first checking if you are compiling in FreePascal in the first place?
{$IFNDEF FPC} {$IF CompilerVersion >= 26} {Delphi XE5..} Fmt := TFormatSettings.Create; {$IFEND} {$IFEND} --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus