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

Re: [Mingw-w64-public] [PATCH] amended function prototype of function 'glob' in glob.h

2017-07-03 Thread Liu Hao
On 2017/7/3 19:04, Jannick wrote: Attached a tiny patch to glob.h which remedies a function prototype definition error thrown upon compilation. On one of cygwin's user lists I was deferred to this one here. I bumped into that issue when compiling with cygwin's i686-pc-mingw32. I am hoping t

[Mingw-w64-public] [PATCH] amended function prototype of function 'glob' in glob.h

2017-07-03 Thread Jannick
Attached a tiny patch to glob.h which remedies a function prototype definition error thrown upon compilation. On one of cygwin's user lists I was deferred to this one here. I bumped into that issue when compiling with cygwin's i686-pc-mingw32. I am hoping that this is the correct list to raise