Skip to content

Conversation

@StephanTLavavej
Copy link
Member

@cdacamar just merged MSVC-PR-310951 "[modules] Persist standard C++ attributes" to fix DevCom-1160041 VSO-1180134 "Standard Library Header Units: deprecated attributes aren't imported". As expected, this causes the test's usage of codecvt_mode::consume_header to emit a deprecation warning:

enum _CXX17_DEPRECATE_CODECVT_HEADER codecvt_mode { consume_header = 4, generate_header = 2, little_endian = 1 };

The fix is to silence the deprecation warning and remove the TRANSITION comment. This is consistent with the test coverage below for <strstream> - we know we're exercising deprecated machinery.

It's OK to apply this change to GitHub (which is using the latest public preview, 16.10 Preview 1) before picking up the compiler change - we can suppress a deprecation warning that isn't being emitted.

@StephanTLavavej StephanTLavavej added the test Related to test code label Mar 16, 2021
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner March 16, 2021 22:41
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