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

Issue 368133002: Fixes for re-enabling more MSVC level 4 warnings: base/ edition (Closed)

Created:
6 years, 5 months ago by Peter Kasting
Modified:
6 years, 5 months ago
Reviewers:
awong
CC:
chromium-reviews, dsinclair+watch_chromium.org, erikwright+watch_chromium.org, Ilya Sherman, asvitkine+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Fixes for re-enabling more MSVC level 4 warnings: base/ edition This contains fixes for the following sorts of issues: * Signedness mismatch * Assignment inside conditional * Nonstandard extension: unnamed struct/union * Octal escape sequence terminated by decimal number * Possibly-uninitialized local variable This also contains a very small number of other cleanups/simplifications to nearby code. BUG=81439 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281204

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Attempt to fix non-MSVC build #

Total comments: 5

Patch Set 4 : Fix build, attempt 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -69 lines) Patch
M base/basictypes.h View 1 chunk +12 lines, -12 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M base/debug/trace_event_win.h View 5 chunks +8 lines, -6 lines 0 comments Download
M base/debug/trace_event_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/debug/trace_event_win_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/i18n/break_iterator.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/metrics/stats_table.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/process/kill_win.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M base/strings/safe_sprintf.h View 1 2 3 2 chunks +41 lines, -11 lines 0 comments Download
M base/strings/safe_sprintf.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M base/strings/safe_sprintf_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M base/strings/string_number_conversions_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M base/strings/string_util_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M base/time/time_win.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Peter Kasting
https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h File base/basictypes.h (right): https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h#newcode49 base/basictypes.h:49: const int8 kint8min = -0x7F - 1; This is ...
6 years, 5 months ago (2014-07-03 00:24:25 UTC) #1
awong
https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h File base/basictypes.h (right): https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h#newcode49 base/basictypes.h:49: const int8 kint8min = -0x7F - 1; On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 00:54:01 UTC) #2
Peter Kasting
https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h File base/basictypes.h (right): https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h#newcode49 base/basictypes.h:49: const int8 kint8min = -0x7F - 1; On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 00:59:52 UTC) #3
awong
https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h File base/basictypes.h (right): https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h#newcode49 base/basictypes.h:49: const int8 kint8min = -0x7F - 1; On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 01:07:45 UTC) #4
Peter Kasting
https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h File base/basictypes.h (right): https://codereview.chromium.org/368133002/diff/30001/base/basictypes.h#newcode49 base/basictypes.h:49: const int8 kint8min = -0x7F - 1; On 2014/07/03 ...
6 years, 5 months ago (2014-07-03 01:11:54 UTC) #5
awong
LGTM What could possibly go wrong.™
6 years, 5 months ago (2014-07-03 01:13:10 UTC) #6
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-03 01:19:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/368133002/50001
6 years, 5 months ago (2014-07-03 01:21:48 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-03 07:03:51 UTC) #9
Message was sent while issue was closed.
Change committed as 281204

Powered by Google App Engine
This is Rietveld 408576698