From bc347aed0be4d8ea6210a546fb350f7bc1eee529 Mon Sep 17 00:00:00 2001 From: Zhe Wang <0x1998@gmail.com> Date: Tue, 28 Jun 2016 00:31:07 +0800 Subject: [PATCH] GnuCPPCompiler: allow usage of GNU extensions (#619) * GnuCPPCompiler: allow usage of GNU extensions * Add myself to authors.txt --- authors.txt | 1 + mesonbuild/compilers.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/authors.txt b/authors.txt index de1267643..0e992ac91 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 4628c74e6..5d941826c 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',