|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67907 - in trunk/libs/chrono: build test
From: vicente.botet_at_[hidden]
Date: 2011-01-10 02:35:59
Author: viboes
Date: 2011-01-10 02:35:55 EST (Mon, 10 Jan 2011)
New Revision: 67907
URL: http://svn.boost.org/trac/boost/changeset/67907
Log:
Boost.Chrono: Don't use typeof to get common_type
Text files modified:
trunk/libs/chrono/build/Jamfile.v2 | 6 ++++--
trunk/libs/chrono/test/Jamfile.v2 | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
Modified: trunk/libs/chrono/build/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/build/Jamfile.v2 (original)
+++ trunk/libs/chrono/build/Jamfile.v2 2011-01-10 02:35:55 EST (Mon, 10 Jan 2011)
@@ -36,7 +36,8 @@
#<define>BOOST_COMMON_TYPE_USES_ARRAY_ASSERT
#<define>BOOST_RATIO_USES_ARRAY_ASSERT
#<define>BOOST_CHRONO_USES_ARRAY_ASSERT
- #<define>BOOST_COMMON_TYPE_DONT_USE_TYPEOF
+ <toolset>sun:<define>BOOST_COMMON_TYPE_DONT_USE_TYPEOF
+ <toolset>sun:<define>BOOST_TYPEOF_EMULATION
<define>BOOST_SYSTEM_NO_DEPRECATED
<toolset>gcc-3.4.4:<linkflags>--enable-auto-import
<toolset>gcc-4.3.4:<linkflags>--enable-auto-import
@@ -70,7 +71,8 @@
#<define>BOOST_COMMON_TYPE_USES_ARRAY_ASSERT
#<define>BOOST_RATIO_USES_ARRAY_ASSERT
#<define>BOOST_CHRONO_USES_ARRAY_ASSERT
- #<define>BOOST_COMMON_TYPE_DONT_USE_TYPEOF
+ <toolset>sun:<define>BOOST_COMMON_TYPE_DONT_USE_TYPEOF
+ <toolset>sun:<define>BOOST_TYPEOF_EMULATION
<define>BOOST_SYSTEM_NO_DEPRECATED
<link>shared:<define>BOOST_CHRONO_DYN_LINK=1
<link>static:<define>BOOST_CHRONO_STATIC_LINK=1
Modified: trunk/libs/chrono/test/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/test/Jamfile.v2 (original)
+++ trunk/libs/chrono/test/Jamfile.v2 2011-01-10 02:35:55 EST (Mon, 10 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_COMMON_TYPE_DONT_USE_TYPEOF
<toolset>sun:<define>BOOST_TYPEOF_EMULATION
<warnings>all
<toolset>gcc:<cxxflags>-Wextra
@@ -175,6 +176,7 @@
[ chrono-run ../example/chrono_accuracy_test.cpp ]
[ chrono-run ../example/test_thread_clock.cpp ]
[ chrono-run ../example/french.cpp ]
+ #[ chrono-run ../example/await_keystroke.cpp ]
;
# test-suite "timer"
@@ -220,7 +222,7 @@
test-suite "time_point"
:
- [ chrono-compile2 time_point/default_duration_pass.cpp : time_point.default_duration_pass ]
+ [ chrono-compile2 time_point/default_duration_pass.cpp : time_point_default_duration_pass ]
[ compile-fail time_point/not_duration_fail.cpp : : time_point_not_duration_fail ]
[ chrono-run2 time_point/arithmetic_pass.cpp : time_point_arithmetic_pass ]
[ chrono-run2 time_point/time_point_cast_pass.cpp : time_point_time_point_cast_pass ]
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