You are not logged in.
Pages: 1
If you try to compile \mORMot2\test\mormot2tests.dpr, D2007 IDE compiler will hang in mormot.core.mustache.pas
It's not the project: when trying to anything that uses any of:
mormot.core.mustache.pas
mormot.net.rtsphttp.pas
mormot.db.sql.pas
the D2007 IDE compiler will hang
I don't know if there are more units that hangs
If it is worth anything: investigating the problem on mormot.net.rtsphttp.pas, I found the problem related to the class field:
fPendingGet: TRawUTF8List;
any line using it would hang the compiler, except for the declaration itsef, and fPendingGet.Free
Hope it helps
Last edited by Javierus (2020-11-26 11:00:28)
Offline
I've never used the command line compiler; at least I don't remember doing it in the last 20 years. If you paste here the exact command line you have used, I can try it here
Btw, editing the mormot.net.rtsphttp.pas from the IDE, and then closing the file, was also hanging the whole D2007 IDE
Offline
I cannot confirm this use case. Delphi 2007 with all updates. mORMot2 commit 2.0.1 (GitHub commit 536).
I can compile mormot2tests.exe without problems and also edit, save and close the file mormot.net.rtsphttp.pas in the IDE.
Maybe you have installed IDE extensions?
Can you give me a step by step guide?
Bis bald...
Thomas
Offline
* Clean D2007 install
* Clean computer
* New package
* without DCUs, .local, .identcache
it happens few, random times
But if I make a package with all three of mormot.core.mustache, mormot.db.sql,mormot.net.rtsphttp.pas, and any other units you want, it compiles fine
Following this rule and recreating the *.dpk and *.dproj on the first computer, it all works fine
So this "issue" is SOLVED
Offline
Pages: 1