mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-26 21:45:20 +00:00
Disable -Wimplicit-fallthrough for a chromium file
GCC 7 supports the clang option -Wimplicit-fallthrough.
This commit is contained in:
@@ -75,8 +75,8 @@ SOURCES += [
|
||||
# consistent. See also the comment in SandboxLogging.h.
|
||||
SOURCES['../chromium/base/strings/safe_sprintf.cc'].flags += ['-DNDEBUG']
|
||||
|
||||
# Keep clang from warning about intentional 'switch' fallthrough in icu_utf.cc:
|
||||
if CONFIG['CLANG_CXX']:
|
||||
# Keep clang and GCC from warning about intentional 'switch' fallthrough in icu_utf.cc:
|
||||
if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
|
||||
SOURCES['../chromium/base/third_party/icu/icu_utf.cc'].flags += ['-Wno-implicit-fallthrough']
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
|
||||
Reference in New Issue
Block a user