diff options
author | Zhe Wang <0x1998@gmail.com> | 2016-06-28 00:31:07 +0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-27 19:31:07 +0300 |
commit | bc347aed0be4d8ea6210a546fb350f7bc1eee529 (patch) | |
tree | 3c4daa1917b4488a96a8955f3b9a4a9494f27b44 | |
parent | 35eb8c7b9a0ef755aa228619dd04f937410743c9 (diff) | |
download | meson-bc347aed0be4d8ea6210a546fb350f7bc1eee529.zip meson-bc347aed0be4d8ea6210a546fb350f7bc1eee529.tar.gz meson-bc347aed0be4d8ea6210a546fb350f7bc1eee529.tar.bz2 |
GnuCPPCompiler: allow usage of GNU extensions (#619)
* GnuCPPCompiler: allow usage of GNU extensions
* Add myself to authors.txt
-rw-r--r-- | authors.txt | 1 | ||||
-rw-r--r-- | mesonbuild/compilers.py | 3 |
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', |