id summary reporter owner description type status milestone component version severity resolution keywords cc 6620 Boost Asio error with (unreleased) gcc 4.7 - monotonic / steady clock ramon.casellas@… chris_kohlhoff "Dear Chris, I'm aware gcc 4.7 is not released yet, however I'm using it to test some c++11 features. Unfortunately Boost Asio fails to compile due to the name change monotonic_clock to steady_clock, I am reporting it ""early"" :) 4.6.2 {{{ #ifdef _GLIBCXX_USE_CLOCK_MONOTONIC /// monotonic_clock struct monotonic_clock }}} 4.7 snapshot {{{ #ifdef _GLIBCXX_USE_CLOCK_MONOTONIC /// steady_clock struct steady_clock { }}} compiling: {{{ In file included from /adnet/src/cttc-pce-trunk/apps/common/connection.hpp:19:0, from /adnet/src/cttc-pce-trunk/apps/common/client.cpp:13: /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp: At global scope: /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp:48:30: error: 'monotonic_clock' is not a member of 'std::chrono' /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp:48:30: error: 'monotonic_clock' is not a member of 'std::chrono' /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp:48:58: error: template argument 1 is invalid /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp:48:58: error: template argument 2 is invalid /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp:48:58: error: template argument 3 is invalid /adnet/boost-1.49.0/include/boost/asio/steady_timer.hpp:48:72: error: invalid type in declaration before ';' token }}} Thanks in advance and thanks for your work with boost asio R. " Bugs closed Boost 1.50.0 asio Boost Development Trunk Problem fixed std::chrono monotonic_clock steady_clock