diff options
author | sebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 18:06:31 +0000 |
---|---|---|
committer | sebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 18:06:31 +0000 |
commit | cb875c08769742543bcc5da0f682be2aed64491b (patch) | |
tree | 8c62d88b499c37440dd81c7334e45592a3954ea0 /build/common.gypi | |
parent | 3d458921de4055cf95ca63f72e88df6e8da603e2 (diff) | |
download | chromium_src-cb875c08769742543bcc5da0f682be2aed64491b.zip chromium_src-cb875c08769742543bcc5da0f682be2aed64491b.tar.gz chromium_src-cb875c08769742543bcc5da0f682be2aed64491b.tar.bz2 |
Disable Warning 4702 for the PGO builds.
There's more optimization done on a PGO build than on a regular one, this results in some "Unreachable code" warnings that we don't see normally.
But probably anything that this would catch that wouldn't be caught in a normal build isn't going to actually be a bug, so the incremental value of C4702 for PGO builds is likely very small and blocks the setup of the PGO bots.
BUG=380175
Review URL: https://codereview.chromium.org/315323002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 1599cf6..2e0ff48 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -4979,6 +4979,14 @@ }, ], ['optimize=="max"', { + # Disable Warning 4702 ("Unreachable code") for the WPO/PGO + # builds. Probably anything that this would catch that + # wouldn't be caught in a normal build isn't going to + # actually be a bug, so the incremental value of C4702 for + # PGO builds is likely very small. + 'msvs_disabled_warnings': [ + 4702 + ], 'msvs_settings': { 'VCCLCompilerTool': { # 2, optimizeMaxSpeed, Maximize Speed (/O2) |