From b90dabecdb9a8a439265e327b7f0f770d9a5245c Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Mon, 7 Mar 2016 14:45:28 -0800 Subject: Suppress C4201 for Windows build. warning C4201: nonstandard extension used : nameless struct/union R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1767263002 . --- BUILD.gn | 3 +++ xfa.gyp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 4caa645c56..acb6307643 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -51,6 +51,9 @@ config("pdfium_config") { "/wd4345", "/wd4267", + # TODO(ochang): Investigate if this can be fixed properly. + "/wd4201", + # TODO(thestig): Fix all instances, remove this, pdfium:29 "/wd4245", "/wd4310", diff --git a/xfa.gyp b/xfa.gyp index cf9a18e7c8..ea66d945ad 100644 --- a/xfa.gyp +++ b/xfa.gyp @@ -8,6 +8,8 @@ ], 'msvs_disabled_warnings': [ 4005, 4018, 4146, 4333, 4345, 4267, + # TODO(ochang): Investigate if this can be fixed properly. + 4201, # TODO(thestig): Fix all instances, remove this, pdfium:29 4245, 4310, 4389, 4701, 4702, 4706, 4800, ], -- cgit v1.2.3