Code Monkey home page Code Monkey logo

Comments (10)

susilehtola avatar susilehtola commented on August 17, 2024 1

Migrating to CMake would probably make a lot of things easier..

from ctf.

jeffhammond avatar jeffhammond commented on August 17, 2024 1

Switching to CMake when the problem requires a 1-line fix for each compiler type (and almost all of them use GCC-compatible -std= anyways) is killing a mosquito with nuclear weapons.

I will write the trivial fix in configure. CMake is going to create an endless nightmare of maintenance.

from ctf.

covitof avatar covitof commented on August 17, 2024

I have run into the same problem. I'm not entirely sure what the problem is and what it is related to, but I assumed it was an issue with newer versions of the compiler and tried 'CXXFLAGS=-std=c++14' which solved the problem for me.

from ctf.

susilehtola avatar susilehtola commented on August 17, 2024

Right. The problem is that configure does not set the C++ standard...

from ctf.

raghavendrak avatar raghavendrak commented on August 17, 2024

The tensor_name_less::operator() should be const (in interface/term.h and interface/term.cxx). Comparison operators should be constant, and I think they are being enforced in this compiler. Will submit a pull request to fix this.

from ctf.

susilehtola avatar susilehtola commented on August 17, 2024

Switching to CMake when the problem requires a 1-line fix for each compiler type (and almost all of them use GCC-compatible -std= anyways) is killing a mosquito with nuclear weapons.

But hey, at least the bug is dead!
[Also, Finland used to host world championships of mosquito swatting.]

from ctf.

raghavendrak avatar raghavendrak commented on August 17, 2024

@susilehtola Was wondering if the pull request mentioned here fixed the issue for c++11?

from ctf.

susilehtola avatar susilehtola commented on August 17, 2024

@raghavendrak I tried, but the PR doesn't give a clean patch

from ctf.

raghavendrak avatar raghavendrak commented on August 17, 2024

@susilehtola sorry there was an issue in my fork. Have fixed the same. Can you try it now?

from ctf.

susilehtola avatar susilehtola commented on August 17, 2024

@susilehtola sorry there was an issue in my fork. Have fixed the same. Can you try it now?

fix confirmed

from ctf.

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.