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

Issue 538333002: gn/linux: warnings as errors, turn on Wextra (Closed)

Created:
6 years, 3 months ago by scottmg
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

gn/linux: warnings as errors, turn on Wextra Also remove a few redundant consts that result in warnings like: ../../content/common/cursors/webcursor_aurax11.cc:20:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] const ui::PlatformCursor WebCursor::GetPlatformCursor() { ^~~~~~ TBR=davemoore@chromium.org,sadrul@chromium.org R=brettw@chromium.org, thakis@chromium.org,rch@chromium.org BUG=393046, 335824 Committed: https://crrev.com/4c2d33ac8c061cf27a594473d6f9a450ee6c3c89 Cr-Commit-Position: refs/heads/master@{#293930}

Patch Set 1 #

Patch Set 2 : more aggressive #

Total comments: 1

Patch Set 3 : icu no-deprecated #

Patch Set 4 : no-implicit-function-declaration in test #

Patch Set 5 : . #

Patch Set 6 : more consts #

Total comments: 2

Patch Set 7 : consts #

Patch Set 8 : add comment #

Total comments: 3

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -25 lines) Patch
M ash/shelf/shelf_view.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 5 chunks +2 lines, -13 lines 0 comments Download
M build/secondary/third_party/icu/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -1 line 0 comments Download
M build/secondary/third_party/libsrtp/BUILD.gn View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/common/cursors/webcursor.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/cursors/webcursor_aurawin.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/common/cursors/webcursor_aurax11.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/common/cursors/webcursor_ozone.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_in_memory_cache.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/keyboard_util.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ui/keyboard/keyboard_util.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 53 (22 generated)
scottmg
6 years, 3 months ago (2014-09-05 01:48:27 UTC) #2
Nico
On 2014/09/05 01:48:27, scottmg wrote: We want this always, not just for chromium_code, right?
6 years, 3 months ago (2014-09-05 02:00:52 UTC) #3
scottmg
On 2014/09/05 02:00:52, Nico (hiding) wrote: > On 2014/09/05 01:48:27, scottmg wrote: > > We ...
6 years, 3 months ago (2014-09-05 21:02:19 UTC) #6
Nico
lgtm https://codereview.chromium.org/538333002/diff/40001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/538333002/diff/40001/build/config/compiler/BUILD.gn#newcode483 build/config/compiler/BUILD.gn:483: "-Wextra", (in think in clang, wextra doesn't add ...
6 years, 3 months ago (2014-09-05 21:05:02 UTC) #7
Nico
…looks like icu.gn is missing a -Wno-deprecated
6 years, 3 months ago (2014-09-05 21:05:37 UTC) #8
Nico
*icu/BUILD.gn
6 years, 3 months ago (2014-09-05 21:05:45 UTC) #9
brettw
lgtm
6 years, 3 months ago (2014-09-05 21:55:56 UTC) #10
Nico
https://codereview.chromium.org/538333002/diff/120001/build/secondary/third_party/icu/BUILD.gn File build/secondary/third_party/icu/BUILD.gn (right): https://codereview.chromium.org/538333002/diff/120001/build/secondary/third_party/icu/BUILD.gn#newcode269 build/secondary/third_party/icu/BUILD.gn:269: "-Wno-deprecated-declarations", the gyp files have short explanations for suppressed ...
6 years, 3 months ago (2014-09-08 20:51:53 UTC) #11
scottmg
thanks https://codereview.chromium.org/538333002/diff/120001/build/secondary/third_party/icu/BUILD.gn File build/secondary/third_party/icu/BUILD.gn (right): https://codereview.chromium.org/538333002/diff/120001/build/secondary/third_party/icu/BUILD.gn#newcode269 build/secondary/third_party/icu/BUILD.gn:269: "-Wno-deprecated-declarations", On 2014/09/08 20:51:52, Nico (hiding) wrote: > ...
6 years, 3 months ago (2014-09-08 20:55:55 UTC) #12
Nico
still lgtm Ship it! https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn File build/secondary/third_party/libsrtp/BUILD.gn (right): https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn#newcode216 build/secondary/third_party/libsrtp/BUILD.gn:216: cflags = [ "-Wno-implicit-function-declaration" ] ...
6 years, 3 months ago (2014-09-08 21:00:23 UTC) #13
scottmg
Adding a bunch of tbrs for removal of unnecessary 'const's: davemoore: ash/shelf/ chrome/browser/ui/ash/launcher/ brettw: content/ ...
6 years, 3 months ago (2014-09-08 21:01:49 UTC) #15
scottmg
ahem, "rsleevi"
6 years, 3 months ago (2014-09-08 21:02:21 UTC) #17
scottmg
https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn File build/secondary/third_party/libsrtp/BUILD.gn (right): https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn#newcode216 build/secondary/third_party/libsrtp/BUILD.gn:216: cflags = [ "-Wno-implicit-function-declaration" ] On 2014/09/08 21:00:23, Nico ...
6 years, 3 months ago (2014-09-08 21:05:05 UTC) #19
Ryan Sleevi
-me +rch Not sure if this is the "QUIC code that is third party" or ...
6 years, 3 months ago (2014-09-08 21:05:38 UTC) #22
scottmg
On 2014/09/08 21:05:05, scottmg wrote: > https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn > File build/secondary/third_party/libsrtp/BUILD.gn (right): > > https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn#newcode216 > ...
6 years, 3 months ago (2014-09-08 21:11:29 UTC) #25
Nico
On 2014/09/08 21:11:29, scottmg wrote: > On 2014/09/08 21:05:05, scottmg wrote: > > > https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn ...
6 years, 3 months ago (2014-09-08 21:19:49 UTC) #28
Ryan Hamilton
net/tools/quic: LGTM
6 years, 3 months ago (2014-09-08 21:31:43 UTC) #29
scottmg
On 2014/09/08 21:19:49, Nico (hiding) wrote: > On 2014/09/08 21:11:29, scottmg wrote: > > On ...
6 years, 3 months ago (2014-09-08 21:36:28 UTC) #30
scottmg
https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn File build/secondary/third_party/libsrtp/BUILD.gn (right): https://codereview.chromium.org/538333002/diff/160001/build/secondary/third_party/libsrtp/BUILD.gn#newcode151 build/secondary/third_party/libsrtp/BUILD.gn:151: # TODO(GYP): A bunch of these tests don't compile ...
6 years, 3 months ago (2014-09-08 21:38:37 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/538333002/160001
6 years, 3 months ago (2014-09-08 21:40:17 UTC) #33
Nico
On Mon, Sep 8, 2014 at 2:36 PM, <scottmg@chromium.org> wrote: > On 2014/09/08 21:19:49, Nico ...
6 years, 3 months ago (2014-09-08 21:40:46 UTC) #34
scottmg
On Mon, Sep 8, 2014 at 2:40 PM, Nico Weber <thakis@chromium.org> wrote: > On Mon, ...
6 years, 3 months ago (2014-09-08 21:45:08 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/538333002/160001
6 years, 3 months ago (2014-09-09 00:28:34 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/13494) chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/9527)
6 years, 3 months ago (2014-09-09 02:22:46 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/538333002/240001
6 years, 3 months ago (2014-09-09 04:11:09 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/13495)
6 years, 3 months ago (2014-09-09 05:44:14 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/538333002/240001
6 years, 3 months ago (2014-09-09 05:53:27 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/13499)
6 years, 3 months ago (2014-09-09 06:28:31 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/538333002/240001
6 years, 3 months ago (2014-09-09 12:34:31 UTC) #51
commit-bot: I haz the power
Committed patchset #9 (id:240001) as de3316e7a276d3b47b4d00798f5327370d585378
6 years, 3 months ago (2014-09-09 13:16:08 UTC) #52
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:53:05 UTC) #53
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/4c2d33ac8c061cf27a594473d6f9a450ee6c3c89
Cr-Commit-Position: refs/heads/master@{#293930}

Powered by Google App Engine
This is Rietveld 408576698