summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBruce Dawson <brucedawson@google.com>2015-04-16 13:49:57 -0700
committerBruce Dawson <brucedawson@google.com>2015-04-16 13:49:57 -0700
commit81ab23b0c3c419f3dc4e6cd2012f042a40a9741e (patch)
tree359c37c774712a201d4c0f88edcb5299de2a4ba0 /build
parentc7a3f3c0e2652130cf62f0a937dd21f15d19882f (diff)
downloadpdfium-81ab23b0c3c419f3dc4e6cd2012f042a40a9741e.tar.xz
XFA merge: Fix pdfium standalone to compile with VS 2015.
This change disables several warnings that fire frequently in pdfium and are not practical to fix at this time. Originally on https://codereview.chromium.org/1096463005 TBR=tsepez@chromium.org BUG=440500 Review URL: https://codereview.chromium.org/1088943003
Diffstat (limited to 'build')
-rw-r--r--build/standalone.gypi7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 8aecd30446..87fe3445ab 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -163,7 +163,12 @@
'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
'CharacterSet': '1',
},
- 'msvs_disabled_warnings': [4800, 4996],
+ 'msvs_disabled_warnings': [4800, 4996, 4456, 4457, 4458, 4459, 4091],
+ # 4456, 4457, 4458, 4459 are variable shadowing warnings that are new in
+ # VS2015.
+ # C4091: 'typedef ': ignored on left of 'X' when no variable is
+ # declared.
+ # This happens in a number of Windows headers with VS 2015.
'msvs_settings': {
'VCCLCompilerTool': {
'MinimalRebuild': 'false',