https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #10 from cqwrteur <unlvsur at live dot com> --- ../../../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:767:15: error: 'getcwd' was not declared in this scope; did you mean 'std::filesystem::__gnu_posix::getcwd'? 767 | if (getcwd(buf.get(), size)) | ^~~~~~ | std::filesystem::__gnu_posix::getcwd