
5 Jul
2012
5 Jul
'12
5:20 p.m.
Hi, On RHEL 5.5 Boost.Chrono 1.1.0 (Boost 1.47.0) fails to run in header only mode with header only Boost.System. This file can't be compiled: #define BOOST_SYSTEM_NO_DEPRECATED // without it also error, but in [Boost.System] #define BOOST_SYSTEM_INLINED #define BOOST_CHRONO_HEADER_ONLY #include <boost/chrono.hpp> int main() { boost::chrono::steady_clock::time_point start = boost::chrono::steady_clock::now(); return 0; } Error: In function `boost::chrono::steady_clock::now()': boost/chrono/detail/inlined/posix/chrono.hpp:85: undefined reference to `boost::system::system_category()' Any comments from Chrono\System guys? Thanks, Dmitriy.