Skip to content

Conversation

@StephanTLavavej
Copy link
Member

The Microsoft-internal compiler bug VSO-1271718 "Standard Library Header Units ICE with C++20 chrono" has been fixed for VS 2019 16.10 Preview 1. To prevent compiler regressions between now and the time when Preview 1 ships publicly, we should activate the affected parts of the Standard Library Header Units test for the MSVC-internal test harness.

When Preview 1 is publicly available, we'll be able to remove these workarounds unconditionally.

As an aside, what triggered this ICE was the technique needed to implement LWG-3260:

STL/stl/inc/chrono

Lines 1253 to 1254 in 47cd703

template <int = 0>
constexpr year_month& operator+=(const months& _Months) noexcept;

@StephanTLavavej StephanTLavavej added the test Related to test code label Feb 6, 2021
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner February 6, 2021 02:10
@StephanTLavavej StephanTLavavej self-assigned this Feb 10, 2021
@StephanTLavavej StephanTLavavej merged commit b7c673e into microsoft:main Feb 12, 2021
@StephanTLavavej StephanTLavavej deleted the chrono_ice branch February 12, 2021 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants