On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags.
[SVN r68140]
Test output: daw-msvc71 - chrono - test_clock_shared / msvc-7.1
Rev 68023 / Wed, 12 Jan 2011 02:00:50 +0000
Report Time: Wed, 12 Jan 2011 15:19:47 +0000
Compile [2011-01-12 07:20:48 UTC]: fail
call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"C:\boost_testing_trunk\results\boost\bin.v2\libs\chrono\test\test_clock_shared.test\msvc-7.1\debug\asynch-exceptions-on\threading-multi\test_clock.obj.rsp"
test_clock.cpp
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(164) : see reference to function template instantiation 'void test_clock<boost::chrono::system_clock>(void)' being compiled
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(61) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
..\libs\chrono\test\..\example\test_clock.cpp(67) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(166) : see reference to function template instantiation 'void test_clock<boost::chrono::steady_clock>(void)' being compiled
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(61) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
..\libs\chrono\test\..\example\test_clock.cpp(67) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
[SVN r68061]
Test output: Sandia-darwin-4.0.1 - chrono - runtime_resolution_shared / darwin-4.0.1
Rev 67828 / Sun, 9 Jan 2011 01:50:24 +0000
Report Time: Sun, 9 Jan 2011 04:02:34 +0000
Compile [2011-01-09 02:37:56 UTC]: fail
"/usr/bin/g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H -I".." -c -o "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/runtime_resolution_shared.test/darwin-4.0.1/debug/runtime_resolution.o" "../libs/chrono/test/../example/runtime_resolution.cpp"
../libs/chrono/test/../example/runtime_resolution.cpp: In function 'double runtime_resolution::init_duration()':
../libs/chrono/test/../example/runtime_resolution.cpp:131: error: 'mach_timebase_info_data_t' was not declared in this scope
../libs/chrono/test/../example/runtime_resolution.cpp:131: error: expected `;' before 'MachInfo'
../libs/chrono/test/../example/runtime_resolution.cpp:132: error: 'MachInfo' was not declared in this scope
../libs/chrono/test/../example/runtime_resolution.cpp:132: error: 'mach_timebase_info' was not declared in this scope
../libs/chrono/test/../example/runtime_resolution.cpp: In static member function 'static runtime_resolution::time_point runtime_resolution::clock::now()':
../libs/chrono/test/../example/runtime_resolution.cpp:190: error: 'gettimeofday' was not declared in this scope
TinyUrl
[SVN r67852]