From 2831cab80e4ca37d081c6fb6c67512c3988495b7 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 2 Nov 2020 14:45:44 +0000 Subject: [PATCH] Suppress -Wdeprecated-copy-dtor for Skia. Bug: None Change-Id: I20c7f201223c07af909a5a85bdd9c004d2c5cd30 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31563 Commit-Queue: Corentin Wallez Reviewed-by: Corentin Wallez --- src/common/BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/BUILD.gn b/src/common/BUILD.gn index 0a2e36f759..c9014c4cec 100644 --- a/src/common/BUILD.gn +++ b/src/common/BUILD.gn @@ -121,6 +121,9 @@ config("dawn_internal") { # if (myUint64 > std::numeric_limits::max()) {...} cflags += [ "-Wno-tautological-type-limit-compare" ] + # Suppressions for warnings found in Skia that should really be fixed. + cflags += [ "-Wno-deprecated-copy-dtor" ] + if (is_win) { cflags += [ # clang-cl doesn't know -pedantic, pass it explicitly to the clang driver