[Lazarus] LazSerial from OLPM, is it working on Linux?
I was under the assumption that LazSerial, which is available from
Online Package Manager in the Lazarus IDE is crossplatform.
But it seems like this is not the case, at least not for Raspbian
Buster as target.
I have worked on porting a project in Windows (Delphi 2007) to
FPC/Lazarus on Windows in order to then move to Linux.
I am using FPC 3.0.4/Lazarus 2.0.8 on Windows and Raspbian Buster.
I have replaced the AsyncPro serial port with LazSerial.
What happens is that after I was done moving from Delphi 2007 to
FPC/Lazarus in Windows 10 I went to my RPi4 installation and used OLPM
to install the LazSerial package there, but it failed!
During the compile of the package the process stops with errors
lazsynaser.pas(252,15) Error: Identifier not found "B500000"
lazsynaser.pas(252,22) Error: Illegal expression
lazsynaser.pas(253,14) Error: Identifier not found "B576000"
lazsynaser.pas(253,21) Error: Illegal expression
... the list continues...
The section of code in the source file generating the errors looks