Comments (21)
Please try with this above commit.
from mormot2.
Did you try with the latest trunk revision?
from mormot2.
Oh, sorry, not version 2.2, but the latest one, if downloaded via github>code>download
from mormot2.
This is a compiler bug, specific to XE2.
I don't have this compiler installed, so I can't fix it. It work on my side with Delphi 2010 and XE4.
from mormot2.
This is a compiler bug, specific to XE2. I don't have this compiler installed, so I can't fix it. It work on my side with Delphi 2010 and XE4.
You know, I once encountered such a bug, the problem was in the inline directive
from mormot2.
Yes, I know but without a compiler, I don't know how to circumvent it.
You could try to disable some "inline;" in the source code, perhaps not even in mormot.core.json but in mormot.core.rtti.
Try first to add {$undef HASSAFEINLINE} in the beginning of the unit.
from mormot2.
Damn, there’s something deeper there, I tried as you said, but it didn’t work ( I can’t even track this error with a debugger (
from mormot2.
Hi, it looks like the latest release that compiled without this error is b546540
from mormot2.
I don't get how 30b619c2813a3 (the very next commit) could be invalid for Delphi XE2. It is 64-bit specific code, which is not used by XE2 at all.
from mormot2.
Or maybe the binaries do not fit the latest library and that’s why the error occurs?
from mormot2.
URW errors are a pure Delphi compiler bugs.
It is just a bug of the compiler which is not able to compile the code.
Nothing to do with static linking of external librairies.
from mormot2.
Can you somehow fix this ?
from mormot2.
Without the compiler itself, I can't.
from mormot2.
Try downloading Delphi XE2 ?
from mormot2.
Hello, I actually found the latest version that still compiles on Delphi XE2, this one:
0f65917
from mormot2.
What if you change
procedure AddU(Value: PtrUInt);
into
procedure AddU(Value: cardinal);
in mormot.core.text ?
from mormot2.
No, unfortunately it didn’t help =(
from mormot2.
I was able to install a Delphi XE2 compiler.
First of all, I see no problem with Win32 target.
Only on Win64 I got this F2084 Internal Error: URW1147
.
I will try to investigate. Delphi is just buggy as hell.
It sounds linked to generics: https://stackoverflow.com/questions/9429484/what-should-i-do-about-an-internal-error-when-i-declare-a-generic-array-of-t
But even if I disable generics... it does not compile...
from mormot2.
@Uefi1
Did you install all available updates on your Delphi XE2? That is UP4+HF1?
https://blog.marcocantu.com/blog/delphi_xe2_hotfix_4_1.html
from mormot2.
Please try with this above commit.
Yes, this commit compiles successfully, it worked, thank you very much =)
from mormot2.
Hurray, the latest version now compiles if you download it from github>Code>download zip thanks for the correction !
from mormot2.
Related Issues (20)
- TSimpleClient can't get the correct response HOT 19
- TSynSystemTime returns wrong local time HOT 6
- Suggest: TSynLog.ComputFileName add localtime option HOT 1
- WebSocket Client Is not disconnecting HOT 9
- Variant and TSynDictionary HOT 1
- CrossCompile failed HOT 7
- test.soa.core.pas(1789): E2003 Undeclared identifier: 'DefaultRotate' HOT 13
- Feature request: Create embedded file for PDF HOT 3
- PDF/A validation failed (no OutputIntent for RGB) HOT 3
- DynArrayLoadJson does not work like Delphi in FPC HOT 2
- How to add custom XMP metadata HOT 2
- Enhancement request: Display OutputIntent on Acrobat Reader "Standards" tab
- The correct method of TProcessInfo.PerSystem in Linux HOT 1
- SQLite Extension HOT 1
- TSqlDBIbx - reading memo as string does not give the contents HOT 2
- Circular unit reference to 'variants' error. in delphi 12.1 HOT 2
- TRWLock Access violation when using the ASM version of the code HOT 3
- JSON Array Bug HOT 2
- Is there any future plan to support HTTP Server side File Upload? HOT 6
- OpenAPI Multiline description comment bug HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mormot2.