Re: [Mingw-w64-public] Various std::experimental::filesystem errata

2017-07-03 Thread niXman
Riot 2017-07-04 00:25: Sure, but they're embarassingly trivial, as my email suggests. // build with g++ test_temp_path.cpp -lstdc++fs #include #include auto main()->int { std::cout << "Temp dir: \"" << std::experimental::filesystem::temp_directory_path() << "\"" << std::endl; return EXI

Re: [Mingw-w64-public] Various std::experimental::filesystem errata

2017-07-03 Thread niXman
Ruben Van Boxem 2017-07-04 09:22: Hi, What GCC version is this? 7.1 Where does the filesystem code come from (patch, upstream, ...)? It might be incomplete and this error may just be the library telling you it's not implemented. https://github.com/niXman/mingw-builds/blob/master/patches

Re: [Mingw-w64-public] Various std::experimental::filesystem errata

2017-07-03 Thread Ruben Van Boxem
Op 3 jul. 2017 11:27 p.m. schreef "Riot" : Sure, but they're embarassingly trivial, as my email suggests. // build with g++ test_temp_path.cpp -lstdc++fs #include #include auto main()->int { std::cout << "Temp dir: \"" << std::experimental::filesystem::temp_directory_path() << "\"" << std::e

Re: [Mingw-w64-public] Various std::experimental::filesystem errata

2017-07-03 Thread Riot
Sure, but they're embarassingly trivial, as my email suggests. // build with g++ test_temp_path.cpp -lstdc++fs #include #include auto main()->int { std::cout << "Temp dir: \"" << std::experimental::filesystem::temp_directory_path() << "\"" << std::endl; return EXIT_SUCCESS; } Temp dir: "t

Re: [Mingw-w64-public] Various std::experimental::filesystem errata

2017-07-03 Thread niXman
Riot 2017-07-03 20:04: I came across two fairly major inconsistencies with std::experimental::filesystem support today. One is that std::experimental::filesystem::temp_directory_path returns empty every time, with "unknown error." The other is that std::experimental::filesystem::remove silently

[Mingw-w64-public] Various std::experimental::filesystem errata

2017-07-03 Thread Riot
I came across two fairly major inconsistencies with std::experimental::filesystem support today. One is that std::experimental::filesystem::temp_directory_path returns empty every time, with "unknown error." The other is that std::experimental::filesystem::remove silently fails to delete anything