Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1589: [filesystem] 'mbstate_t' : is not a member of 'std'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-22 20:09:17
#1589: [filesystem] 'mbstate_t' : is not a member of 'std'
--------------------------------------+-------------------------------------
Reporter: faridz_at_[hidden] | Owner: bemandawes
Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: filesystem
Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by faridz_at_[hidden]):
The error in wide_test.cpp:
{{{
wide_test.cpp
..\libs\filesystem\test\wide_test.cpp(109) : error C2039: 'mbstate_t' : is
not a member of 'std'
..\libs\filesystem\test\wide_test.cpp(136) : error C2039: 'hex' : is not a
member of 'std'
..\libs\filesystem\test\wide_test.cpp(136) : error C2065: 'hex' :
undeclared identifier
..\libs\filesystem\test\wide_test.cpp(137) : error C2039: 'dec' : is not a
member of 'std'
..\libs\filesystem\test\wide_test.cpp(137) : error C2065: 'dec' :
undeclared identifier
}}}
The proposed patch:
{{{
Index: libs/filesystem/test/wide_test.cpp
===================================================================
--- libs/filesystem/test/wide_test.cpp (revision 42908)
+++ libs/filesystem/test/wide_test.cpp (working copy)
@@ -30,7 +30,7 @@
namespace fs = boost::filesystem;
#include <iostream>
-#include <iomanip>
+#include <ios> // for std::hex, std::dec
#include <string>
#include <cerrno>
}}}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1589#comment:2>
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