Coder Social home page Coder Social logo

Comments (6)

dherkova avatar dherkova commented on August 17, 2024

Yes, I tried with the new version dherkova/SimKernel@de82d1eb0d0a76860b46b2ce4cdf3865101d654 . Actually you might be able to reproduce the issue if you compile with -stdlib=libc++ in your CFLAGS. The errors should appear before any calls to boost or gsl are made.

from simkernel.

ChristophKirst avatar ChristophKirst commented on August 17, 2024

Hi, i am only having an Mac OS multiprocessor machine here on which i am running long simulations,
everything compiles perfectly on Mac OS 10.5.8 after i changed the computer time readout routine, I dont
have a new Mac OS at hand to test compilation there unfortunately...

from simkernel.

dherkova avatar dherkova commented on August 17, 2024

Ok, some updates. I managed to replicate the issue in an x86_64 ubuntu-based system compiling with clang and libc++.
But most importantly, I think I fixed the issue. It seems that libc++ doesn´t allow forward declarations involving the std library. I moved the definition of the class ExpressionPtr before typedef str::deque<ExprPtrT> ExprArgT; and the issue appears to be fixed. I will check again tomorrow on OS X and pull in case it also works there.

from simkernel.

ChristophKirst avatar ChristophKirst commented on August 17, 2024

the error message sounded like this, so seems to be a valid fix, might make the code less ordered, but ok...

from simkernel.

dherkova avatar dherkova commented on August 17, 2024

Ok, issue solved!
Since it messes up the code a little bit and you might think of a better solution I just created a branch on my fork. See the commit here: dherkova/SimKernel@be928f3c17cbd0ad9df3cb3195bb0a11cc224b38

from simkernel.

ChristophKirst avatar ChristophKirst commented on August 17, 2024

merge should have fixed this issue now...

from simkernel.

Related Issues (8)

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.