Re: [Boost-bugs] [Boost C++ Libraries] #6638: convert_aux fails while intializing global variable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6638: convert_aux fails while intializing global variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-25 17:43:24


#6638: convert_aux fails while intializing global variable
-------------------------+-------------------------------------------------
  Reporter: john doe | Owner: bemandawes
  <johndoe> | Status: assigned
      Type: Bugs | Component: filesystem
 Milestone: To Be | Severity: Problem
  Determined | Keywords: filesystem path convert wide/narrow
   Version: Boost | string
  1.59.0 |
Resolution: |
-------------------------+-------------------------------------------------

Comment (by Leinad):

 I tried it and it seems to work.

 In path.cpp in the unnamed namespace (the last one for "local helpers") I
 added {{{std::locale def_locale = default_locale();}}}. Also in the
 unnamed namespace I altered {{{std::locale& path_locale()}}}: it simply
 returns the newly added {{{def_locale}}}. That's it. No crash any more.

 I hope this helps to close this 5-year old bug.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6638#comment:12>
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-04-25 17:48:15 UTC