mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Disable -Wimplicit-fallthrough for a chromium file
GCC 7 supports the clang option -Wimplicit-fallthrough.
This commit is contained in:
parent
c0174b24f7
commit
3d90bec874
1 changed files with 2 additions and 2 deletions
|
|
@ -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']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue