Files
meson/mesonbuild/compilers/cpp.py
Aleksandr Kovalko 2b4f5dcd1b compilers/cpp: add vc++23 to ALL_STDS
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.
2026-07-07 11:43:46 -07:00

49 KiB