Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip

MozReview-Commit-ID: BhxZ3acIopN

--HG--
extra : rebase_source : c15e0ef9d549902440b8cb62dd7f11a17d94bc7b
This commit is contained in:
Sylvestre Ledru 2017-08-04 21:38:16 +02:00
parent f57efef2ca
commit b7de964055

View File

@ -44,6 +44,10 @@ elif CONFIG['GNU_CXX']:
if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL']:
CXXFLAGS += [
'-Wno-implicit-fallthrough',
'-Wno-c++11-narrowing',
]
if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL'] or CONFIG['GNU_CXX']:
CXXFLAGS += [
'-Wno-implicit-fallthrough',
]