Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in google-breakpad (exists from gcc 7) r=ted

MozReview-Commit-ID: HTEL8UJE6wb

--HG--
extra : rebase_source : 3debf712593e771351910fb539bcf610cbc97a62
This commit is contained in:
Sylvestre Ledru 2017-08-19 21:50:09 +02:00
parent fa779f9261
commit 49b77df09a

View File

@ -30,9 +30,13 @@ elif CONFIG['GNU_CXX']:
]
if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL']:
CXXFLAGS += [
'-Wno-implicit-fallthrough',
'-Wno-c++11-narrowing',
]
CXXFLAGS += [
'-Wno-c++11-narrowing',
]
if not CONFIG['_MSC_VER']:
CXXFLAGS += [
'-Wno-implicit-fallthrough',
]
DEFINES['NO_STABS_SUPPORT'] = True