Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete <cvt/meow> #4458

Merged
merged 9 commits into from
Mar 16, 2024
Merged

Conversation

StephanTLavavej
Copy link
Member

Fixes #282.

<cvt/meow> was deprecated by #3924 in VS 2022 17.8, so we'll have shipped two long-term-support releases (17.8 and 17.10) with that deprecation. @MahmoudGSaleh has confirmed that we can go ahead and remove these headers in 17.11. These headers were never documented.

In VS, this will delete 78 files, 4.8 MB, which is the major benefit that users will experience. For us, it reduces our test costs and maintenance surface area.

  • Delete stl/inc/cvt (78 files, 5,061,936 bytes).
  • stl/CMakeLists.txt: Drop all ${CMAKE_CURRENT_LIST_DIR}/inc/cvt/ lines.
  • yvals_core.h: _DEPRECATE_STDEXT_CVT is now unused; replace it with a tombstone for STL4044.
  • Delete tests/tr1/tests/cvt (76 files, 32,051 bytes).
  • Delete tests/tr1/include/cvt_xtest.h (1 file, 4,990 bytes).
  • tests/tr1/test.lst: Drop all tests\cvt\ lines.
  • tests/std/tests: Delete Dev11_0453373_codecvt_compiles and VSO_0000000_instantiate_cvt (4 files, 7,866 bytes).
  • tests/std/test.lst: Drop Dev11_0453373_codecvt_compiles and VSO_0000000_instantiate_cvt.
  • P0218R1_filesystem: Drop/replace test coverage using stdext::cvt facets.
    • There are no replacements for stdext::cvt::codecvt_cp1251 and stdext::cvt::codecvt_sjis.
    • We can replace stdext::cvt::codecvt_utf8_utf16 with the deprecated std::codecvt_utf8_utf16.
    • This was the last use of _SILENCE_STDEXT_CVT_DEPRECATION_WARNING.

⚠️ Note to self: this will require a slightly larger-than-usual amount of MSVC-internal work to remove the cvt subdirectory from the build and setup authoring.

@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Mar 8, 2024
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner March 8, 2024 20:07
@StephanTLavavej StephanTLavavej self-assigned this Mar 15, 2024
@StephanTLavavej
Copy link
Member Author

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit c02643f into microsoft:main Mar 16, 2024
37 checks passed
@StephanTLavavej StephanTLavavej deleted the cvt-ectomy branch March 16, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

<cvt/meow>: Remove the cvt subdirectory
2 participants