Commit Graph

356 Commits

Author SHA1 Message Date
Vicente J. Botet Escriba
8e337fde07 Chrono: Move translation to a separated file and make use for epoch also.
[SVN r74738]
2011-10-05 13:56:27 +00:00
Vicente J. Botet Escriba
d985cda6ac Chrono: Extract in duration_unit_string the duration unit logic as well as the possibility tp customize the translation and set deprecated the facet constructor taking the units name and the name/long_name/short_name functions
[SVN r74702]
2011-10-04 16:57:57 +00:00
Vicente J. Botet Escriba
625922a77f Chrono: set deprecated use_short/use_long, duration_short/duration_long, ...
[SVN r74694]
2011-10-04 12:32:50 +00:00
Vicente J. Botet Escriba
a0eb543706 Chrono: rename prefix_text by prefix
[SVN r74688]
2011-10-04 10:20:18 +00:00
Vicente J. Botet Escriba
2bbc30875f Chrono: indent
[SVN r74687]
2011-10-04 10:19:28 +00:00
Vicente J. Botet Escriba
72959181df Chrono: cleanup
[SVN r74686]
2011-10-04 10:18:17 +00:00
Vicente J. Botet Escriba
d1a48a247f Chrono: complete process_times common_type and make conversion Rep const
[SVN r74684]
2011-10-04 05:39:45 +00:00
Vicente J. Botet Escriba
d7052a9238 Chrono: Add BOOST_CHRONO_HAS_PROCESS_CLOCKS protection for CE
[SVN r74681]
2011-10-03 21:14:32 +00:00
Vicente J. Botet Escriba
90e82e768f Chrono: Avoid operator== ambiguity
[SVN r74680]
2011-10-03 21:13:45 +00:00
Vicente J. Botet Escriba
a41377b720 Chrono: process real cpu clock uses clock instead of times which is twice faster and with high resolution for MacOs
[SVN r74668]
2011-10-03 14:48:07 +00:00
Vicente J. Botet Escriba
0b70fc06b5 Chrono: Extract dont_start used by basic_stopwatch_reporter and fix some errors in accumulator set formatter
[SVN r74649]
2011-10-02 15:09:54 +00:00
Vicente J. Botet Escriba
fa9b72ee03 Make the default formatter to be elapsed_formatter while been possible to specialize it for Stopwatches and Clocks. Added accumulator_set_formatter.hpp and the corresponding specializations for default formatter
[SVN r74638]
2011-10-02 08:19:01 +00:00
Vicente J. Botet Escriba
6d6232cc3d Chrono: remove not useful lightweight_stopwatch_reporter
[SVN r74634]
2011-10-01 21:27:58 +00:00
Vicente J. Botet Escriba
05ee1e7197 Chrono: Rename memories by collectors
[SVN r74631]
2011-10-01 21:03:32 +00:00
Vicente J. Botet Escriba
f984a04456 Chrono: Rename memories by collectors
[SVN r74629]
2011-10-01 20:59:29 +00:00
Vicente J. Botet Escriba
7882bc502d Chrono: Rename lap_memory by las_collector
[SVN r74627]
2011-10-01 20:48:25 +00:00
Vicente J. Botet Escriba
2501f83ade Chrono: Added laps_sequence_container.hpp
[SVN r74626]
2011-10-01 20:47:20 +00:00
Vicente J. Botet Escriba
cac9c44f8c Chrono: Simplify basic_stopwatch and extract the suspend/resume part. Added different models of SampleCollectors-Memories
[SVN r74623]
2011-10-01 16:49:36 +00:00
Vicente J. Botet Escriba
311f260cc3 Chrono: Added format function to get the formatter of a reporter
[SVN r74622]
2011-10-01 16:45:25 +00:00
Vicente J. Botet Escriba
e99b8e6920 Chrono: rollback the use of process cpu
[SVN r74614]
2011-09-29 20:52:55 +00:00
Vicente J. Botet Escriba
d352ec1552 Chrono: factor uses of tick_factor()
[SVN r74595]
2011-09-27 23:05:15 +00:00
Vicente J. Botet Escriba
b22fbc5ff9 Chrono: try to fix issue on compilers defining _POSIX_CPUTIME
[SVN r74586]
2011-09-26 22:20:37 +00:00
Vicente J. Botet Escriba
66d5df2bbc Chrono: try to fic issue with process_cpu_clocks in CE
[SVN r74585]
2011-09-26 22:18:33 +00:00
Vicente J. Botet Escriba
6f19e29380 Chrono: fix error on duration_style_io_saver that needs to retrieve the inbue-ed locale
[SVN r74563]
2011-09-25 13:25:23 +00:00
Vicente J. Botet Escriba
92bed88f54 Chrono: refactor config file
[SVN r74552]
2011-09-24 16:11:26 +00:00
Vicente J. Botet Escriba
f105e12a87 Chrono: Use CLOCK_PROCESS_CPUTIME_ID when available on posix
[SVN r74551]
2011-09-24 16:10:34 +00:00
Vicente J. Botet Escriba
edc6cc12e5 Chrono: make process_cpu_clocks interact better with other clocks durations
[SVN r74550]
2011-09-24 16:09:19 +00:00
Vicente J. Botet Escriba
08aff7913b Chrono: Use clock() instead of steady_clock to represent wall process clock on windows
[SVN r74549]
2011-09-24 16:00:17 +00:00
Vicente J. Botet Escriba
57a68ee61f Chrono: It seems that thread_clocks are not working on Solaris. Inhibit them until a workaround is found :(
[SVN r74525]
2011-09-22 21:52:08 +00:00
Vicente J. Botet Escriba
a015353c5b Chrono: try to make portable timezone::type conversions on PGI
[SVN r74522]
2011-09-22 21:15:39 +00:00
Vicente J. Botet Escriba
06dede3343 Chrono: Fix issue with duration_style and Add stopwatch_scoped.hpp basic_stopwatch.hpp
[SVN r74509]
2011-09-21 22:39:38 +00:00
Vicente J. Botet Escriba
a147fe4077 Chrono: Split chrono_io.hpp
[SVN r74508]
2011-09-21 22:26:56 +00:00
Vicente J. Botet Escriba
80d355ce3d Chrono: Make more portable round() code
[SVN r74507]
2011-09-21 22:25:32 +00:00
Vicente J. Botet Escriba
976369c844 Added lightweight_stopwatch_reporter.hpp
[SVN r74492]
2011-09-21 17:10:30 +00:00
Vicente J. Botet Escriba
60be547b8b Chrono: refactor formatter to inherit from boost::basic_format
[SVN r74490]
2011-09-21 17:04:12 +00:00
Vicente J. Botet Escriba
227d95fe8f Chrono: cleanup stopwatch_reporter.hpp
[SVN r74489]
2011-09-21 17:02:31 +00:00
Vicente J. Botet Escriba
32132c6a1f Chrono: refactor process_cpu_clock_times into a template class so we can cast changingthe representation
[SVN r74488]
2011-09-21 17:00:43 +00:00
Vicente J. Botet Escriba
92d3ac8f7f Chrono: typo
[SVN r74487]
2011-09-21 16:58:10 +00:00
Vicente J. Botet Escriba
af50cb08c7 Chrono: Fiw thread_clock:now noexcept prototype mistmatch
[SVN r74464]
2011-09-19 08:25:49 +00:00
Vicente J. Botet Escriba
31afa124ad Chrono: Added stopwatches.hpp
[SVN r74458]
2011-09-18 21:14:36 +00:00
Vicente J. Botet Escriba
d2ab44e261 Chrono: Added times formatter + default formatter for process and thread clocks
[SVN r74457]
2011-09-18 21:09:45 +00:00
Vicente J. Botet Escriba
0e2029453c Chrono: Added basic Stopwatch reporter and formaters
[SVN r74455]
2011-09-18 20:20:17 +00:00
Vicente J. Botet Escriba
44bf46c6c0 Chrono: Fiw some error on cygwin and windows related to process clocks
[SVN r74453]
2011-09-18 17:58:27 +00:00
Vicente J. Botet Escriba
09e5a61c02 Chrono: fixed #5909: process_cpu_clock::now() on MAC gives time_points 1/1000 times + improve simple_stopwatch
[SVN r74450]
2011-09-18 14:09:56 +00:00
Vicente J. Botet Escriba
859e3d1b7f Chrono: Fix typo on Mac while adding noexceptl
[SVN r74445]
2011-09-18 08:42:33 +00:00
Vicente J. Botet Escriba
081b58d144 Chrono: Set now() noexcept
[SVN r74444]
2011-09-18 08:18:43 +00:00
Vicente J. Botet Escriba
132cd9ff70 Chrono: Take in account the constexpr as defined in the standard #5906
[SVN r74440]
2011-09-17 20:50:54 +00:00
Vicente J. Botet Escriba
0c2adf9274 Chrono: Inspect + cleanup
[SVN r74436]
2011-09-17 11:30:49 +00:00
Vicente J. Botet Escriba
ffcd063459 Chrono: Provide workarounds to non available localtime_r, timegm and gmtime_r functions + change to portable strftime format
[SVN r74433]
2011-09-17 09:51:23 +00:00
Vicente J. Botet Escriba
aab3e03376 Chrono: fix error on gcc about timezone struct and function collision.
[SVN r74421]
2011-09-16 18:49:12 +00:00
Vicente J. Botet Escriba
6b4f23d3b4 Chrono: Added some i/o facilities + a simple stopwatch
[SVN r74419]
2011-09-16 16:55:09 +00:00
Vicente J. Botet Escriba
e3a5de1b06 Chrono: remove not supported run_timer and process_clocks files.
[SVN r74288]
2011-09-06 21:17:36 +00:00
Vicente J. Botet Escriba
5e60712bcf Chrono: Move timer.hpp to the example directory and remove process_times.hpp
[SVN r74211]
2011-09-03 16:13:16 +00:00
Vicente J. Botet Escriba
32ec78e5b3 Chrono: Added rounding utilities
[SVN r74208]
2011-09-03 15:45:51 +00:00
Jürgen Hunold
a725245217 Merge 73400 from ^/trunk
------------------------------------------------------------------------
r73400 | jhunold | 2011-07-27 14:16:16 +0200 (Mi, 27 Jul 2011) | 1 line

Enable visibility support. Refs #2114.
------------------------------------------------------------------------


[SVN r73438]
2011-07-30 10:45:30 +00:00
Jürgen Hunold
84a9304103 Enable visibility support. Refs #2114.
[SVN r73400]
2011-07-27 12:16:16 +00:00
Vicente J. Botet Escriba
3ccb02fb7a Merge Intel issue with default bool template initialization #72938 - Authorized by Beman
[SVN r72984]
2011-07-09 14:45:21 +00:00
Vicente J. Botet Escriba
5ee45e7b69 chrono: isuue with win-intel compiler
[SVN r72938]
2011-07-06 22:52:36 +00:00
Vicente J. Botet Escriba
0fd18308b4 Chrono: Merge #5543 and #5549
[SVN r72239]
2011-05-28 07:02:19 +00:00
Vicente J. Botet Escriba
dcb7268116 Chrono: Fix missing struct timespec ts declaration
[SVN r72155]
2011-05-25 12:36:47 +00:00
Vicente J. Botet Escriba
015b7fc385 Use of CLOCK_THREAD_CPUTIME_ID when defined
[SVN r71951]
2011-05-15 08:18:23 +00:00
Vicente J. Botet Escriba
71c39f4b1f Use of CLOCK_THREAD_CPUTIME_ID when defined
[SVN r71934]
2011-05-14 07:42:29 +00:00
Vicente J. Botet Escriba
746fcf77e7 Chrono: Fix #5407 linker error when using boost::chrono in more than one cpp file
[SVN r71260]
2011-04-14 19:56:57 +00:00
Vicente J. Botet Escriba
06b6109b5a Chrono: Fix #5407 linker error when using boost::chrono in more than one cpp file
[SVN r71259]
2011-04-14 19:56:10 +00:00
Vicente J. Botet Escriba
7aee189f91 Chrono: inspect update
[SVN r71218]
2011-04-12 20:42:08 +00:00
Joachim Faulhaber
d25a0c7ef6 Improved mutual agnostic interoperability between boost::chrono and boost::icl. Added test for chrono-icl interoperability.
[SVN r70722]
2011-03-29 23:12:53 +00:00
Vicente J. Botet Escriba
0ca43b33cc Chrono: import from Trunk
[SVN r70369]
2011-03-21 21:56:30 +00:00
Vicente J. Botet Escriba
fa904e76c2 Chrono: #5322, #5323, time_point operators ++,--
[SVN r70076]
2011-03-17 20:11:10 +00:00
Vicente J. Botet Escriba
d0b123504b Chrono: #5322, #5323, time_point operators ++,--
[SVN r70074]
2011-03-17 19:19:31 +00:00
Vicente J. Botet Escriba
28586cb41c Chrono: Added missing include for is_arithmetic
[SVN r69902]
2011-03-12 20:05:41 +00:00
David Deakins
c5e71b2234 Changes to complete Boost.Chrono support for Windows CE. Closes ticket 5218.
[SVN r69240]
2011-02-24 18:21:52 +00:00
David Deakins
6ff12c9d23 Changes to resolve VC9 compiler errors
[SVN r69227]
2011-02-23 22:50:26 +00:00
Vicente J. Botet Escriba
4492f07600 Chrono
[SVN r69015]
2011-02-18 23:53:26 +00:00
Vicente J. Botet Escriba
3849e2c896 Chrono: Cleanup
[SVN r68828]
2011-02-13 12:04:32 +00:00
Vicente J. Botet Escriba
7d43183a26 Chrono/ try to solve msvc 9.0 compiler issue (enable_if?)
[SVN r68643]
2011-02-05 00:30:52 +00:00
Vicente J. Botet Escriba
7ec373b6cf Chrono: sysntax error on msvc 9.0
[SVN r68611]
2011-02-02 07:29:24 +00:00
Vicente J. Botet Escriba
bb310af58d Chrono: inhibit enable_if with msvc 9.0
[SVN r68569]
2011-01-30 13:26:40 +00:00
Vicente J. Botet Escriba
f83c59fcca Boost.Chrono: Try to solve some msvc9.0 issues related to enable_if on duration overloading
[SVN r68460]
2011-01-26 22:41:18 +00:00
Vicente J. Botet Escriba
d07facbfd2 Boost.Chrono: Try to solve some msvc9.0 issues related to enable_if on duration overloading
[SVN r68399]
2011-01-23 17:51:41 +00:00
Vicente J. Botet Escriba
e1c4fc9fcc Boost.Chrono: Try to solve some msvc9.0 issues related to enable_if on duration overloading
[SVN r68382]
2011-01-23 14:57:37 +00:00
Vicente J. Botet Escriba
27b07cb0a1 Boost.Chrono: Try to solve some msvc9.0 issues related to enable_if on duration overloading
[SVN r68380]
2011-01-23 14:38:46 +00:00
Vicente J. Botet Escriba
cdf43f083d Boost.Chrono: Try to solve some msvc9.0 issues related to enable_if on duration overloading
[SVN r68327]
2011-01-20 22:28:18 +00:00
Vicente J. Botet Escriba
53d9da2a18 Boost.Chrono: Replace INLENED by HEADER_ONLY
[SVN r68191]
2011-01-16 17:27:58 +00:00
Vicente J. Botet Escriba
21d1e0e9d6 Boost.Chrono: cleanup
[SVN r68188]
2011-01-16 14:21:54 +00:00
Vicente J. Botet Escriba
d964032f8e Boost.Chrono: Forward to include all header
[SVN r68187]
2011-01-16 14:09:15 +00:00
Vicente J. Botet Escriba
9c20b56f63 Boost.Chrono: #include <boost/chrono/typeof/boost/chrono/chrono.hpp>
[SVN r68185]
2011-01-16 13:24:51 +00:00
Vicente J. Botet Escriba
f0a34e5984 Boost.Ratio/Chrono: Added boost/chrono/include.hpp file
[SVN r68184]
2011-01-16 13:23:00 +00:00
Vicente J. Botet Escriba
61469a5d1b Boost.Ratio/Chrono: Added boost/ratio/include.hpp file and make use of boost/ratio/ratio.hpp when all the files are not needed
[SVN r68183]
2011-01-16 12:07:26 +00:00
Vicente J. Botet Escriba
937980dc9c Boost.Chrono: Remove BOOST_USE_WINDOWS_H from the Jamfiles and move it to the config.h file when BOOST_CHRONO_SOURCE is defined
[SVN r68157]
2011-01-14 17:43:41 +00:00
Vicente J. Botet Escriba
1f28e808a3 Boost.Chrono: Remove BOOST_CHRONO_IO_INPUT macro
[SVN r68117]
2011-01-13 18:19:43 +00:00
Vicente J. Botet Escriba
0d7ae19978 Boost.Chrono: Move operator% to the lib extension's
[SVN r68031]
2011-01-12 05:10:32 +00:00
Vicente J. Botet Escriba
0d557c04aa Boost.Chrono: Added THREAD_CLOCK disabler macro
[SVN r68003]
2011-01-11 23:17:16 +00:00
Vicente J. Botet Escriba
e77695f19f Boost.Chrono: Add meta-info for debug
Boost.Chrono: Try to solve SUN issue: mismatch between   void(*)(void*) and extern "C" void(void*)

 Test output: Sandia-sun - chrono - io_ex2_shared / sun-5.10
Rev 67818 / Sun, 9 Jan 2011 01:15:36 +0000
Report Time: Sun, 9 Jan 2011 19:06:16 +0000

Compile [2011-01-09 02:06:49 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/io_ex2_shared.test/sun-5.10/debug/address-model-64/stdlib-sun-stlport/io_ex2.o" "../libs/chrono/test/../example/io_ex2.cpp"

"../boost/chrono/detail/scan_keyword.hpp", line 69: Error: Could not find a match for boost::interprocess::unique_ptr<unsigned char, void(*)(void*)>::unique_ptr(int, extern "C" void(void*)) 
needed in boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&).
"../boost/chrono/chrono_io.hpp", line 271:     Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 271:     Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, long long, boost::ratio<1, 1>>(std::istream &, boost::chrono::duration<long long, boost::ratio<1, 1>>&).
"../libs/chrono/test/../example/io_ex2.cpp", line 27:     Where: Instantiated from non-template code.
1 Error(s) detected.

TinyUrl 




[SVN r67880]
2011-01-09 21:04:26 +00:00
Vicente J. Botet Escriba
b469abac2a Boost.Chrono: thread clocks are not available on POSIX systems don't supporting threads as PGI
Test output:
Rev 67766 / Sat, 8 Jan 2011 07:38:17 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000

Compile [2011-01-08 10:21:34 UTC]: fail

    "/sierra/Sntools/extras/compilers/pgi/linux86-64/10.1/bin/pgCC" -INLINE:none -Wc,-a --brief_diagnostics --error_limit1 --compress_names --diag_suppress450 --no_using_std --zc_eh -Kieee -fpic -gopt -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H -D__need_IOV_MAX -I".." -c -o "/scratch/boost/results/boost/bin.v2/libs/chrono/build/pgi-10.1/debug/threading-multi/thread_clock.o" "../libs/chrono/src/thread_clock.cpp"

"../boost/chrono/detail/inlined/posix/thread_clock.hpp", line 25 (col. 23): error: identifier "pthread_self" is undefined
Error limit reached.
1 error detected in the compilation of "../libs/chrono/src/thread_clock.cpp".
Compilation terminated.

TinyUrl 

[SVN r67786]
2011-01-08 15:35:07 +00:00
Vicente J. Botet Escriba
cdcf1a0960 Boost.Chrono: Sandia-pgi Make dependencies to process and thread clocks explicit so I can identify what don't works better
Test output: Sandia-pgi-10.1 - chrono - arithmetic_pass_shared / pgi-10.1
Rev 67766 / Sat, 8 Jan 2011 07:38:17 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000

Output by test variants:
boost/bin.v2/libs/chrono/test/arithmetic_pass_shared.test/pgi-10.1/debug/threading-multi
boost/bin.v2/libs/chrono/test/arithmetic_pass_shared.test/pgi-10.1/debug/threading-multi/duration



[SVN r67785]
2011-01-08 15:23:27 +00:00
Vicente J. Botet Escriba
1156acf6df Boost.Chrono: Try to solve SUN free/malloc undefined issue
Test output: Sandia-sun - chrono - io_ex3_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/io_ex3_shared.test/sun-5.10/debug/address-model-64/stdlib-sun-stlport/io_ex3.o" "../libs/chrono/test/../example/io_ex3.cpp"

"../boost/chrono/detail/scan_keyword.hpp", line 68: Error: free is not defined.
"../boost/chrono/chrono_io.hpp", line 642:     Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 642:     Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>(std::istream &, boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>&).
"../libs/chrono/test/../example/io_ex3.cpp", line 30:     Where: Instantiated from non-template code.
"../boost/chrono/detail/scan_keyword.hpp", line 71: Error: The function "malloc" must have a prototype.
"../boost/chrono/chrono_io.hpp", line 642:     Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 642:     Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>(std::istream &, boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<long long, boost::ratio<1, 1000000000>>>&).
"../libs/chrono/test/../example/io_ex3.cpp", line 30:     Where: Instantiated from non-template code.
2 Error(s) detected.

TinyUrl 

[SVN r67782]
2011-01-08 14:56:55 +00:00
Vicente J. Botet Escriba
1bd8afa903 Boost.Chrono: Try to solve function pointer issue
Test output:
Rev 67766 / Sat, 8 Jan 2011 01:49:47 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000

Compile [2011-01-08 02:36:12 UTC]: fail

    "/usr/bin/g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -Wextra -Wno-long-long -pedantic -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H  -I".." -c -o "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/build/darwin-4.0.1/debug/chrono.o" "../libs/chrono/src/chrono.cpp"

../boost/chrono/detail/inlined/mac/chrono.hpp: In static member function 'static boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::nanoseconds> boost::chrono::steady_clock::now()':
../boost/chrono/detail/inlined/mac/chrono.hpp:197: error: invalid conversion from 'int_least64_t (*)()' to 'int_least64_t (*)(boost::system::error_code&)'
../boost/chrono/detail/inlined/mac/chrono.hpp:206: error: too few arguments to function
../boost/chrono/detail/inlined/mac/chrono.hpp: In static member function 'static boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::nanoseconds> boost::chrono::steady_clock::now(boost::system::error_code&)':
../boost/chrono/detail/inlined/mac/chrono.hpp:213: error: invalid conversion from 'int_least64_t (*)()' to 'int_least64_t (*)(boost::system::error_code&)'
../boost/chrono/detail/inlined/mac/chrono.hpp: At global scope:
../boost/chrono/detail/inlined/mac/chrono.hpp:176: warning: 'int_least64_t (* boost::chrono::chrono_detail::init_steady_clock_ec(kern_return_t&))(boost::system::error_code&)' defined but not used

TinyUrl 


[SVN r67779]
2011-01-08 14:31:10 +00:00
Vicente J. Botet Escriba
4c49468da5 Boost.Chrono: change monotonic by steady
[SVN r67763]
2011-01-07 21:33:39 +00:00
Vicente J. Botet Escriba
6cbcd39ab6 Boost.Chrono: Try to solve malloc/free issue on Solaris
Test output: Sandia-sun - chrono - io_ex2_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/io_ex2_shared.test/sun-5.10/debug/address-model-64/stdlib-sun-stlport/io_ex2.o" "../libs/chrono/test/../example/io_ex2.cpp"

"../boost/chrono/detail/scan_keyword.hpp", line 88: Error: free is not defined.
"../boost/chrono/chrono_io.hpp", line 269:     Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 269:     Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, long long, boost::ratio<1, 1>>(std::istream &, boost::chrono::duration<long long, boost::ratio<1, 1>>&).
"../libs/chrono/test/../example/io_ex2.cpp", line 27:     Where: Instantiated from non-template code.
"../boost/chrono/detail/scan_keyword.hpp", line 91: Error: The function "malloc" must have a prototype.
"../boost/chrono/chrono_io.hpp", line 269:     Where: While instantiating "boost::chrono::chrono_detail::scan_keyword<std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, const std::string *, const std::string *, int&)".
"../boost/chrono/chrono_io.hpp", line 269:     Where: Instantiated from boost::chrono::operator>><char, std::char_traits<char>, long long, boost::ratio<1, 1>>(std::istream &, boost::chrono::duration<long long, boost::ratio<1, 1>>&).
"../libs/chrono/test/../example/io_ex2.cpp", line 27:     Where: Instantiated from non-template code.
2 Error(s) detected.

TinyUrl 

[SVN r67757]
2011-01-07 18:19:55 +00:00
Vicente J. Botet Escriba
22e211f401 Boost.Chrono: Try to solve some of the compile errors in
Test output:
Rev 67722 / Thu, 6 Jan 2011 16:21:35 +0000
Report Time: Fri, 7 Jan 2011 04:23:17 +0000

Compile [2011-01-07 01:53:45 UTC]: fail

    "/Users/caj/llvmboosttest/llvm-bin/bin/clang++" -x c++ -O0 -g -O0 -fno-inline -Wall -pedantic -g -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H -I".." -c -o "/Users/caj/llvmboosttest/boosttest/results/boost/bin.v2/libs/chrono/build/clang-darwin-2.9/debug/chrono.o" "../libs/chrono/src/chrono.cpp"

In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:69:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000000000000000)> atto;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:69:40: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1), BOOST_RATIO_INTMAX_C(1000000000000000000)> atto;
                                       ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:70:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),    BOOST_RATIO_INTMAX_C(1000000000000000)> femto;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:70:43: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),    BOOST_RATIO_INTMAX_C(1000000000000000)> femto;
                                          ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:71:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),       BOOST_RATIO_INTMAX_C(1000000000000)> pico;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:71:46: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),       BOOST_RATIO_INTMAX_C(1000000000000)> pico;
                                             ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:72:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),          BOOST_RATIO_INTMAX_C(1000000000)> nano;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:72:49: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),          BOOST_RATIO_INTMAX_C(1000000000)> nano;
                                                ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:73:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),             BOOST_RATIO_INTMAX_C(1000000)> micro;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:73:52: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),             BOOST_RATIO_INTMAX_C(1000000)> micro;
                                                   ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:74:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),                BOOST_RATIO_INTMAX_C(1000)> milli;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:74:55: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),                BOOST_RATIO_INTMAX_C(1000)> milli;
                                                      ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:75:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),                 BOOST_RATIO_INTMAX_C(100)> centi;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:75:56: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),                 BOOST_RATIO_INTMAX_C(100)> centi;
                                                       ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
100LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:76:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),                  BOOST_RATIO_INTMAX_C(10)> deci;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:76:57: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1),                  BOOST_RATIO_INTMAX_C(10)> deci;
                                                        ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
10LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:77:32: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<                 BOOST_RATIO_INTMAX_C(10), BOOST_RATIO_INTMAX_C(1)> deca;
                               ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
10LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:77:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<                 BOOST_RATIO_INTMAX_C(10), BOOST_RATIO_INTMAX_C(1)> deca;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:78:31: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<                BOOST_RATIO_INTMAX_C(100), BOOST_RATIO_INTMAX_C(1)> hecto;
                              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
100LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:78:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<                BOOST_RATIO_INTMAX_C(100), BOOST_RATIO_INTMAX_C(1)> hecto;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:79:30: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<               BOOST_RATIO_INTMAX_C(1000), BOOST_RATIO_INTMAX_C(1)> kilo;
                             ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:79:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<               BOOST_RATIO_INTMAX_C(1000), BOOST_RATIO_INTMAX_C(1)> kilo;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:80:27: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<            BOOST_RATIO_INTMAX_C(1000000), BOOST_RATIO_INTMAX_C(1)> mega;
                          ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:80:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<            BOOST_RATIO_INTMAX_C(1000000), BOOST_RATIO_INTMAX_C(1)> mega;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:81:24: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<         BOOST_RATIO_INTMAX_C(1000000000), BOOST_RATIO_INTMAX_C(1)> giga;
                       ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:81:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<         BOOST_RATIO_INTMAX_C(1000000000), BOOST_RATIO_INTMAX_C(1)> giga;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:82:21: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<      BOOST_RATIO_INTMAX_C(1000000000000), BOOST_RATIO_INTMAX_C(1)> tera;
                    ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:82:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<      BOOST_RATIO_INTMAX_C(1000000000000), BOOST_RATIO_INTMAX_C(1)> tera;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:83:18: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<   BOOST_RATIO_INTMAX_C(1000000000000000), BOOST_RATIO_INTMAX_C(1)> peta;
                 ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:83:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<   BOOST_RATIO_INTMAX_C(1000000000000000), BOOST_RATIO_INTMAX_C(1)> peta;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:84:15: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1000000000000000000), BOOST_RATIO_INTMAX_C(1)> exa;
              ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1000000000000000000LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:41:
