summaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorBenjamin Redelings <benjamin.redelings@gmail.com>2023-10-07 10:37:49 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2023-10-09 23:53:31 +0300
commit84b8d257e490a29dbc2d439971fa0aa3669c8bbb (patch)
treeb48fb62f9b203530158ce596a53d0ea68bfcded4 /mesonbuild
parent49a6a99c7fe85c66ff3e1f71e6c0fccb969acd2b (diff)
downloadmeson-84b8d257e490a29dbc2d439971fa0aa3669c8bbb.tar.gz
Allow c++23 in gcc-11.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/compilers/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index ba7539c6f..dc733dd9e 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -426,7 +426,7 @@ class GnuCPPCompiler(_StdCPPLibMixin, GnuCompiler, CPPCompiler):
'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z',
'c++2a', 'c++20',
]
- if version_compare(self.version, '>=12.2.0'):
+ if version_compare(self.version, '>=11.0.0'):
cppstd_choices.append('c++23')
if version_compare(self.version, '>=14.0.0'):
cppstd_choices.append('c++26')