Web lists-archives.com

Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test)




On 05/06/2018 11:54 PM, Ross Smith wrote:
> 
> I've updated gcc-core, gcc-g++, and libstdc++ to 7.3.0-2,
> but the filesystem library still doesn't seem to be working:
> 
> #include <experimental/filesystem>
> #include <iostream>
> using namespace std::experimental;
> int main() {
>     filesystem::path p("expfs.cpp");
>     std::cout << p.string() << " " << filesystem::exists(p) << "\n";
> }

Try add -lstdc++fs?

Attachment: signature.asc
Description: OpenPGP digital signature