Use -Wno-implicit-fallthrough

This commit is contained in:
David Friberg 2019-03-14 10:21:46 -05:00
parent adab422443
commit 57e8a93ae0
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ def configure(conf):
conf.env['BUILD_WERROR'] = not RELEASE
add_cflag(conf, '-Wall')
add_cflag(conf, '-Wimplicit-fallthrough=0')
add_cflag(conf, '-Wno-implicit-fallthrough')
add_cflag(conf, '--warn-no-restrict')
# lash_wrap code is generated by swig and causes warnings
if not conf.env['BUILD_PYLASH']: