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

変愚「[Feature] C++ 言語の標準バージョンを C++20 にする」のマージ #4152

Merged
merged 3 commits into from
Jan 3, 2024

Conversation

sikabane-works
Copy link
Owner

No description provided.

各プラットフォームで対応の準備が整ったので、C++ 言語の標準バージョンを C++20 にする。
なお、Visual Studio 用プロジェクトの設定は latest (C++23 の機能を含むプレビュー
バージョン)が指定されていたが、こちらも C++20 を指定することとする。
C++20 では volatile は deplecated 扱いであり、configure の実行中に volatile
を含むコードで警告が発生する。CI のコンパイルテストで -Werror を指定しているため、
警告がエラー扱いとなり configure がエラー終了してしまい、その結果テストが通らなくなる。
対策として autoconf 用マクロのコードから volatile を削除する。
C++20 では volatile は deprecated なので削除する。
@sikabane-works sikabane-works added the enhancement New feature or request label Jan 3, 2024
@sikabane-works sikabane-works self-assigned this Jan 3, 2024
@sikabane-works sikabane-works merged commit 0592db3 into develop Jan 3, 2024
5 checks passed
@sikabane-works sikabane-works deleted the merge/heng#2978 branch January 3, 2024 22:20
sikabane-works added a commit that referenced this pull request Aug 11, 2024
変愚「ang_sort_comp_quest_num() / ang_sort_swap_quest_num() を廃止した #4152」のマージ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

変愚「[Feature] C++ 言語の標準バージョンを C++20 にする」のマージ
2 participants