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

Visual Studio 2019以前をサポート外とする #1954

Open
tats-u opened this issue May 19, 2024 · 2 comments
Open

Visual Studio 2019以前をサポート外とする #1954

tats-u opened this issue May 19, 2024 · 2 comments

Comments

@tats-u
Copy link
Contributor

tats-u commented May 19, 2024

(自由記述)

関連:#1944

#1952 でクローズ予定にされたので切り離します

2017を切るメリット・動機

  • C++20・C17は2017に対応していない
  • Express 2017 for Windows Desktopへの言及を不要化

2019を切るメリット・動機

  • 今後C++23モードが入らない(2019のC++20モードは最後の16.11で追加された。2025が出るかその直前あたりに2022にC++23対応モードが入ることが期待できる)

よくある懸念

@berryzplus
Copy link
Contributor

WinUI3のプロジェクトテンプレートは規定でC++17対応になっていますが、準拠レベルをC++20にするとビルドエラーが出たような気がします。(要検証。)

近年のVCランタイムは Visual Studio 2015 互換 で、vs2017,vs2019,vs2022で作成したプログラムのためにランタイムDLLを追加する必要はない仕様になっています。今後どうなるか不明ですが「そろそろ打ち切られるかも?」と思ってます。

@tats-u
Copy link
Contributor Author

tats-u commented May 29, 2024

準拠レベルをC++20にするとビルドエラーが出たような気がします

本当ならばちょっとまずいですね。検証が必要な点には変わりありませんが。

近年のVCランタイムは Visual Studio 2015 互換 で、vs2017,vs2019,vs2022で作成したプログラムのためにランタイムDLLを追加する必要はない仕様になっています。

メジャーバージョンが14のままですからね。今後は2017~2025(2028)セットになるかもしれません。
とはいえ.NET Framework 4系みたいにコードベース共通でターゲットバージョンによって細かい挙動を変えてたりするんでしょうかね。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants