You are not logged in.
Pages: 1
Hi Ab,
I recently decided to switch much of my server environment from Win64 to Linux, and began converting my various mORMot systems from Delphi to NewPascal as a first step. If they worked under NewPascal I figured it would be an easier upgrade to Linux. NP doesn't support Linux at this time, but it would force me to be FPC compatible and that's half the battle.
I noticed one compatibility issue with the latest SynPDF and NewPascal/Win32, it doesn't compile because there are the wrong number of arguments to the function which opens WMF files. Just try to compile, you'll get the error.
Anyways I set up my FPC 3.0.4 environment with Lazarus 1.8.4 (I believe both are the latest) and yesterday's nightly mORMot build (June 30) on a Centos 7 system. However, it can't compile any mormot app (eg. TestSQL3.pas) because I get an error that TypInfo.PRecInitData does not exist, on line 92 of SynFPCTypInfo.pas. Error: Error in type definition.
type
/// some type definition to avoid inclusion of TypInfo in main SynCommons.pas
PRecInitData = TypInfo.PRecInitData;
I thought you'd want to know about this. If I am not running the preferred Linux/FPC/Lazarus environment, please correct me.
Thanks
Erick (Canada)
Offline
Hmmm, given the pointer to use fpcupdeluxe, I used it. I tried to upgrade to 3.1.1 but it left me with 3.0.4, and indicated to add mormot, and still get the error when compiling.
Erick
Offline
Thanks.
Offline
Pages: 1