boost::filesystem: Problem with exists() and wpath (Linux)
9 Dec
2007
9 Dec
'07
7:05 p.m.
Hello
Whenever I try to use exists() on a wpath, I get an exception. I'm running
Arch Linux, with Boost 1.34.1 and Gcc 4.2.2, if it matters.
Here is some code:
#include "boost/filesystem.hpp"
using namespace boost::filesystem;
int main()
{
wpath test(L"whatever/path");
exists(test);
return 0;
}
Which compiles fine, but gives me this error message on runtime:
terminate called after throwing an instance of
'boost::filesystem::basic_filesystem_error
6185
Age (days ago)
6185
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andreas Henriksson