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
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
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
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
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
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