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

Issue 1892143004: Remove disabling of C4267 in 64-bit gn builds (Closed)

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

Description

Remove disabling of C4267 in 64-bit gn builds As part of the VS 2015 port some C4267 warnings (size_t truncated to smaller type) warnings were globally suppressed. This change removes the global suppression for 64-bit gn builds and fixes the last few warnings. The warning suppression remains for 32-bit builds because there are many warnings there that still need suppression - they were C4244 warnings in VS 2013 builds. BUG=440500, 566113 Committed: https://crrev.com/d0ecb3bae2d232c17581eed59fe8aa31fa68f96b Cr-Commit-Position: refs/heads/master@{#388293}

Patch Set 1 #

Patch Set 2 : Pull to latest, which includes gfx fix commit #

Patch Set 3 : Remove /wd4267 completely #

Patch Set 4 : Fix 32-bit only warnings #

Patch Set 5 : Disable 4267 for 32-bit builds only #

Patch Set 6 : Fix long line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -10 lines) Patch
M build/config/compiler/BUILD.gn View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download
M components/gcm_driver/crypto/gcm_message_cryptographer.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M components/upload_list/upload_list_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M mash/quick_launch/quick_launch_application.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
brucedawson
This change adds a few casts so that GN builds no longer have to globally ...
4 years, 8 months ago (2016-04-18 19:43:29 UTC) #4
sky
LGTM
4 years, 8 months ago (2016-04-18 20:26:35 UTC) #5
Robert Sesek
LGTM
4 years, 8 months ago (2016-04-18 20:27:19 UTC) #6
Dmitry Titov
LGTM
4 years, 8 months ago (2016-04-18 20:37:08 UTC) #7
Dmitry Titov
LGTM again
4 years, 8 months ago (2016-04-19 18:15:55 UTC) #8
brucedawson
On 2016/04/19 18:15:55, Dmitry Titov wrote: > LGTM again I had to change BUILD.gn so ...
4 years, 8 months ago (2016-04-19 18:19:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892143004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892143004/100001
4 years, 8 months ago (2016-04-19 20:12:46 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-19 20:17:48 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:42 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d0ecb3bae2d232c17581eed59fe8aa31fa68f96b
Cr-Commit-Position: refs/heads/master@{#388293}

Powered by Google App Engine
This is Rietveld 408576698