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'
pull/1253/head
Nirbheek Chauhan 8 years ago
parent 6b774982fe
commit 509bc30cdd
  1. 2
      mesonbuild/compilers.py

@ -2358,7 +2358,7 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler):
def get_options(self): def get_options(self):
return {'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use', return {'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'], 'gnu++11', 'gnu++14', 'gnu++1z'],
'none')} 'none')}
def get_option_compile_args(self, options): def get_option_compile_args(self, options):

Loading…
Cancel
Save