GithubHelp home page GithubHelp logo

Comments (7)

jmpf avatar jmpf commented on August 17, 2024

We currently use -std=c++14 for compiling Chaste.

It's not clear if all the versions of C++ compilers in use will support the std::filesystem. Probably they all will but some may need #include <experimental/filesystem> rather than #include <filesystem> .

jmpf@csu15256:~$ cat temp.cc
#include <filesystem>
namespace fs=std::filesystem;

int main(){}
jmpf@csu15256:~$ g++ -std=c++17 temp.cc 
jmpf@csu15256:~$ g++ -std=c++14 temp.cc 
temp.cc:2:19: error: ‘filesystem’ is not a namespace-name
    2 | namespace fs=std::filesystem;
      |                   ^~~~~~~~~~

from chaste.

mirams avatar mirams commented on August 17, 2024

Any problem with going straight to compiling with c++17 ? I've forgotten if we have a 'policy' on that move @fcooper8472 ?

from chaste.

jmpf avatar jmpf commented on August 17, 2024

@mirams How many of our users are using C++ compilers that cannot handle C++17?

from chaste.

mirams avatar mirams commented on August 17, 2024

our what?

from chaste.

jmpf avatar jmpf commented on August 17, 2024

See also #107 -- There's now a compelling reason to switch on C++17 features.

from chaste.

jmpf avatar jmpf commented on August 17, 2024

Will make https://github.com/Chaste/Chaste/tree/issue_100 into pull request when we're green

from chaste.

jmpf avatar jmpf commented on August 17, 2024

Fixed by #115

from chaste.

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.