Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67755 - trunk/libs/chrono/test
From: vicente.botet_at_[hidden]
Date: 2011-01-07 13:17:19


Author: viboes
Date: 2011-01-07 13:17:18 EST (Fri, 07 Jan 2011)
New Revision: 67755
URL: http://svn.boost.org/trac/boost/changeset/67755

Log:
Boost.Chrono: Try to solve typeof issue

 Test output: Sandia-sun - chrono - duration_cast_pass_shared / sun-5.10
Rev 67745 / Fri, 7 Jan 2011 01:15:43 +0000
Report Time: Fri, 7 Jan 2011 16:48:51 +0000

Compile [2011-01-07 02:08:46 UTC]: fail

    "/opt/sunstudio12.1/bin/CC" +d -library=stlport4 -features=tmplife -features=tmplrefstatic -g -erroff=%none -m64 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H -I".." -c -o "/scratch2/kbelco/boost/results/boost/bin.v2/libs/chrono/test/duration_cast_pass_shared.test/sun-5.10/debug/address-model-64/stdlib-sun-stlport/duration/duration_cast_pass.o" "../libs/chrono/test/duration/duration_cast_pass.cpp"

"../libs/chrono/test/duration/duration_cast_pass.cpp", line 30: Error: Could not find a match for mpl_::assertion_failed<mpl_::C>(mpl_::failed************(NOTHING::*)()***********) needed in test<boost::chrono::duration<int, boost::ratio<3600, 1>>, boost::chrono::duration<long long, boost::ratio<1, 1000>>>(const boost::chrono::duration<long long, boost::ratio<1, 1000>>&, const boost::chrono::duration<int, boost::ratio<3600, 1>>&).
"../libs/chrono/test/duration/duration_cast_pass.cpp", line 36: Where: While instantiating "test<boost::chrono::duration<int, boost::ratio<3600, 1>>, boost::chrono::duration<long long, boost::ratio<1, 1000>>>(const boost::chrono::duration<long long, boost::ratio<1, 1000>>&, const boost::chrono::duration<int, boost::ratio<3600, 1>>&)".
"../libs/chrono/test/duration/duration_cast_pass.cpp", line 36: Where: Instantiated from non-template code.
"../libs/chrono/test/duration/duration_cast_pass.cpp", line 30: Error: Could not find a match for mpl_::assertion_failed<mpl_::C>(mpl_::failed************(NOTHING::*)()***********) needed in test<boost::chrono::duration<int, boost::ratio<3600, 1>>, boost::chrono::duration<long long, boost::ratio<1, 1000>>>(const boost::chrono::duration<long long, boost::ratio<1, 1000>>&, const boost::chrono::duration<int, boost::ratio<3600, 1>>&).
"../libs/chrono/test/duration/duration_cast_pass.cpp", line 36: Where: While instantiating "test<boost::chrono::duration<int, boost::ratio<3600, 1>>, boost::chrono::duration<long long, boost::ratio<1, 1000>>>(const boost::chrono::duration<long long, boost::ratio<1, 1000>>&, const boost::chrono::duration<int, boost::ratio<3600, 1>>&)".
"../libs/chrono/test/duration/duration_cast_pass.cpp", line 36: Where: Instantiated from non-template code.
2 Error(s) detected.

TinyUrl

Text files modified:
   trunk/libs/chrono/test/Jamfile.v2 | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/chrono/test/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/test/Jamfile.v2 (original)
+++ trunk/libs/chrono/test/Jamfile.v2 2011-01-07 13:17:18 EST (Fri, 07 Jan 2011)
@@ -39,6 +39,7 @@
         <toolset>msvc:<asynch-exceptions>on
         <define>BOOST_CHRONO_USES_MPL_ASSERT
         <define>BOOST_SYSTEM_NO_DEPRECATED
+ <toolset>sun:<define>BOOST_TYPEOF_EMULATION
         <warnings>all
         <toolset>gcc:<cxxflags>-Wextra
         <toolset>gcc:<cxxflags>-pedantic
@@ -245,6 +246,7 @@
     test-suite "win32"
         :
         [ chrono-run win32_test.cpp ]
+ [ compile intmax_c.cpp ]
         ;
 
 # test-suite "static_string"


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