From a82ed35cf17cda95d33957af91984cf47e478b37 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 23 Mar 2021 16:58:50 +0000 Subject: [PATCH] BUILD.gn: Remove warning suppression for Skia Skia changed to only use -Weverything for Skia files so we no longer need to suppress this warning. Bug: dawn:706 Change-Id: Ifcb2421abd24ec514396b8033057a62abd312e16 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45608 Commit-Queue: Austin Eng Auto-Submit: Corentin Wallez Reviewed-by: Austin Eng --- src/common/BUILD.gn | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/common/BUILD.gn b/src/common/BUILD.gn index b133d4a30f..fdca30bc35 100644 --- a/src/common/BUILD.gn +++ b/src/common/BUILD.gn @@ -111,12 +111,6 @@ config("dawn_internal") { "-Wtautological-unsigned-zero-compare", ] - # Allow comparison against type limits that might be tautological on 32bit - # or 64bit systems. Without this the following produces an error on 64bit: - # - # if (myUint64 > std::numeric_limits::max()) {...} - cflags += [ "-Wno-tautological-type-limit-compare" ] - if (is_win) { cflags += [ # clang-cl doesn't know -pedantic, pass it explicitly to the clang driver