Opened 15 years ago
Closed 15 years ago
#1585 closed Bugs (fixed)
[test] another compiler errors when building with stdcxx library
Reported by: | Owned by: | Gennadiy Rozental | |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | test |
Version: | Boost Development Trunk | Severity: | Showstopper |
Keywords: | Cc: | John Maddock |
Description
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>
Note:
See TracTickets
for help on using tickets.
applied