Re: [Boost-bugs] [Boost C++ Libraries] #6320: creation of path from std::string on Windows (VC10) crashes (access error)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6320: creation of path from std::string on Windows (VC10) crashes (access error)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-23 15:10:45


#6320: creation of path from std::string on Windows (VC10) crashes (access error)
-------------------------------+------------------------
  Reporter: aris.basic@… | Owner: bemandawes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.51.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+------------------------

Comment (by Vadim Panin):

 Have not found "boost-root/libs/filesystem/doc/reference.html#path-Usage"
 section you are referring to. The following workaround works for me:
 {{{
 #ifdef _MSC_VER
                 // fix for https://svn.boost.org/trac/boost/ticket/6320
                 boost::filesystem::path::imbue( std::locale( "" ) );
 #endif
 }}}
 if placed in main().

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6320#comment:9>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC