Fix pdfium standalone to compile with VS 2015.
authorBruce Dawson <brucedawson@google.com>
Thu, 16 Apr 2015 20:45:33 +0000 (13:45 -0700)
committerBruce Dawson <brucedawson@google.com>
Thu, 16 Apr 2015 20:45:33 +0000 (13:45 -0700)
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

index 8aecd30..87fe344 100644 (file)
       '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',