From 9fff044004ab6315571cff13bfdc6cef8d96d8c7 Mon Sep 17 00:00:00 2001 From: Masatoshi Kimura Date: Mon, 28 Dec 2020 22:35:37 +0000 Subject: [PATCH] Bug 1684163 - Suppress warning spam from gfx/angle/. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D100440 --- gfx/angle/moz.build.common | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gfx/angle/moz.build.common b/gfx/angle/moz.build.common index 1179d9121dcc..fa906ac78a00 100644 --- a/gfx/angle/moz.build.common +++ b/gfx/angle/moz.build.common @@ -1,4 +1,10 @@ AllowCompilerWarnings() +if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'): + CXXFLAGS += [ + '-Wno-final-dtor-non-final-class', + '-Wno-implicit-const-int-float-conversion', + '-Wno-range-loop-construct', + ] if CONFIG['INTEL_ARCHITECTURE']: CXXFLAGS += CONFIG['SSE2_FLAGS']