synopse / mORMot2

OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
https://synopse.info
Other
485 stars 122 forks source link

Delphi7: [Fatal Error] mormot.core.data.pas(5801): Internal error: C13081 #222

Closed Oumlike1 closed 9 months ago

Oumlike1 commented 9 months ago

Hello When trying to compile the source code with Delphi 7 I getting this error: [Fatal Error] mormot.core.data.pas(5738): Internal error: C13081 this error appears in 2 functions: _BC_Ord & _BC_Float

function _BC_Ord(A, B: pointer; Info: PRttiInfo; out Compared: integer): PtrInt; begin // result := RTTI_ORD_COMPARE[Info^.RttiOrd](A, B, Info, Compared); end;

if i put Result:=.. in comment it works,

Any help or recommendation will be appreciated. Thanks!

synopse commented 9 months ago

I am not able to reproduce the issue with Delphi 7 here.

Compilation works:

***** mORMot 2 integration using Delphi 7 for win32 *****
d:\dev\lib2\test
Borland Delphi Version 15.0
Copyright (c) 1983,2002 Borland Software Corporation
538993 lines, 6.48 seconds, 4047988 bytes code, 300769 bytes data.

Ensure you have all the updates for Delphi 7.1.