Opened 15 years ago
Closed 15 years ago
#1598 closed Bugs (fixed)
[regex] 'showbase' : is not a member of 'std'
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | regex |
Version: | Boost Development Trunk | Severity: | Showstopper |
Keywords: | Cc: | John Maddock |
Description
The 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
Note:
See TracTickets
for help on using tickets.
Fixed in latest SVN Trunk.