In file included from ../boost/ratio.hpp:12:
In file included from ../boost/ratio/ratio.hpp:47:
../boost/ratio/ratio_fwd.hpp:84:58: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
typedef ratio<BOOST_RATIO_INTMAX_C(1000000000000000000), BOOST_RATIO_INTMAX_C(1)> exa;
                                                         ^
../boost/ratio/ratio_fwd.hpp:37:33: note: instantiated from:
#define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
                                ^
<scratch space>:70:1: note: instantiated from:
1LL
^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
../boost/chrono/duration.hpp:415:24: warning: extra ';' inside a class [-pedantic]
        duration() { } ;
                       ^
../boost/chrono/duration.hpp:495:10: warning: extra ';' inside a class [-pedantic]
        };
         ^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:65:
../boost/chrono/process_cpu_clocks.hpp:234:5: warning: class template 'numeric_limits' was previously declared as a struct template [-Wmismatched-tags]
    class numeric_limits<boost::chrono::process_cpu_clock::times>
    ^~~~~
    struct
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:13:
In file included from ../boost/chrono/chrono.hpp:62:
In file included from ../boost/chrono/duration.hpp:37:
/usr/include/c++/4.2.1/limits:285:12: note: previous use is here
    struct numeric_limits : public __numeric_limits_base
           ^
