You are not logged in.
Hi!
I'm new to mormot2 and hence to this forum.
When trying to compile the source code with Delphi 7 I keep on getting this error:
[Fatal Error] mormot.core.data.pas(5801): Internal error: C13081
The error points me to:
function _BC_Ord(A, B: pointer; Info: PRttiInfo; out Compared: integer): PtrInt;
begin
result := RTTI_ORD_COMPARE[Info^.RttiOrd](A, B, Info, Compared);
end;
^ right here
But to me this smells like something not related to the code. The error comes when the compilation slitghly exceeds 79k lines. I have searched the internet for the C13081 internal error just to see that the error is pretty rare and the posts I've found cast no light.
Any help or recommendation will be appreciated.
Thanks!
Offline
I am not able to reproduce the problem here:
***** mORMot 2 integration using Delphi 7 for win32 *****
Borland Delphi Version 15.0
Copyright (c) 1983,2002 Borland Software Corporation
528600 lines, 5.97 seconds, 2214040 bytes code, 199713 bytes data.
Try to rebuild all units, i.e. by deleting any temporary .dcu.
Offline
Thanks, ab! I tried that and the result was the same.
Any other thoughts? Anyone?
Offline
The Delphi version can be checked in Delphi, in the menu, Help, About
I had that error and other errors using mormot.lib.win7zip, because I had Delphi Version 7.0 (Build 4.453), indicating that the update was not applied.
I downloaded the update available here
I installed the update and checked again and it had changed to Delphi Version 7.0 (Build 8.1), with that update all the bugs were gone.
Arnaud Bouchez and collaborators thank you very much for all the work you do.
Offline
Hi
Me too i have the same error on 2 function (_BC_Ord & _BC_Float) after update to mORMot 2.1 stable.
if i put Result:=.. in comment it works, but these 2 functions will no longer play their role.
Offline