summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Choina <shlomochoina@gmail.com>2017-11-28 22:57:27 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2017-11-29 21:27:00 +0200
commit2fdfb50da8effc9aa8717ca4c375a94a16074c14 (patch)
treefd4eed62e119b96c519cb8a175efbcfd4e29ee00
parent01ab4acf7fedf2662521f08af656c4fbff2bf00f (diff)
downloadmeson-2fdfb50da8effc9aa8717ca4c375a94a16074c14.tar.gz
adding C++98 to versions that meson can support
-rw-r--r--mesonbuild/compilers/cpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index a9093b31e..15eb9a0e6 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',