From 509bc30cddd9574b8aa544afaa772d8ad72596e0 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 29 Dec 2016 22:01:05 +0530 Subject: [PATCH] compilers: gnu++03 is not a valid Clang C++ standard It is not (no longer?) supported by Clang: error: invalid value 'gnu++03' in '-std=gnu++03' --- mesonbuild/compilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index bde829aaf..40c58d6b6 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -2358,7 +2358,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', - 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'], + 'gnu++11', 'gnu++14', 'gnu++1z'], 'none')} def get_option_compile_args(self, options):