Fix build for gcc 8.2.1

This commit is contained in:
David Friberg 2019-03-13 18:47:20 -05:00
parent 5fe205f2dc
commit adab422443
1 changed files with 2 additions and 0 deletions

View File

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