Boost logo

Boost Users :

From: Adam Panayis (adam_at_[hidden])
Date: 2007-12-19 06:56:00


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net