summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-03-07 14:45:28 -0800
committerOliver Chang <ochang@chromium.org>2016-03-07 14:45:28 -0800
commitb90dabecdb9a8a439265e327b7f0f770d9a5245c (patch)
treea29b7fe1eb1015f6a1d0d2bb5abff0fc3052337b
parent594912241cd7d409b5f58a48ccffdc1904d844b2 (diff)
downloadpdfium-b90dabecdb9a8a439265e327b7f0f770d9a5245c.tar.xz
Suppress C4201 for Windows build.
warning C4201: nonstandard extension used : nameless struct/union R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1767263002 .
-rw-r--r--BUILD.gn3
-rw-r--r--xfa.gyp2
2 files changed, 5 insertions, 0 deletions
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,
],