Skip to content
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

add support for experimental filesystem - fixes jasonroelofs/rice/197 #198

Conversation

thekendalmiller
Copy link

@thekendalmiller thekendalmiller commented Jan 16, 2024

Fixes #197

WIP - still doesn't work on amazon linux consitently?

@@ -126,5 +126,5 @@ def cpp_command(outfile, opt="")
if IS_DARWIN
have_library('c++')
elsif !IS_MSWIN
have_library('stdc++')
have_library('stdc++fs')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be OK to always do, even on newer GCC like 11.4 from Ubuntu 22.04

@thekendalmiller thekendalmiller force-pushed the support_experimental_fs branch from cfd1096 to 711f9b3 Compare January 16, 2024 15:00
@thekendalmiller thekendalmiller changed the title add support for experimental filessytem - fixes jasonroelofs/rice/197 add support for experimental filesytem - fixes jasonroelofs/rice/197 Jan 16, 2024
@thekendalmiller thekendalmiller changed the title add support for experimental filesytem - fixes jasonroelofs/rice/197 add support for experimental filesystem - fixes jasonroelofs/rice/197 Jan 16, 2024
@thekendalmiller thekendalmiller force-pushed the support_experimental_fs branch from 711f9b3 to 2bef239 Compare January 16, 2024 15:01
@thekendalmiller
Copy link
Author

#include <version> is only in c++20

Using it to detect what's supported in c++17 doesn't help when c++17 doesn't have version.

back to the drawing board...sorry for the noise

@jasonroelofs
Copy link
Collaborator

I don't think you need #include <version>, I'm not sure what that is supposed to mean in the SO answer. I have similar changes locally that I'll push to a branch for you to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fatal error: filesystem: No such file or directory
2 participants