#1 2018-06-06 05:29:15

romerfel
Member
Registered: 2018-06-06
Posts: 2

Can't compile the TestSQL3 package

I try to compile the TestSQL3 package from the current version of the mORMot framework, but I always get some errors.

The first one is in the unit mORMot.pas (line 30579):
> with Deref(CT^.ParentInfo)^ do

The compiler is saying this:
"E2441 Im interface-Abschnitt deklarierte Inline-Funktione darf kein lokales Symbol 'Deref' verwenden"...

I am using RAD Studio 10.1 Berlin.

Does sombody faced the same issue or does somebody know how I can get it running?

Thanks in advance.

Offline

#2 2018-06-06 07:39:28

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

Re: Can't compile the TestSQL3 package

No problem with Delphi 10.1 Berlin (Starter) on my PC.
It compiles fine, and regression tests too:

Run on: Windows 10 64bit (10.0.17134) - codepage=1252
    4 x Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz (x86)
Using mORMot 1.18.4598
    TSQLite3LibraryStatic 3.24.0 with internal MM
Generated with: Delphi 10.1 Berlin 32 bit compiler

Time elapsed for all tests: 1m36
Performed 2018-06-06 09:36:36 by User on ACER

Total assertions failed for all test suits:  0 / 40,601,798
! All tests passed successfully.

Ensure you don't mess with compilation paths, and that the Synopse.inc file is not duplicated.
Also make a build, deleting all previous .dcu.

Sounds like a duplicate of https://synopse.info/forum/viewtopic.ph … 035#p26035
and https://synopse.info/forum/viewtopic.php?id=4006
which are Delphi compiler bugs...

Offline

#3 2018-06-06 08:21:52

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

Re: Can't compile the TestSQL3 package

I tried to circumvent the DeRef() function inlining compiler error by https://synopse.info/fossil/info/58d63eddc1

Offline

#4 2018-06-06 09:31:44

romerfel
Member
Registered: 2018-06-06
Posts: 2

Re: Can't compile the TestSQL3 package

thank you very much for this hint - the problem was caused by an existing "Synopse.inc" from the SyncPDF package. everything works now :-)

Offline

Board footer

Powered by FluxBB