GnuCPPCompiler: allow usage of GNU extensions (#619)

* GnuCPPCompiler: allow usage of GNU extensions

* Add myself to authors.txt
This commit is contained in:
Zhe Wang 2016-06-28 00:31:07 +08:00 committed by Jussi Pakkanen
parent 35eb8c7b9a
commit bc347aed0b
2 changed files with 3 additions and 1 deletions

View File

@ -38,3 +38,4 @@ Martin Hostettler
Sam Thursfield
Noam Meltzer
Vincent Szolnoky
Zhe Wang

View File

@ -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',