[PR #12658] Fix compilation under and enable C++20 #29157

Open
opened 2026-01-31 09:33:10 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12658

State: closed
Merged: Yes


This commit enables /std:c++20 for local development under VS17.
Our CIs will continue to use VS16 and C++17 for now in order to reduce
the likelihood of regressions during the current development cycle.
It's expected that we'll migrate to VS17 soon, as this
is what conhost is already being built with anyways.

PR Checklist

Validation Steps Performed

  • Everything compiles under /std:c++20
**Original Pull Request:** https://github.com/microsoft/terminal/pull/12658 **State:** closed **Merged:** Yes --- This commit enables `/std:c++20` for local development under VS17. Our CIs will continue to use VS16 and C++17 for now in order to reduce the likelihood of regressions during the current development cycle. It's expected that we'll migrate to VS17 soon, as this is what conhost is already being built with anyways. ## PR Checklist * [x] Closes #12510 * [x] I work here * [x] Tests added/passed ## Validation Steps Performed * Everything compiles under `/std:c++20` ✅
claunia added the pull-request label 2026-01-31 09:33:10 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29157