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-05 19:38:33


#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@…):

 Hmm, I am puzzled.

 Here are some more information. I am trying to build on two different 64
 bit systems. An up to date Ubuntu and a legacy Debian Lenny system. The
 legacy Debian system is the reason to use BOOST_NO_STD_LOCALE. But this
 old system is unfortunately my target system 8-(

 Okay, here are my findings, starting with the Ubuntu system (Ubuntu 11.10
 (GNU/Linux 3.0.0-16-generic x86_64)):

 Compiling svn trunk (revision r76903, 2012-02-05):
 - cd boost-trunk
 - (./bootstrap.sh)
 - ./b2 clean
 - ./b2 toolset=gcc cxxflags=-DBOOST_NO_STD_LOCALE --with-test stage

 GCC version (gcc --version):
 - gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1

 These are the installed STL headers (dpkg -l '*stdc++*-dev'):
 - libstdc++6-4.6-dev, 4.6.1-9ubuntu3, GNU Standard C++ Library v3
 (development files)

 This is the only installed libstdc++. (There was an old one installed, but
 I have removed it and tried again.)



 Now switching to ancient Debian Lenny system. But the outcome is the same.

 Executing again:
 - ./b2 clean
 - ./b2 toolset=gcc cxxflags=-DBOOST_NO_STD_LOCALE --with-test stage

 GCC version (gcc --version):
 - gcc (Debian 4.3.2-1.1) 4.3.2

 These are the installed STL headers (dpkg -l '*stdc++*-dev'):
 - libstdc++6-4.3-dev, 4.3.2-1.1

 I have no idea what the problem is. So I searched the web for char_type
 unexpected differences on 32 and 64 bit systems. I have included sstream
 in libs/test/src/logged_expectations.cpp, but nothing changed (on the
 Ubuntu system). Any pointers to solve this behavior are greatly
 appreciated.

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