Re: [Boost-bugs] [Boost C++ Libraries] #6441: lexical_cast uses non existing std::basic_stringstream<char>::pptr when compiling with -DBOOST_NO_STD_LOCALE

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6441: lexical_cast uses non existing std::basic_stringstream<char>::pptr when compiling with -DBOOST_NO_STD_LOCALE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-07 13:30:10


#6441: lexical_cast uses non existing std::basic_stringstream<char>::pptr when
compiling with -DBOOST_NO_STD_LOCALE
-----------------------------------------+----------------------------------
  Reporter: leutloff@… | Owner: apolukhin
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lexical_cast
   Version: Boost 1.48.0 | Severity: Regression
Resolution: | Keywords:
-----------------------------------------+----------------------------------

Comment (by leutloff@…):

> Why are you explicitly specifying it?

 std::locale("") throws an exception on the old system (libstdc++6, 4.3.2).
 Therefore I must ensure that locale is not instantiated. Defining
 BOOST_NO_STD_LOCALE avoided the exception for some of the boost libraries
 I am using (I suppose it was thread and regex). I have read that defining
 BOOST_NO_STD_LOCALE is the correct way to avoid the std::locale
 instantiation. But I can not find the documents for reference at the
 moment 8-(

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6441#comment:5>
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:08 UTC