Skip to content

Commit

Permalink
mypyc: Remove -Wno-trigraphs from CFLAGS
Browse files Browse the repository at this point in the history
The compiler will not complain about trigraphs anymore because we now
escape all question marks in C string literals.
  • Loading branch information
saleemrashid committed Nov 19, 2019
1 parent 9dd97f7 commit 22bc75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypyc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def mypycify(
if compiler.compiler_type == 'unix':
cflags += [
'-O{}'.format(opt_level), '-Werror', '-Wno-unused-function', '-Wno-unused-label',
'-Wno-unreachable-code', '-Wno-unused-variable', '-Wno-trigraphs',
'-Wno-unreachable-code', '-Wno-unused-variable',
'-Wno-unused-command-line-argument', '-Wno-unknown-warning-option',
]
if 'gcc' in compiler.compiler[0]:
Expand Down

0 comments on commit 22bc75f

Please sign in to comment.