Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc for parser/html (exists from gcc 7) r=hsivonen

MozReview-Commit-ID: HTFgDFeG3xJ

--HG--
extra : rebase_source : f15a899ac7574f0370075d52030a3dce9b99021f
This commit is contained in:
Sylvestre Ledru 2017-08-06 18:40:55 +02:00
parent 7b612087c3
commit 214ff5252c

View File

@ -99,7 +99,6 @@ LOCAL_INCLUDES += [
'/dom/base',
]
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-error=shadow']
if CONFIG['CLANG_CXX']:
CXXFLAGS += ['-Wno-implicit-fallthrough']
if CONFIG['GNU_CXX'] or CONFIG['CLANG_CXX']:
CXXFLAGS += ['-Wno-error=shadow',
'-Wno-implicit-fallthrough']