summaryrefslogtreecommitdiffstats
path: root/third_party/yasm
diff options
context:
space:
mode:
authorbrucedawson <brucedawson@chromium.org>2015-06-22 15:37:30 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-22 22:39:21 +0000
commit8a019cccd65c94b3156ed57322d264ae04aa115e (patch)
treef802e10cf36951ffffb47d05d74a3300591a8e55 /third_party/yasm
parentf3bcf1be3bd482be9bcf4db1793e94f42f7c2fef (diff)
downloadchromium_src-8a019cccd65c94b3156ed57322d264ae04aa115e.zip
chromium_src-8a019cccd65c94b3156ed57322d264ae04aa115e.tar.gz
chromium_src-8a019cccd65c94b3156ed57322d264ae04aa115e.tar.bz2
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 Review URL: https://codereview.chromium.org/1177153007 Cr-Commit-Position: refs/heads/master@{#335578}
Diffstat (limited to 'third_party/yasm')
-rw-r--r--third_party/yasm/yasm.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/yasm/yasm.gyp b/third_party/yasm/yasm.gyp
index ee03c8f..e02124a 100644
--- a/third_party/yasm/yasm.gyp
+++ b/third_party/yasm/yasm.gyp
@@ -93,7 +93,7 @@
# https://connect.microsoft.com/VisualStudio/feedback/details/1014799/internal-compiler-error-when-using-analyze
'msvs_settings': {
'VCCLCompilerTool': {
- 'AdditionalOptions!': [ '/analyze' ]
+ 'AdditionalOptions!': [ '/analyze:WX-' ]
},
},
}],