Commit Graph

20 Commits

Author SHA1 Message Date
Vicente J. Botet Escriba
803fe006ef check duration constexpr after change. 2017-05-01 03:36:32 +02:00
Vicente J. Botet Escriba
61ac7de69d avoid warnings. 2017-05-01 03:35:25 +02:00
Vicente J. Botet Escriba
97ffab2d9d warning removal. 2017-04-29 18:25:41 +02:00
Vicente J. Botet Escriba
ae55b3eea3 fix int32_t. 2017-04-29 17:28:44 +02:00
Vicente J. Botet Escriba
9d72428bee Make chrono::duration trivial in C++11. 2017-04-24 23:41:07 +02:00
jzmaddock
e60cbaf79d Fix duration default constructor to be constexpr-safe.
Also add tests for the issue.
2016-07-03 18:47:54 +01:00
Vicente J. Botet Escriba
824a12e758 Try to fix undefined int32_t with msvc 2013-12-07 00:29:03 +01:00
Vicente J. Botet Escriba
dde3b3528c Chrono: fix floor/round issues on negative numbers.
[SVN r86798]
2013-11-23 14:50:58 +00:00
Vicente J. Botet Escriba
e4ba68c309 Chrono: use * instead of / when testing floats.
[SVN r86587]
2013-11-08 20:23:22 +00:00
Marshall Clow
42628c00d3 Removed usage of deprecated macros
[SVN r81560]
2012-11-26 17:30:42 +00:00
Vicente J. Botet Escriba
b6116ba579 Chrono: try to fix 7479
[SVN r80897]
2012-10-07 14:10:59 +00:00
Vicente J. Botet Escriba
ef45c1053a Chrono: remove includes using lib/chrono
[SVN r80126]
2012-08-21 21:30:50 +00:00
Vicente J. Botet Escriba
ede2552732 Chrono: Added some constexpr test + fix for duration
[SVN r79491]
2012-07-14 10:58:30 +00:00
Vicente J. Botet Escriba
a03716605a Chrono: Added some constexpr tests
[SVN r79325]
2012-07-07 10:16:31 +00:00
Vicente J. Botet Escriba
01dcb5b739 Chrono: #5322, #5323, time_point operators ++,--
[SVN r70073]
2011-03-17 19:17:49 +00:00
Vicente J. Botet Escriba
e096fc9551 Boost.Chrono: Remove dependency on typeof header
[SVN r68321]
2011-01-20 19:53:42 +00:00
Vicente J. Botet Escriba
45cc67fe57 Boost.Chrono: Use boost/chrono/chrono.hpp instead of boost/chrono.hpp whenever possible
[SVN r68186]
2011-01-16 13:24:53 +00:00
Vicente J. Botet Escriba
61bbff7a69 Boost.Chrono: Extract the typeof use from this test. Other typeof specific tests must be added.
[SVN r67904]
2011-01-10 06:31:16 +00:00
Vicente J. Botet Escriba
753bd404d1 Boost.Chrono: Change to get info on compile failure
Test output: Sandia-sun - chrono - duration_cast_pass_shared / sun-5.10
Rev 67766 / Sat, 8 Jan 2011 01:15:34 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000

Compile [2011-01-08 02:06:04 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_TYPEOF_EMULATION -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 

[SVN r67781]
2011-01-08 14:47:04 +00:00
Vicente J. Botet Escriba
c183fb72fd Boost.Chrono: Moved to trunk
[SVN r67698]
2011-01-06 00:47:42 +00:00