From e89d258be505877a6f73d36b3b84a41e4ee37ea8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 2 Aug 2018 18:46:06 +0000 Subject: Remove -Wno-pointer-to-int-cast from fxcodec target. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Presumably, a libopenjpeg upgrade fixed third_party/libopenjpeg20/mct.c. Change-Id: I0e0e593b0cf7f32934ce45b19a54fe556b955448 Reviewed-on: https://pdfium-review.googlesource.com/39411 Reviewed-by: Nicolás Peña Moreno Commit-Queue: Lei Zhang --- BUILD.gn | 5 ----- 1 file changed, 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 24dfd1df59..afa83e358a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -827,11 +827,6 @@ jumbo_static_library("fxcodec") { deps += [ "third_party:fx_tiff" ] } } - if (is_posix || is_fuchsia) { - # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int - # conversion to check that an address is 16-bit aligned (benign). - cflags_c = [ "-Wno-pointer-to-int-cast" ] - } } config("fxge_warnings") { -- cgit v1.2.3