id summary reporter owner description type status milestone component version severity resolution keywords cc 7546 time_point output version 2 fails to compile viboes viboes "Unfortunately I had commented the test for time_point and while uncommenting it there is a severe compile error. {{{ clang-darwin.compile.c++ ../../../bin.v2/libs/chrono/test/time_point_output_h.test/clang-darwin-3.1x/debug/io/time_point_output.o In file included from io/time_point_output.cpp:5: In file included from ../../../boost/chrono/chrono_io.hpp:26: ../../../boost/chrono/io/time_point_io.hpp:415:46: error: no viable conversion from 'const time_point > >' to 'const time_point' (aka 'const time_point') time_t t = system_clock::to_time_t(tp); ^~ io/time_point_output.cpp:17:7: note: in instantiation of function template specialization 'boost::chrono::operator<<, boost::chrono::duration > >' requested here out << tp; ^ io/time_point_output.cpp:69:3: note: in instantiation of function template specialization 'test_good_prefix > >' requested here test_good_prefix (""2 [1/30]seconds"", duration > (2)); ^ io/time_point_output.cpp:94:3: note: in instantiation of function template specialization 'check_all' requested here check_all(); ^ ../../../boost/chrono/time_point.hpp:156:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const time_point > >' to 'const boost::chrono::time_point > > &' for 1st argument; class time_point ^ ../../../boost/chrono/time_point.hpp:181:9: note: candidate template ignored: substitution failure [with Duration2 = boost::chrono::duration >] time_point(const time_point& t ^ ../../../boost/chrono/detail/inlined/mac/chrono.hpp:53:43: note: passing argument to parameter 't' here system_clock::to_time_t(const time_point& t) BOOST_NOEXCEPT ^ 1 error generated. ""/Users/viboes/clang/clang+llvm-3.1-x86_64-apple-darwin11/bin/clang++"" -x c++ -std=c++11 -O0 -g -Wextra -Wno-long-long -pedantic -O0 -fno-inline -Wall -pedantic -g -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_CHRONO_VERSION=2 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -I""../../.."" -c -o ""../../../bin.v2/libs/chrono/test/time_point_output_h.test/clang-darwin-3.1x/debug/io/time_point_output.o"" ""io/time_point_output.cpp"" }}} " Bugs closed Boost 1.53.0 chrono Boost 1.52.0 Problem fixed