-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boost Filesystem fails to copy between volumes. Consider replacing with std::filesystem. #100
Comments
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
|
Any problem with going straight to compiling with c++17 ? I've forgotten if we have a 'policy' on that move @fcooper8472 ? |
@mirams How many of our users are using C++ compilers that cannot handle C++17? |
our what? |
See also #107 -- There's now a compelling reason to switch on C++17 features. |
…ore similar to C++17 std::filesystem names)
Will make https://github.com/Chaste/Chaste/tree/issue_100 into pull request when we're green |
Fixed by #115 |
Describe the bug
Boost Filesystem fails to copy between volumes. This is a known Boost bug: https://stackoverflow.com/questions/24209886/invalid-cross-device-link-error-with-boost-filesystem
To Reproduce
This may be specific to Boost 1.74.0 with /tmp and /home on different volumes:
Workaround
Change environment variable to give a different output location
Expected behaviour
Test should pass
System
Please provide relevant details of your system, such as:
The text was updated successfully, but these errors were encountered: