#1 2022-03-07 04:26:45

Prometeus
Member
From: USA
Registered: 2020-11-20
Posts: 46

Error in mormot.core.buffers

When I tried recompiling a code using the latest mORMot 2 source code I got the following error:

[dcc32 Error] mormot.core.buffers.pas(2228): E2169 Field definition not allowed after methods or properties

Delphi 11

Last edited by Prometeus (2022-03-07 04:49:02)

Offline

#2 2022-03-07 07:13:50

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 239
Website

Re: Error in mormot.core.buffers

Bad compiler message, problem is, that Delphi expects reintroduce; before overload;, not thereafter. Lines 2228 and 2230.

Offline

#3 2022-03-07 07:15:01

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

Re: Error in mormot.core.buffers

You are right.

Should be fixed by https://github.com/synopse/mORMot2/commit/7a94032e

Offline

Board footer

Powered by FluxBB