Skip to content

Commit

Permalink
intel c18 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jun 26, 2019
1 parent fc738a3 commit fc66f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesonbuild/compilers/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get_option_compile_args(self, options):
std = options['c_std']
sval = std.value
if sval != 'none':
if sval in ('c17', '18'):
if sval in ('c17', 'c18'):
sval = 'c11' # C17/C18 are bugfix to C11
args.append('-std=' + sval)
return args
Expand Down Expand Up @@ -318,7 +318,7 @@ def get_option_compile_args(self, options):
mlog.warning("ICL doesn't explicitly implement c89, setting the standard to 'none', which is close.")
elif std.value != 'none':
sval = std.value
if sval in ('c17', '18'):
if sval in ('c17', 'c18'):
sval = 'c11' # C17/C18 are bugfix to C11
args.append('/Qstd:' + sval)
return args
Expand Down

0 comments on commit fc66f4a

Please sign in to comment.