mirror of
https://github.com/mesonbuild/meson.git
synced 2026-08-05 15:20:27 +00:00
ClangClCPPCompiler.get_options() registers 'vc++23' as a valid cpp_std
value (since commit 3b7c81d4, 'clang-cl: add c++23 support ...'), but
'vc++23' was never added to the ALL_STDS list that backs the cpp_std
UserStdOption. UserStdOption.set_versions() therefore trips its
assert all(std in self.all_stds for std in versions)
as soon as a clang-cl C++ compiler is detected, aborting configuration
with an AssertionError ("Unhandled python exception") for every C++
project built with clang-cl. MSVC is unaffected because it never
registers the vc++23 standard.
Add the missing 'vc++23' entry so the compiler's advertised stds are a
subset of ALL_STDS again.
49 KiB
49 KiB