mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
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:
parent
4aaec5e153
commit
fa779f9261
@ -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',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user