Commit Graph

2 Commits

Author SHA1 Message Date
sephiroth99
6baf6351a1 [Kernel] Fix usage of date library
For backwards compatibility reasons, the date library does not use the
new C++17 uncaught_exception signature, even if compiling under C++17.

With GCC 10, libstdc++ marks the old uncaught_exception signature as
deprecated, so this causes a compilation error.

Fortunately, date library provides a way to select which
uncaught_exception version to use, so force using the new version.

Signed-off-by: sephiroth99 <sephiroth99@gmail.com>
2021-01-31 23:22:59 -06:00
gibbed
4f25a96928 [Kernel] Overhaul Rtl time functions.
- Add date third party submodule.
- [Kernel] Add xclock.
- [Kernel] Reimplement RtlTimeToTimeFields using std::chrono/date/xclock.
- [Kernel] Reimplement RtlTimeFieldsToTime using std::chrono/date/xclock.
- Supersedes #1612.
2020-11-22 14:48:36 -06:00