From 0e2e6ce29f2a5dc60798194860daa4b5c04b93cf Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Thu, 16 Apr 2015 13:45:33 -0700 Subject: 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 --- build/standalone.gypi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build/standalone.gypi') 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