Giter Club home page Giter Club logo

Comments (21)

synopse avatar synopse commented on June 26, 2024

Did you try with the latest trunk revision?

from mormot2.

Uefi1 avatar Uefi1 commented on June 26, 2024

Oh, sorry, not version 2.2, but the latest one, if downloaded via github>code>download

from mormot2.

synopse avatar synopse commented on June 26, 2024

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.

Uefi1 avatar Uefi1 commented on June 26, 2024

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.

synopse avatar synopse commented on June 26, 2024

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.

Uefi1 avatar Uefi1 commented on June 26, 2024

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.

Uefi1 avatar Uefi1 commented on June 26, 2024

Hi, it looks like the latest release that compiled without this error is b546540

from mormot2.

synopse avatar synopse commented on June 26, 2024

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.

Uefi1 avatar Uefi1 commented on June 26, 2024

Or maybe the binaries do not fit the latest library and that’s why the error occurs?

from mormot2.

synopse avatar synopse commented on June 26, 2024

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.

Uefi1 avatar Uefi1 commented on June 26, 2024

Can you somehow fix this ?

from mormot2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.