From c858fa53016abf688f194b2c71c35e0daa73d5f9 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Tue, 11 Apr 2023 11:34:01 +0300 Subject: Add c++23 to the list of C++ standards. --- mesonbuild/compilers/cpp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index b37f8cd..bb2176b 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -210,8 +210,8 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler): }) opts[key.evolve('std')].choices = [ 'none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', - 'c++2a', 'c++20', 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z', - 'gnu++2a', 'gnu++20', + 'c++2a', 'c++20', 'c++23', 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z', + 'gnu++2a', 'gnu++20', 'gnu++23' ] if self.info.is_windows() or self.info.is_cygwin(): opts.update({ @@ -386,8 +386,8 @@ class GnuCPPCompiler(GnuCompiler, CPPCompiler): }) opts[key].choices = [ 'none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', - 'c++2a', 'c++20', 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++17', - 'gnu++1z', 'gnu++2a', 'gnu++20', + 'c++2a', 'c++20', 'c++23', 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++17', + 'gnu++1z', 'gnu++2a', 'gnu++20', 'gnu++23', ] if self.info.is_windows() or self.info.is_cygwin(): opts.update({ -- cgit v1.1