[Boost-bugs] [Boost C++ Libraries] #1598: [regex] 'showbase' : is not a member of 'std'

Subject: [Boost-bugs] [Boost C++ Libraries] #1598: [regex] 'showbase' : is not a member of 'std'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-23 11:53:54


#1598: [regex] 'showbase' : is not a member of 'std'
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: regex
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 The [http://stdcxx.apache.org/ stdcxx] is the another implementation of
 the STL (initially based on RogueWave STL).

     The following errors are encountered when running boost regression
 tests on msvc with stdcxx-4.2.0.

 {{{
 unicode_iterator_test.cpp
 ..\boost/regex/pending/unicode_iterator.hpp(119) : error C2039: 'showbase'
 : is not a member of 'std'
 ..\boost/regex/pending/unicode_iterator.hpp(119) : error C2065: 'showbase'
 : undeclared identifier
 ..\boost/regex/pending/unicode_iterator.hpp(119) : error C2039: 'hex' : is
 not a member of 'std'
 ..\boost/regex/pending/unicode_iterator.hpp(119) : error C2065: 'hex' :
 undeclared identifier
 }}}

 The proposed patch:

 {{{
 Index: boost/regex/pending/unicode_iterator.hpp
 ===================================================================
 --- boost/regex/pending/unicode_iterator.hpp (revision 42908)
 +++ boost/regex/pending/unicode_iterator.hpp (working copy)
 @@ -68,6 +68,7 @@
  #include <stdexcept>
  #ifndef BOOST_NO_STD_LOCALE
  #include <sstream>
 +#include <ios> // for std::showbase, std::hex
  #endif
  #include <limits.h> // CHAR_BIT
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1598>
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:49:57 UTC