Disable -Wimplicit-fallthrough in parser/html

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

View file

@ -98,7 +98,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']