|
|
|
@ -615,7 +615,7 @@ class Xc16CCompiler(Xc16Compiler, CCompiler): |
|
|
|
|
|
|
|
|
|
def get_options(self) -> 'OptionDictType': |
|
|
|
|
opts = CCompiler.get_options(self) |
|
|
|
|
opts.update({'c_std': coredata.UserComboOption('C language standard to use', |
|
|
|
|
opts.update({'std': coredata.UserComboOption('C language standard to use', |
|
|
|
|
['none', 'c89', 'c99', 'gnu89', 'gnu99'], |
|
|
|
|
'none')}) |
|
|
|
|
return opts |
|
|
|
@ -660,7 +660,7 @@ class CompCertCCompiler(CompCertCompiler, CCompiler): |
|
|
|
|
|
|
|
|
|
def get_options(self) -> 'OptionDictType': |
|
|
|
|
opts = CCompiler.get_options(self) |
|
|
|
|
opts.update({'c_std': coredata.UserComboOption('C language standard to use', |
|
|
|
|
opts.update({'std': coredata.UserComboOption('C language standard to use', |
|
|
|
|
['none', 'c89', 'c99'], |
|
|
|
|
'none')}) |
|
|
|
|
return opts |
|
|
|
@ -698,7 +698,7 @@ class C2000CCompiler(C2000Compiler, CCompiler): |
|
|
|
|
|
|
|
|
|
def get_options(self) -> 'OptionDictType': |
|
|
|
|
opts = CCompiler.get_options(self) |
|
|
|
|
opts.update({'c_std': coredata.UserComboOption('C language standard to use', |
|
|
|
|
opts.update({'std': coredata.UserComboOption('C language standard to use', |
|
|
|
|
['none', 'c89', 'c99', 'c11'], |
|
|
|
|
'none')}) |
|
|
|
|
return opts |
|
|
|
|