#1 2019-02-14 21:39:37

ertank
Member
Registered: 2016-03-16
Posts: 168

Delphi 10.3.1 mORMot Compile fails

Hello,

I am on version 1.18.5037 of library.

When I try to compile on Delphi 10.3.1 targetting Win32 I get following error:

[dcc32 Error] SynCommons.pas(54244): E2029 Expression expected but 'END' found

I read following lines in conditionals starting at SynCommons.pas:54236

    {$elseif defined(VER320)}'Delphi 10.2 Tokyo'
    {$elseif defined(VER320)}'Delphi 10.3 Carnival'

10.3 compiler version should read VER330 according to below link:
http://docwiki.embarcadero.com/RADStudi … r_Versions

Once I modify that version number I can compile SynCommons.pas just fine.

Can anyone confirm, please?

Thanks & regards,
Ertan

Offline

#2 2019-02-15 04:10:18

Chaa
Member
Registered: 2011-03-26
Posts: 248

Re: Delphi 10.3.1 mORMot Compile fails

In 1.18.5037 there is

{$elseif defined(VER330)}'Delphi 10.3 Rio'
{$elseif defined(VER340)}'Delphi 10.4 Next'

See latests trunk on GitHub: https://github.com/synopse/mORMot

Offline

#3 2019-02-15 08:35:02

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

Re: Delphi 10.3.1 mORMot Compile fails

Chaa is right: the current trunk seems correct.

I guess Ertan version is outdated: there should be several SynCommons.pas in his IDE path, referring to a old one, not the latest.

Online

#4 2019-02-17 08:12:26

ertank
Member
Registered: 2016-03-16
Posts: 168

Re: Delphi 10.3.1 mORMot Compile fails

ab wrote:

Chaa is right: the current trunk seems correct.

I guess Ertan version is outdated: there should be several SynCommons.pas in his IDE path, referring to a old one, not the latest.

Absolutely, For a reason I seem to copy a SynCommons.pas in projects directory. My bad. Sorry.

Offline

Board footer

Powered by FluxBB