Re: [Boost-bugs] [Boost C++ Libraries] #10205: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10205: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-16 19:01:21


#10205: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid
-------------------------------+-------------------------
  Reporter: sleary@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.55.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by sleary@…):

 the issue is that wstring is used in unique path for POSIX targets. Which
 to me seems wrong but i'd bet there is a good reason for it. If i revert
 everything back to std::string in unique path and use a char type instead
 then it all works fine on Solaris 10. I'm guessing this is probably not
 something we'd want as a standard code path so perhaps we could have some
 sort of build flag for OSes that have issues with wchar?

 The issue seems to be something to do with the conversion from std::string
 to std:wstring. It only seems to work on Solaris 10 when LC_ALL=C. I'll
 attach a patch too.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10205#comment:1>
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:16 UTC