From b6dbcb211b1ecca9aea7afb70de27d216af15ec9 Mon Sep 17 00:00:00 2001 From: Will Harris Date: Wed, 29 Aug 2018 23:28:23 +0000 Subject: Change explicit suppression of warning 4267 to a config based suppression. Remove two unneeded suppressions from pdfium's skia, as these are already covered by the //build/config/compiler:no_chromium_code config. BUG=588506 Change-Id: I347f2c98c6fd13679660fb25df2d2141e9b56e55 Reviewed-on: https://pdfium-review.googlesource.com/41611 Commit-Queue: Lei Zhang Reviewed-by: Lei Zhang --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index e3ba58cf02..27e4b2615a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -85,11 +85,11 @@ config("pdfium_core_config") { } if (is_win) { cflags += [ - "/wd4267", "/wd4324", "/wd4577", ] } + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } config("xfa_warnings") { -- cgit v1.2.3