summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Dawson <brucedawson@google.com>2015-04-16 13:45:33 -0700
committerBruce Dawson <brucedawson@google.com>2015-04-16 13:45:33 -0700
commit0e2e6ce29f2a5dc60798194860daa4b5c04b93cf (patch)
treec805decf4530d281e3ce9fb6be7739d4edcc2936
parent3f754d483e257f0d373be28a64b58620b4e0953f (diff)
downloadpdfium-0e2e6ce29f2a5dc60798194860daa4b5c04b93cf.tar.xz
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. R=tsepez@chromium.org BUG=440500 Review URL: https://codereview.chromium.org/1096463005
-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',