aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--authors.txt1
-rw-r--r--mesonbuild/compilers.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/authors.txt b/authors.txt
index de12676..0e992ac 100644
--- a/authors.txt
+++ b/authors.txt
@@ -38,3 +38,4 @@ Martin Hostettler
Sam Thursfield
Noam Meltzer
Vincent Szolnoky
+Zhe Wang
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 4628c74..5d94182 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1828,7 +1828,8 @@ class GnuCPPCompiler(CPPCompiler):
def get_options(self):
opts = {'cpp_std' : coredata.UserComboOption('cpp_std', 'C++ language standard to use',
- ['none', 'c++03', 'c++11', 'c++14', 'c++1z'],
+ ['none', 'c++03', 'c++11', 'c++14', 'c++1z',
+ 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'],
'none'),
'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl',
'STL debug mode',