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

[BUG] filesystem: No such file or directory #322

Closed
0NG opened this issue Feb 7, 2021 · 4 comments
Closed

[BUG] filesystem: No such file or directory #322

0NG opened this issue Feb 7, 2021 · 4 comments

Comments

@0NG
Copy link

0NG commented Feb 7, 2021

Bug may exist in this line.

I use SQLiteCpp on WSL (Ubuntu 18.04 and Ubuntu 20.04) and compile it with --std=c++17. However, it always raises an error filesystem: No such file or directory.

After debugging, I found that __cplusplus = 201703, so (__cplusplus >= 201703L) && ((!defined(__MINGW32__) && !defined(__MINGW64__)) || (__GNUC__ > 8)) must be true. But, my g++ version is 7.5 and I know from this answer that 'GCC v7 still does not implement <filesystem>'.

Maybe this is a bug? I haven't test it on a real Linux system.

@guoh27
Copy link
Contributor

guoh27 commented Nov 25, 2021

+1

@SplitGemini
Copy link

gcc 7.5 not has std::filesystem but std::experimental::filesystem
see nlohmann/json/pull/3101 and nlohmann/json/issues/3090, please fix

@paulocoutinhox
Copy link
Contributor

+1

@SRombauts
Copy link
Owner

Fixed quite some time ago by the second PR

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

No branches or pull requests

5 participants