[Boost-bugs] [Boost C++ Libraries] #1585: [test] another compiler errors when building with stdcxx library

Subject: [Boost-bugs] [Boost C++ Libraries] #1585: [test] another compiler errors when building with stdcxx library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-21 21:55:28


#1585: [test] another compiler errors when building with stdcxx library
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: test
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 The following errors are encountered when running boost regression tests
 on msvc with stdcxx-4.2.0.

 {{{
 framework.cpp
 ..\boost\test\test_tools.hpp(383) : error C2039: 'boolalpha' : is not a
 member of 'std'
 ..\boost\test\test_tools.hpp(383) : error C2065: 'boolalpha' : undeclared
 identifier
 ..\boost\test\test_tools.hpp(383) : error C2593: 'operator <<' is
 ambiguous
 }}}

   The proposed patch:

 {{{
 Index: boost/test/test_tools.hpp
 ===================================================================
 --- boost/test/test_tools.hpp (revision 42906)
 +++ boost/test/test_tools.hpp (working copy)
 @@ -44,6 +44,7 @@
  // STL
  #include <cstddef> // for std::size_t
  #include <iosfwd>
 +#include <ios> // for std::boolalpha
  #include <climits> // for CHAR_BIT

  #include <boost/test/detail/suppress_warnings.hpp>
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1585>
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