Now that the ChronoSanityCheck
has passed for everyone with C++17 and is guaranteed by C++20 to always pass, remove it.
Also, remove gmtime_r
and gmtime_s
and replace them with year_month_day
+hh_mm_ss
from C++20.
Now that the ChronoSanityCheck
has passed for everyone with C++17 and is guaranteed by C++20 to always pass, remove it.
Also, remove gmtime_r
and gmtime_s
and replace them with year_month_day
+hh_mm_ss
from C++20.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For detailed information about the code coverage, see the test coverage report.
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Finally :)
Concept ACK.
util/time.cpp:60:24: error: ‘year_month_day’ in namespace ‘std::chrono’ does not name a type
It would have been too easy if it had just worked in the real world :p
Edit: looks like this is first available with libstdc++ 11.1: https://github.com/gcc-mirror/gcc/commit/03d5044b31f7bf94fcda4136b4ed87a5fee7735d . I’m assuming our mingw builder is using something older?
File | commit 1b2dedbf5c4520774df020d06d848f29e3439b52(master) | commit e652b600be5ef4b0feb9695b1eabdedb4f64c58d(master and this pull) |
---|---|---|
SHA256SUMS.part | e26cbf7c47c1e628... |
|
*-aarch64-linux-gnu-debug.tar.gz | 751497dd9987c54a... |
|
*-aarch64-linux-gnu.tar.gz | 139b5e7f8534df57... |
|
*-arm-linux-gnueabihf-debug.tar.gz | ff31610bf056d1f6... |
|
*-arm-linux-gnueabihf.tar.gz | 57b94de21440b37e... |
|
*-arm64-apple-darwin-unsigned.tar.gz | a5ca39be7a16056d... |
|
*-arm64-apple-darwin-unsigned.zip | 25b24e68f83cd916... |
|
*-arm64-apple-darwin.tar.gz | 9bb85e4892af91c4... |
|
*-powerpc64-linux-gnu-debug.tar.gz | afcfd38b7b9fddd8... |
|
*-powerpc64-linux-gnu.tar.gz | 3035b844df9e0ee4... |
|
*-powerpc64le-linux-gnu-debug.tar.gz | 639ce27bb7a7531a... |
|
*-powerpc64le-linux-gnu.tar.gz | 827691729935bbce... |
|
*-riscv64-linux-gnu-debug.tar.gz | 2fa0f3bfb31b38cc... |
|
*-riscv64-linux-gnu.tar.gz | eb9b434686d85d15... |
|
*-x86_64-apple-darwin-unsigned.tar.gz | 4afc08d1ce24a2fb... |
|
*-x86_64-apple-darwin-unsigned.zip | f407031433f298c9... |
|
*-x86_64-apple-darwin.tar.gz | ef6501565607adbb... |
|
*-x86_64-linux-gnu-debug.tar.gz | 189ec3e6b94673ba... |
|
*-x86_64-linux-gnu.tar.gz | 012164ecdb96c0be... |
|
*.tar.gz | 22783dcb8deddd29... |
7a4458f64b88fc64... |
guix_build.log | e04a367c86d8bc6b... |
a2fb30e702314e36... |
guix_build.log.diff | 8718267e44cbcde2... |
1143- [ AC_MSG_RESULT([yes])],
1144- [ AC_MSG_RESULT([no]); AC_MSG_ERROR([Both gmtime_r and gmtime_s are unavailable]) ]
1145- )
1146- ]
1147-)
1148-
AC_SUBST(HAVE_GMTIME_R)
.
ParseISO8601DateTime
in favour of the std lib?
Concept ACK - can we also drop the Boost date_time usage from
ParseISO8601DateTime
in favour of the std lib?
Probably no. std::chrono::parse
isn’t released yet in gcc at all, or did you mean something else?
Probably no. std::chrono::parse isn’t released yet in gcc at all, or did you mean something else?
Damn. I just meant any possibility to get rid of Boost.
Probably no. std::chrono::parse isn’t released yet in gcc at all, or did you mean something else?
Damn. I just meant any possibility to get rid of Boost.
At least this one is header-only in a single translation unit, so should be fine to stay around for another 3 years
This reverts commit 3c2e16be22ae04bf56663ee5ec1554d0d569741b.