Re: [Boost-bugs] [Boost C++ Libraries] #9182: Boost-filesystem std::runtime_error: locale::facet::_S_create_c_locale name not valid failure on Xamarin.Android

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9182: Boost-filesystem std::runtime_error: locale::facet::_S_create_c_locale name not valid failure on Xamarin.Android
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-08 17:52:43


#9182: Boost-filesystem std::runtime_error: locale::facet::_S_create_c_locale name
not valid failure on Xamarin.Android
-------------------------------------+------------------------
  Reporter: Shirley Gong <sgong@…> | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+------------------------

Comment (by Shirley Gong <sgong@…>):

 Replying to [comment:1 viboes]:
> Is this related to #8930 boost::path::root_directory() throws
 locale::facet::_S_create_c_locale name not valid?
> or #8352 Boost-filesystem std::runtime_error:
 locale::facet::_S_create_c_locale name not valid failure on OpenBSD?

 This is very similar to #8930 except it's happening on Android
 (particularly, when developing Android apps with Xamarin).

 Calling std::setlocale(LC_ALL, "C"); does not solve the problem. I had to
 call setenv("LANG", "C", 1); to get rid of the exception.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9182#comment:2>
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:14 UTC