
19 Dec
2007
19 Dec
'07
11:56 a.m.
Hi, I have a similar problem to the one below. http://lists.boost.org/boost-users/2007/12/32679.php When I try to create a wdirectory_iterator on a wpath I get a segmentation fault. Sample code: #include <iostream> #include <boost/filesystem/config.hpp> #include <boost/filesystem/operations.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/program_options.hpp> #include <boost/scoped_array.hpp> main() { boost::filesystem::wpath wp_t2(L"/"); std::locale::global(std::locale("")); boost::filesystem::wdirectory_iterator wd_1(wp_t2); } I am using boost version 1.34.1 on fedora 7. Can anyone help? Thanks Adam