From 81ab23b0c3c419f3dc4e6cd2012f042a40a9741e Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Thu, 16 Apr 2015 13:49:57 -0700 Subject: 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 --- build/standalone.gypi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build') 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', -- cgit v1.2.3