Use -Wno-implicit-fallthrough
This commit is contained in:
parent
adab422443
commit
57e8a93ae0
2
wscript
2
wscript
|
@ -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']:
|
||||
|
|
Loading…
Reference in New Issue