#1 2015-07-04 07:59:36

terryc
Member
Registered: 2015-07-04
Posts: 16

mormoti18n does not compile under Lazarus+FPC?

Line 893 does not compile:
"if ResStringRec.Identifier<64*1024 then begin"

with message "mORMoti18n.pas(893,19) Error: Illegal qualifier"

There are many others like this one.

Is there a compiler option i should set?

Environment: Lazarus + FPC 2.7.1

Offline

#2 2015-07-04 09:43:07

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

Re: mormoti18n does not compile under Lazarus+FPC?

No, this part of the UI is Windows + VCL specific.

Offline

#3 2015-07-05 00:06:10

terryc
Member
Registered: 2015-07-04
Posts: 16

Re: mormoti18n does not compile under Lazarus+FPC?

So? It seems to me Lazarus + FPC is quite capable of generating Windows code...
There is an i18n implementation on Lazarus.

I would suggest that compiler-specific (aka Delphi) code should be separated from the main mORMot sources. For the moment, it's not possible to distinguish easily what is cross-platform and usable anywhere to what is specific to a given platform and compiler.

BR

Last edited by terryc (2015-07-05 00:09:20)

Offline

Board footer

Powered by FluxBB