Disable -Wimplicit-fallthrough in jsoncpp

GCC 7 supports the clang option -Wimplicit-fallthrough.
This commit is contained in:
trav90 2018-03-04 15:24:28 -06:00 committed by Roy Tam
commit c0174b24f7

View file

@ -32,3 +32,8 @@ DISABLE_STL_WRAPPING = True
Library('jsoncpp')
include('/toolkit/crashreporter/crashreporter.mozbuild')
if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL'] or CONFIG['GNU_CXX']:
CXXFLAGS += [
'-Wno-implicit-fallthrough',
]