Disable -Wimplicit-fallthrough when building jsdtoa.cpp

GCC 7 supports the clang option -Wimplicit-fallthrough.
This commit is contained in:
trav90 2018-03-04 15:09:21 -06:00 committed by Roy Tam
commit 12bd9bbfe4

View file

@ -790,5 +790,5 @@ if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing']
# Suppress warnings in third-party code.
if CONFIG['CLANG_CXX']:
if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
SOURCES['jsdtoa.cpp'].flags += ['-Wno-implicit-fallthrough']