Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Issue 1177153007: Use /analyze:WX- instead of /WX- - avoids 3925 D9025 warnings. (Closed)

Created:
5 years, 6 months ago by brucedawson
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use /analyze:WX- instead of /WX- - avoids 3925 D9025 warnings. When building with /analyze there are, inevitably, thousands of warnings. Since going /analyze warning-free is a non-goal we can't have warnings be errors. This was previously handled by overriding the /WX setting with /WX- but this worked patchily and led to lots of these D9025 warnings: cl : Command line warning D9025 : overriding '/WX' with '/WX-' I just discovered that /analyze:WX- can be used to say that /analyze warnings should not be treated as errors. This avoids contradicting /WX and therefore avoids the 3925 D9025 warnings. This makes the raw results much easier to look through. This change necessitates updating the /analyze exclusions in libexif and yasm - running /analyze on those projects causes internal compiler errors. BUG=427616 R=scottmg@chromium.org,thestig@chromium.org,dalecurtis@chromium.org Committed: https://crrev.com/8a019cccd65c94b3156ed57322d264ae04aa115e Cr-Commit-Position: refs/heads/master@{#335578}

Patch Set 1 #

Patch Set 2 : Pulling latest code. #

Patch Set 3 : Adding back libexif exclusion from /analyze #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M build/common.gypi View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/libexif/libexif.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/yasm/yasm.gyp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
brucedawson
I've verified that all of Chrome builds with /analyze with this change and that the ...
5 years, 6 months ago (2015-06-18 01:12:30 UTC) #2
scottmg
lgtm
5 years, 6 months ago (2015-06-18 01:52:24 UTC) #3
Lei Zhang
lgtm
5 years, 6 months ago (2015-06-18 02:35:27 UTC) #4
brucedawson
Dale - I need your lgtm for tiny (/analyze only) yasm change. Lei - I ...
5 years, 6 months ago (2015-06-22 20:48:35 UTC) #6
DaleCurtis
lgtm
5 years, 6 months ago (2015-06-22 20:48:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177153007/40001
5 years, 6 months ago (2015-06-22 21:20:31 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-22 22:37:44 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-22 22:39:53 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8a019cccd65c94b3156ed57322d264ae04aa115e
Cr-Commit-Position: refs/heads/master@{#335578}

Powered by Google App Engine
This is Rietveld 408576698