diff options
author | Solomon Choina <shlomochoina@gmail.com> | 2017-11-28 22:57:27 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-29 21:27:00 +0200 |
commit | 2fdfb50da8effc9aa8717ca4c375a94a16074c14 (patch) | |
tree | fd4eed62e119b96c519cb8a175efbcfd4e29ee00 /mesonbuild/compilers/cpp.py | |
parent | 01ab4acf7fedf2662521f08af656c4fbff2bf00f (diff) | |
download | meson-2fdfb50da8effc9aa8717ca4c375a94a16074c14.zip meson-2fdfb50da8effc9aa8717ca4c375a94a16074c14.tar.gz meson-2fdfb50da8effc9aa8717ca4c375a94a16074c14.tar.bz2 |
adding C++98 to versions that meson can support
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index a9093b3..15eb9a0 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -76,7 +76,7 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler): def get_options(self): return {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use', - ['none', 'c++03', 'c++11', 'c++14', 'c++1z', + ['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++1z', 'gnu++11', 'gnu++14', 'gnu++1z'], 'none')} @@ -102,7 +102,7 @@ class GnuCPPCompiler(GnuCompiler, 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++98', 'c++03', 'c++11', 'c++14', 'c++1z', 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'], 'none'), 'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl', |