Giter VIP home page Giter VIP logo

Comments (5)

sebthom avatar sebthom commented on May 28, 2024

Does it compile if you enable full DCE?

<haxeflag name="-dce" value="full" />

from haxe-concurrent.

EliteMasterEric avatar EliteMasterEric commented on May 28, 2024

Compilation does succeed if DCE is set to full.

Since my project does utilize reflection, I will have to find a way to enable DCE on only this library (unless another fix is available that can be implemented on this repo).

from haxe-concurrent.

sebthom avatar sebthom commented on May 28, 2024

I don't think there is anything we can change here. I suspect that hxcpp is somehow broken and emits wrong C++ code for classes that extend abstract classes. So I guess for a fix you would need to report this issue to the hxcpp team.

You can try to use version 3.0.2 to see if it compiles, this version does not yet use abstract classes.

from haxe-concurrent.

EliteMasterEric avatar EliteMasterEric commented on May 28, 2024

The project successfully builds when reverting to haxe-concurrent version 3.0.2. Since the only functional change is the addition of SynchronizedMap, this is the solution I will be moving forward with.

As you suggested, I reported the issue at HaxeFoundation/haxe#10861

EDIT: Switching to 3.0.2, build works now in my main project. Will leave this issue open until the latest available version of this library works.

from haxe-concurrent.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If the issue is still valid, please add a respective comment to prevent this issue from being closed automatically. Thank you for your contributions.

from haxe-concurrent.

Related Issues (17)

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.