In file included from ../libs/chrono/src/chrono.cpp:14:
In file included from ../boost/chrono/detail/inlined/chrono.hpp:34:
../boost/chrono/detail/inlined/mac/chrono.hpp:91:5: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
../boost/chrono/detail/inlined/mac/chrono.hpp:92:5: error: expected unqualified-id
    return mach_absolute_time();
    ^
../boost/chrono/detail/inlined/mac/chrono.hpp:113:49: error: no member named 'compute_monotonic_factor' in namespace 'boost::chrono::chrono_detail'
    static const double factor = chrono_detail::compute_monotonic_factor(err);
                                 ~~~~~~~~~~~~~~~^
../boost/chrono/detail/inlined/mac/chrono.hpp:125:49: error: no member named 'compute_monotonic_factor' in namespace 'boost::chrono::chrono_detail'
    static const double factor = chrono_detail::compute_monotonic_factor(err);
                                 ~~~~~~~~~~~~~~~^
../boost/chrono/detail/inlined/mac/chrono.hpp:144:5: error: expected unqualified-id
    return static_cast<monotonic_clock::rep>(mach_absolute_time() * factor);
    ^
../boost/chrono/detail/inlined/mac/chrono.hpp:147:9: error: use of undeclared identifier 'monotonic_clock'
typedef monotonic_clock::rep (*FP)();
        ^
