We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 323e743 commit 66c42f8Copy full SHA for 66c42f8
setup.py
@@ -1599,9 +1599,9 @@ def detect_expat_elementtree(self):
1599
1600
cc = sysconfig.get_config_var('CC').split()[0]
1601
ret = os.system(
1602
- '"%s" -Werror -Wimplicit-fallthrough -E -xc /dev/null >/dev/null 2>&1' % cc)
+ '"%s" -Werror -Wno-unreachable-code -E -xc /dev/null >/dev/null 2>&1' % cc)
1603
if ret >> 8 == 0:
1604
- extra_compile_args.append('-Wno-implicit-fallthrough')
+ extra_compile_args.append('-Wno-unreachable-code')
1605
1606
self.add(Extension('pyexpat',
1607
define_macros=define_macros,
0 commit comments