Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58294 - sandbox/chrono/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2009-12-11 13:40:43


Author: viboes
Date: 2009-12-11 13:40:42 EST (Fri, 11 Dec 2009)
New Revision: 58294
URL: http://svn.boost.org/trac/boost/changeset/58294

Log:
Boost.Chrono: Version 0.2.5, Bug fixes
* complete qualification boost::chrono::duration to avoid possible BUG in gcc-4.4.0 reporting the following error
./boost/chrono/chrono.hpp:945: error: declaration of 'typedef class boost::chrono::duration<long long int, boost::ratio<1ll, 10000000ll> > boost::chrono::system_clock::duration'
./boost/chrono/chrono.hpp:458: error: changes meaning of 'duration' from 'class boost::chrono::duration<long long int, boost::ratio<1ll, 10000000ll> >'
Text files modified:
   sandbox/chrono/boost/chrono/chrono.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/chrono/boost/chrono/chrono.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/chrono.hpp (original)
+++ sandbox/chrono/boost/chrono/chrono.hpp 2009-12-11 13:40:42 EST (Fri, 11 Dec 2009)
@@ -82,7 +82,7 @@
 
 #ifdef BOOST_CHRONO_WINDOWS_API
 // The system_clock tick is 100 nanoseconds
-# define BOOST_SYSTEM_CLOCK_DURATION duration<boost::int_least64_t, ratio<BOOST_INTMAX_C(1), BOOST_INTMAX_C(10000000)> >
+# define BOOST_SYSTEM_CLOCK_DURATION boost::chrono::duration<boost::int_least64_t, ratio<BOOST_INTMAX_C(1), BOOST_INTMAX_C(10000000)> >
 #else
 # define BOOST_SYSTEM_CLOCK_DURATION boost::chrono::nanoseconds
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk