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 3e65830 commit 95da310Copy full SHA for 95da310
setup.py
@@ -1608,9 +1608,9 @@ def detect_expat_elementtree(self):
1608
1609
cc = sysconfig.get_config_var('CC').split()[0]
1610
ret = os.system(
1611
- '"%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)
1612
if ret >> 8 == 0:
1613
- extra_compile_args.append('-Wno-implicit-fallthrough')
+ extra_compile_args.append('-Wno-unreachable-code')
1614
1615
self.add(Extension('pyexpat',
1616
define_macros=define_macros,
0 commit comments