../boost/chrono/detail/inlined/mac/chrono.hpp:147:26: error: C++ requires a type specifier for all declarations
typedef monotonic_clock::rep (*FP)();
~~~~~~~                  ^
../boost/chrono/detail/inlined/mac/chrono.hpp:147:32: error: use of undeclared identifier 'FP'
typedef monotonic_clock::rep (*FP)();
                               ^
../boost/chrono/detail/inlined/mac/chrono.hpp:147:35: error: expected ';' after top level declarator
typedef monotonic_clock::rep (*FP)();
                                  ^
                                  ;
../boost/chrono/detail/inlined/mac/chrono.hpp:148:9: error: use of undeclared identifier 'monotonic_clock'
typedef monotonic_clock::rep (*FP_ec)(system::error_code &);
        ^
../boost/chrono/detail/inlined/mac/chrono.hpp:148:26: error: C++ requires a type specifier for all declarations
typedef monotonic_clock::rep (*FP_ec)(system::error_code &);
~~~~~~~                  ^
../boost/chrono/detail/inlined/mac/chrono.hpp:148:32: error: use of undeclared identifier 'FP_ec'
typedef monotonic_clock::rep (*FP_ec)(system::error_code &);
                               ^
../boost/chrono/detail/inlined/mac/chrono.hpp:148:38: error: expected ';' after top level declarator
typedef monotonic_clock::rep (*FP_ec)(system::error_code &);
                                     ^
                                     ;
