diff -crB ../chrono/libs/chrono/src/posix/chrono.cpp libs/chrono/src/posix/chrono.cpp *** ../chrono/libs/chrono/src/posix/chrono.cpp 2009-12-08 14:54:00.000000000 +0100 --- libs/chrono/src/posix/chrono.cpp 2010-08-04 15:53:02.801852739 +0200 *************** *** 24,30 **** if ( ::clock_gettime( CLOCK_REALTIME, &ts ) ) { boost::throw_exception( ! system::system_error( errno, system::system_category, "chrono::system_clock" )); } return time_point(duration( --- 24,30 ---- if ( ::clock_gettime( CLOCK_REALTIME, &ts ) ) { boost::throw_exception( ! system::system_error( errno, system::system_category(), "chrono::system_clock" )); } return time_point(duration( *************** *** 36,42 **** timespec ts; if ( ::clock_gettime( CLOCK_REALTIME, &ts ) ) { ! ec.assign( errno, system::system_category ); return time_point(); } --- 36,42 ---- timespec ts; if ( ::clock_gettime( CLOCK_REALTIME, &ts ) ) { ! ec.assign( errno, system::system_category() ); return time_point(); } *************** *** 63,69 **** if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) ) { boost::throw_exception( ! system::system_error( errno, system::system_category, "chrono::monotonic_clock" )); } return time_point(duration( --- 63,69 ---- if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) ) { boost::throw_exception( ! system::system_error( errno, system::system_category(), "chrono::monotonic_clock" )); } return time_point(duration( *************** *** 75,81 **** timespec ts; if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) ) { ! ec.assign( errno, system::system_category ); return time_point(); } --- 75,81 ---- timespec ts; if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) ) { ! ec.assign( errno, system::system_category() ); return time_point(); } diff -crB ../chrono/libs/chrono/src/posix/process_clock.cpp libs/chrono/src/posix/process_clock.cpp *** ../chrono/libs/chrono/src/posix/process_clock.cpp 2010-06-23 00:28:28.000000000 +0200 --- libs/chrono/src/posix/process_clock.cpp 2010-08-04 15:54:27.841852829 +0200 *************** *** 51,57 **** if ( c == clock_t(-1) ) // error { assert( 0 && "error handling not implemented yet" ); ! ec.assign( errno, system::system_category ); times_.real = times_.system = times_.user = nanoseconds(-1); } else --- 51,57 ---- if ( c == clock_t(-1) ) // error { assert( 0 && "error handling not implemented yet" ); ! ec.assign( errno, system::system_category() ); times_.real = times_.system = times_.user = nanoseconds(-1); } else *************** *** 68,74 **** else { assert( 0 && "error handling not implemented yet" ); ! ec.assign( errno, system::system_category ); times_.real = times_.user = times_.system = nanoseconds(-1); } } --- 68,74 ---- else { assert( 0 && "error handling not implemented yet" ); ! ec.assign( errno, system::system_category() ); times_.real = times_.user = times_.system = nanoseconds(-1); } } diff -crB ../chrono/libs/chrono/src/posix/thread_clock.cpp libs/chrono/src/posix/thread_clock.cpp *** ../chrono/libs/chrono/src/posix/thread_clock.cpp 2010-06-17 01:12:42.000000000 +0200 --- libs/chrono/src/posix/thread_clock.cpp 2010-08-04 15:56:06.470602915 +0200 *************** *** 34,40 **** if ( ::clock_gettime( clock_id, &ts ) ) { boost::throw_exception( ! system::system_error( errno, system::system_category, "chrono::thread_clock" )); } // transform to nanoseconds --- 34,40 ---- if ( ::clock_gettime( clock_id, &ts ) ) { boost::throw_exception( ! system::system_error( errno, system::system_category(), "chrono::thread_clock" )); } // transform to nanoseconds *************** *** 52,58 **** struct timespec ts; if ( ::clock_gettime( clock_id, &ts ) ) { ! ec.assign( errno, system::system_category ); return time_point(); } ec.clear(); --- 52,58 ---- struct timespec ts; if ( ::clock_gettime( clock_id, &ts ) ) { ! ec.assign( errno, system::system_category() ); return time_point(); } ec.clear(); diff -crB ../chrono/libs/chrono/src/run_timer.cpp libs/chrono/src/run_timer.cpp *** ../chrono/libs/chrono/src/run_timer.cpp 2010-06-23 00:28:28.000000000 +0200 --- libs/chrono/src/run_timer.cpp 2010-08-04 15:57:34.111852665 +0200 *************** *** 153,159 **** catch (...) // eat any exceptions { assert( 0 && "error reporting not fully implemented yet" ); ! ec.assign(system::errc::success, system::generic_category); //ec = error_code( EIO, errno_ecat ); } } --- 153,159 ---- catch (...) // eat any exceptions { assert( 0 && "error reporting not fully implemented yet" ); ! ec.assign(system::errc::success, system::generic_category()); //ec = error_code( EIO, errno_ecat ); } }