#1 2014-05-29 15:03:58

RalfS
Member
Registered: 2011-07-11
Posts: 57

Freepascal compilation issue with trunk

.
Compiling PDF\SynCommons.pas
SynCommons.pas(8475,14) Error: There is no method in an ancestor class to be ove
rridden: "FixupIdent(const AnsiString):AnsiString;"
SynCommons.pas(10995,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: d:\lazarus\fpc\2.7.1\bin\i386-win32\ppc386.exe returned an error exitcode

Offline

#2 2014-05-29 16:57:42

ComingNine
Member
Registered: 2010-07-29
Posts: 294

Re: Freepascal compilation issue with trunk

Right now only the "SynCrossPlatformJSON.pas" under "crossplatform" directory can be compiled with Free Pascal.

Offline

#3 2014-05-29 19:27:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Freepascal compilation issue with trunk

Now FPC compiles TestSQLite3.dpr, but it is not working yet.
A lot of fixes are still needed, mainly due to diverse RTTI low-level data structures...
sad

Offline

#4 2014-05-29 19:55:40

ComingNine
Member
Registered: 2010-07-29
Posts: 294

Re: Freepascal compilation issue with trunk

I can feel your pain ...

RTTI incompatibility is indeed the reason why several vendors shy away from FPC ...

Would it be possible you place the task on the FreePascal forum to seek for FPC experts' help or participation ?

Offline

#5 2014-06-02 14:13:44

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Freepascal compilation issue with trunk

ab, There must be HUGE work and it must take some time to get the entire mORMot compiled with FPC...


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#6 2014-06-04 08:01:51

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Freepascal compilation issue with trunk

I suppose we won't need big code modification.
We tried to be FPC ready since the beginning (e.g. not relying on FPC incompatible features like enhanced RTTI or Delphi units).

But we need to debug all regression tests for FPC, and do a lot of small fixes (sometimes with $ifdef FPC) to let the entire framework be compiled with FPC.

Then, once working on Windows with FPC, we should add cross-platform abilities.

Offline

#7 2014-06-04 08:08:45

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Freepascal compilation issue with trunk

And that will be one of the biggest things for Delphi developer who does web apps in the near future!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB