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

Issue 1091433002: Suppress VS 2015 pointer truncation warning. (Closed)

Created:
5 years, 8 months ago by brucedawson
Modified:
5 years, 7 months ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews, grt+watch_chromium.org, erikwright+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress VS 2015 pointer truncation warning. Use #pragma suppress to make the warnig disabling more compact. Don't disable the old 4311 warning because this only applies with /Wp64 which is deprecated and not used. R=cpu@chromium.org BUG=440500 Committed: https://crrev.com/5f37aa494a8ef269d8033614a05c074f79cc1919 Cr-Commit-Position: refs/heads/master@{#325284}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M base/win/pe_image.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
brucedawson
5 years, 8 months ago (2015-04-15 00:08:24 UTC) #1
Will Harris
hmm cool I was not aware of #pragma warning suppress! :)
5 years, 8 months ago (2015-04-15 00:10:51 UTC) #2
cpu_(ooo_6.6-7.5)
lgtm
5 years, 8 months ago (2015-04-15 18:06:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091433002/1
5 years, 8 months ago (2015-04-15 18:07:19 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 8 months ago (2015-04-15 19:08:39 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5f37aa494a8ef269d8033614a05c074f79cc1919 Cr-Commit-Position: refs/heads/master@{#325284}
5 years, 8 months ago (2015-04-15 19:09:31 UTC) #7
scottmg
2015 final rc seems to put pragma suppress back to its almost-useless-next-line-only rather than next-statement ...
5 years, 7 months ago (2015-04-28 20:29:13 UTC) #8
Will Harris
wow that's crazy, can we ask MS to change this behavior?
5 years, 7 months ago (2015-04-28 20:30:55 UTC) #9
brucedawson
5 years, 7 months ago (2015-04-28 20:32:35 UTC) #10
Message was sent while issue was closed.
That is crazy. It also seems bizarre that the behavior would have changed
between the two RC versions. And yet, this fix did work, briefly.

Powered by Google App Engine
This is Rietveld 408576698