../boost/chrono/detail/inlined/mac/chrono.hpp:152:1: error: unknown type name 'FP'
FP
^
../boost/chrono/detail/inlined/mac/chrono.hpp:162:17: error: use of undeclared identifier 'chrono_detail'
        return &chrono_detail::monotonic_simplified;
                ^
../boost/chrono/detail/inlined/mac/chrono.hpp:163:13: error: use of undeclared identifier 'chrono_detail'
    return &chrono_detail::monotonic_full;
            ^
../boost/chrono/detail/inlined/mac/chrono.hpp:167:1: error: unknown type name 'FP_ec'
FP_ec
^
../boost/chrono/detail/inlined/mac/chrono.hpp:177:17: error: use of undeclared identifier 'chrono_detail'
        return &chrono_detail::monotonic_simplified_ec;
                ^
../boost/chrono/detail/inlined/mac/chrono.hpp:178:13: error: use of undeclared identifier 'chrono_detail'
    return &chrono_detail::monotonic_full_ec;
            ^
../boost/chrono/detail/inlined/mac/chrono.hpp:181:1: error: use of undeclared identifier 'monotonic_clock'
monotonic_clock::time_point
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
36 warnings and 20 errors generated.


[SVN r67748]
2011-01-07 07:09:00 +00:00
Vicente J. Botet Escriba
d785d02835 Boost.Chrono: Try to solve issue
Test output: daw-msvc71 - chrono - arithmetic_pass_shared / msvc-7.1
Rev 67704 / Thu, 6 Jan 2011 02:00:52 +0000
Report Time: Thu, 6 Jan 2011 12:15:03 +0000

Compile [2011-01-06 04:45:50 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\arithmetic_pass_shared.test\msvc-7.1\debug\asynch-exceptions-on\threading-multi\duration\arithmetic_pass.obj.rsp" 

arithmetic_pass.cpp
..\boost\chrono\duration.hpp(443) : error C2039: 'duration_cast' : is not a member of 'boost'
        ..\libs\chrono\test\duration\arithmetic_pass.cpp(69) : see reference to function template instantiation 'boost::chrono::duration<Rep>::duration<boost::int_least32_t,boost::ratio<N>>(const boost::chrono::duration<boost::int_least32_t,Period> &,boost::enable_if_c<B,T>::type *)' being compiled
        with
        [
            Rep=boost::int_least64_t,
            N=0x03c,
            Period=boost::ratio<0x03c>,
            B=true,
            T=void
        ]
..\boost\chrono\duration.hpp(443) : error C2275: 'boost::chrono::duration<Rep>' : illegal use of this type as an expression
        with
        [
            Rep=boost::int_least64_t
        ]
..\boost\chrono\duration.hpp(443) : fatal error C1903: unable to recover from previous error(s); stopping compilation


[SVN r67739]
2011-01-06 23:46:36 +00:00
Vicente J. Botet Escriba
cc23c75fd4 Boost.Chrono: Try to solve issue
Test output: daw-msvc71 - chrono - arithmetic_pass_shared / msvc-7.1
Rev 67704 / Thu, 6 Jan 2011 02:00:52 +0000
Report Time: Thu, 6 Jan 2011 12:15:03 +0000

Compile [2011-01-06 04:45:50 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\arithmetic_pass_shared.test\msvc-7.1\debug\asynch-exceptions-on\threading-multi\duration\arithmetic_pass.obj.rsp" 

arithmetic_pass.cpp
..\boost\chrono\duration.hpp(443) : error C2039: 'duration_cast' : is not a member of 'boost'
        ..\libs\chrono\test\duration\arithmetic_pass.cpp(69) : see reference to function template instantiation 'boost::chrono::duration<Rep>::duration<boost::int_least32_t,boost::ratio<N>>(const boost::chrono::duration<boost::int_least32_t,Period> &,boost::enable_if_c<B,T>::type *)' being compiled
        with
        [
            Rep=boost::int_least64_t,
            N=0x03c,
            Period=boost::ratio<0x03c>,
            B=true,
            T=void
        ]
..\boost\chrono\duration.hpp(443) : error C2275: 'boost::chrono::duration<Rep>' : illegal use of this type as an expression
        with
        [
            Rep=boost::int_least64_t
        ]
..\boost\chrono\duration.hpp(443) : fatal error C1903: unable to recover from previous error(s); stopping compilation


[SVN r67719]
2011-01-06 14:31:37 +00:00
Vicente J. Botet Escriba
4dcb3d699e Boost.Chrono: Try to solve issue
Test output:
Rev 67704 / Thu, 6 Jan 2011 01:52:50 +0000
Report Time: Thu, 6 Jan 2011 05:03:31 +0000

Compile [2011-01-06 02:46:37 UTC]: fail

    "/usr/bin/g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -Wextra -Wno-long-long -pedantic -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H  -I".." -c -o "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/build/darwin-4.0.1/debug/process_cpu_clocks.o" "../libs/chrono/src/process_cpu_clocks.cpp"

../boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp: In static member function 'static boost::chrono::time_point<boost::chrono::process_real_cpu_clock, boost::chrono::nanoseconds> boost::chrono::process_real_cpu_clock::now(boost::system::error_code&)':
../boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp:47: error: 'tms' was not declared in this scope


[SVN r67715]
2011-01-06 08:22:31 +00:00
Vicente J. Botet Escriba
cff5b08370 Boost.Chrono: Moved to trunk IO + cleanup
[SVN r67701]
2011-01-06 00:51:44 +00:00
Vicente J. Botet Escriba
6a81449e13 Boost.Chrono: Moved to trunk
[SVN r67700]
2011-01-06 00:50:01 +00:00
Vicente J. Botet Escriba
f5eb279eee Boost.Chrono: Moved to trunk
[SVN r67697]
2011-01-05 23:46:58 +00:00