#1 2018-03-09 14:19:02

TheBlacksheep
Member
Registered: 2018-03-09
Posts: 3

Compilation error in D2007

Hi

I've just tried the latest source from github and getting an error on line 30428 in mORMot.pas.

[DCC Error] mORMot.pas(30428): E2441 Inline function declared in interface section must not use local symbol 'Deref'

This is in Delphi2007 - is there a quick fix I can do locally?

TheBlackSheep

Offline

#2 2018-03-09 18:47:22

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

Re: Compilation error in D2007

I'm not able to reproduce it. I've tested with Delphi 2007 and latest 1.18.4411 revision:

Run on: Windows 10 64bit (10.0.16299) with code page 1252
    4 x Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz (x86)
Using mORMot 1.18.4411 FTS3
    TSQLite3LibraryStatic 3.22.0 with internal MM
Generated with: Delphi 2007 compiler

Time elapsed for all tests: 77.92s
Performed 2018-03-09 19:48:57 by User on ACER

Total assertions failed for all test suits:  0 / 39,852,225
! All tests passed successfully.

This may be a local compiler/IDE bug. Try to make a build, delete all .dcu and restart the IDE.

Online

#3 2018-03-10 10:28:25

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: Compilation error in D2007

mORMot v. 4411 - passes the database test with ZEOS 7.3 svn 4332(Delphi 2007, Delphi 10 Seattle Win32/Win64).
http://zeoslib.sourceforge.net/viewtopi … 736#p92736

Michal

Offline

Board footer

Powered by FluxBB