Bug 1369788 - turn off more warnings in crashreporter code; r=ted.mielczarek
authorNathan Froyd <froydnj@mozilla.com>
Fri, 02 Jun 2017 17:07:17 -0400
changeset 410294 4590f776f33eefc0f1298f5ee4b34e03c9841296
parent 410293 f890b5d57fe5ff37be5b254844f52e455ec6b81a
child 410295 f0838868d07513eec9cfb94505474cc5a9b3035c
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1369788
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1369788 - turn off more warnings in crashreporter code; r=ted.mielczarek These mostly occur in code we don't even care about (MIPS!), but we might as well turn them off everywhere for third-party code.
toolkit/crashreporter/crashreporter.mozbuild
--- a/toolkit/crashreporter/crashreporter.mozbuild
+++ b/toolkit/crashreporter/crashreporter.mozbuild
@@ -13,16 +13,19 @@ LOCAL_INCLUDES += [
 if CONFIG['_MSC_VER']:
     CXXFLAGS += [
         '-wd4005', # macro redefinition
     ]
 elif CONFIG['GNU_CXX']:
     CXXFLAGS += [
         '-Wno-unused-local-typedefs',
         '-Wno-shadow',
+        '-Wno-deprecated-declarations',
+        '-Wno-bool-compare',
+        '-Wno-unused-but-set-variable',
     ]
 
 if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL']:
     CXXFLAGS += [
         '-Wno-implicit-fallthrough',
         '-Wno-c++11-narrowing',
     ]