You are not logged in.
Pages: 1
Compilation fails with error message: "[dcc32 Fatal Error] mormot.core.variants.pas(27): F2047 Circular unit reference to 'mormot.core.base'".
I found, that it is caused by the "Unit scope names" project option: "System;Xml;Data;Datasnap;Web;Soap;mormot.core".
After deleting "mormot.core", it compiles. I don't know why, so I reported the problem, but don't know wether it is a valid solution.
Offline
Sorry. Don't waste your valuable time with it.
It seems to me unrelated to Mormot, it is a reproducible IDE bug:
When opening "Project02Server.dpr", a "Project02Server.dproj" file is automatically generated by the IDE,
and it contains a specific line that contains "mormot.core".
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;mormot.core;$(DCC_Namespace)</DCC_Namespace>
<PropertyGroup Condition="'$(Base)'!=''">
<DCC_E>false</DCC_E>
<DCC_F>false</DCC_F>
<DCC_K>false</DCC_K>
<DCC_N>false</DCC_N>
<DCC_S>false</DCC_S>
<DCC_ImageBase>00400000</DCC_ImageBase>
<SanitizedProjectName>Project02Server</SanitizedProjectName>
<VerInfo_Locale>1038</VerInfo_Locale>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;mormot.core;$(DCC_Namespace)</DCC_Namespace>
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
<Icns_MainIcns>$(BDS)\bin\delphi_PROJECTICNS.icns</Icns_MainIcns>
</PropertyGroup>
Offline
Pages: 1