Commit 0a42e900 authored by pkasting@chromium.org's avatar pkasting@chromium.org

Enable "unreachable code" warning for MSVC.

BUG=346399
TEST=none

Review URL: https://codereview.chromium.org/260903003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272687 0039d316-1c4b-4281-b951-d872f2087c98
parent 222d5472
...@@ -4947,6 +4947,12 @@ ...@@ -4947,6 +4947,12 @@
}, },
}, },
}, },
# https://code.google.com/p/chromium/issues/detail?id=372451#c20
# Warning 4702 ("Unreachable code") should be re-enabled once
# Express users are updated to VS2013 Update 2.
'msvs_disabled_warnings': [
4702
],
'msvs_settings': { 'msvs_settings': {
'VCLinkerTool': { 'VCLinkerTool': {
# Explicitly required when using the ATL with express # Explicitly required when using the ATL with express
...@@ -4974,12 +4980,12 @@ ...@@ -4974,12 +4980,12 @@
'$(VSInstallDir)/VC/atlmfc/include', '$(VSInstallDir)/VC/atlmfc/include',
], ],
'msvs_cygwin_shell': 0, 'msvs_cygwin_shell': 0,
'msvs_disabled_warnings': [4351, 4355, 4396, 4503, 4819, 'msvs_disabled_warnings': [
4351, 4355, 4396, 4503, 4819,
# TODO(maruel): These warnings are level 4. They will be slowly # TODO(maruel): These warnings are level 4. They will be slowly
# removed as code is fixed. # removed as code is fixed.
4100, 4121, 4125, 4127, 4130, 4131, 4189, 4201, 4238, 4244, 4245, 4100, 4121, 4125, 4127, 4130, 4131, 4189, 4201, 4238, 4244, 4245,
4310, 4428, 4481, 4505, 4510, 4512, 4530, 4610, 4611, 4701, 4702, 4310, 4428, 4481, 4505, 4510, 4512, 4530, 4610, 4611, 4701, 4706,
4706,
], ],
'msvs_settings': { 'msvs_settings': {
'VCCLCompilerTool': { 'VCCLCompilerTool': {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment