Boost C++ Libraries: Ticket #1585: [test] another compiler errors when building with stdcxx library https://svn.boost.org/trac10/ticket/1585 <blockquote> <p> The following errors are encountered when running boost regression tests on msvc with stdcxx-4.2.0. </p> </blockquote> <pre class="wiki">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 &lt;&lt;' is ambiguous </pre><blockquote> <p> The proposed patch: </p> </blockquote> <pre class="wiki">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 &lt;cstddef&gt; // for std::size_t #include &lt;iosfwd&gt; +#include &lt;ios&gt; // for std::boolalpha #include &lt;climits&gt; // for CHAR_BIT #include &lt;boost/test/detail/suppress_warnings.hpp&gt; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1585 Trac 1.4.3 Gennadiy Rozental Tue, 22 Jan 2008 03:41:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1585#comment:1 https://svn.boost.org/trac10/ticket/1585#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> applied </p> Ticket