From 3e12c58449f5bb8972649d622bca79b4b949530f Mon Sep 17 00:00:00 2001 From: "wfh@chromium.org" Date: Wed, 26 Mar 2014 21:02:12 +0000 Subject: [PATCH] Ignore warning 4702 to avoid unreachable code error on VS2013 stl when compiling with _HAS_EXCEPTIONS=0 See also https://crbug.com/346399 for background. BUG=540 R=mark@chromium.org, thestig@chromium.org TEST=update gyp to HEAD, generate MSVS2013 build files, verify breakpad compiles in Release. Review URL: https://breakpad.appspot.com/1284002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1292 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/windows/build/common.gypi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/windows/build/common.gypi b/src/client/windows/build/common.gypi index eac64d25..2c792d54 100644 --- a/src/client/windows/build/common.gypi +++ b/src/client/windows/build/common.gypi @@ -1174,7 +1174,9 @@ '$(VSInstallDir)/VC/atlmfc/include', ], 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], - 'msvs_disabled_warnings': [4100, 4127, 4396, 4503, 4512, 4819, 4995], + 'msvs_disabled_warnings': [ + 4100, 4127, 4396, 4503, 4512, 4819, 4995, 4702 + ], 'msvs_settings': { 'VCCLCompilerTool': { 'MinimalRebuild': 'false',