Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68064 - trunk/libs/chrono/example
From: vicente.botet_at_[hidden]
Date: 2011-01-12 13:01:12


Author: viboes
Date: 2011-01-12 13:01:07 EST (Wed, 12 Jan 2011)
New Revision: 68064
URL: http://svn.boost.org/trac/boost/changeset/68064

Log:
Boost.Chrono: try to solve

 Test output: daw-msvc71 - chrono - saturating_shared / msvc-7.1
Rev 68023 / Wed, 12 Jan 2011 02:00:50 +0000
Report Time: Wed, 12 Jan 2011 15:19:47 +0000

Compile [2011-01-12 07:20:48 UTC]: fail

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"C:\boost_testing_trunk\results\boost\bin.v2\libs\chrono\test\saturating_shared.test\msvc-7.1\debug\asynch-exceptions-on\threading-multi\saturating.obj.rsp"

saturating.cpp
..\libs\chrono\test\..\example\saturating.cpp(146) : error C2833: 'operator int_type' is not a recognized operator or type
..\libs\chrono\test\..\example\saturating.cpp(156) : fatal error C1903: unable to recover from previous error(s); stopping compilation

TinyUrl
Text files modified:
   trunk/libs/chrono/example/saturating.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/chrono/example/saturating.cpp
==============================================================================
--- trunk/libs/chrono/example/saturating.cpp (original)
+++ trunk/libs/chrono/example/saturating.cpp 2011-01-12 13:01:07 EST (Wed, 12 Jan 2011)
@@ -143,7 +143,7 @@
 };
 
 template <class I>
-saturate<I>::operator int_type() const
+saturate<I>::operator saturate<I>::int_type() const
 {
     switch (i_)
     {


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