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

Issue 643703003: declare extern template classes sooner (Closed)

Created:
6 years, 2 months ago by Mostyn Bramley-Moore
Modified:
6 years, 2 months ago
CC:
chromium-reviews, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

declare extern template classes sooner This avoids a gcc warning that is promoted to an error: error: type attributes ignored after type is already defined [-Werror=attributes] (Tested with gcc 4.8.2-19ubuntu1.) BUG=414363 Committed: https://crrev.com/83d5b708e432a573da1245316882ecd7df080cf3 Cr-Commit-Position: refs/heads/master@{#299532}

Patch Set 1 #

Patch Set 2 : move defs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M sandbox/linux/bpf_dsl/bpf_dsl.h View 1 2 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Mostyn Bramley-Moore
@mdempsky, leecam, Jorge: please take a look at this build fixup for https://codereview.chromium.org/635223006
6 years, 2 months ago (2014-10-14 18:46:33 UTC) #2
mdempsky
not lgtm That SANDBOX_EXPORT declaration is needed *somewhere* to make sure the extern template definitions ...
6 years, 2 months ago (2014-10-14 18:48:59 UTC) #3
Mostyn Bramley-Moore
On 2014/10/14 18:48:59, mdempsky wrote: > not lgtm > > That SANDBOX_EXPORT declaration is needed ...
6 years, 2 months ago (2014-10-14 18:51:04 UTC) #4
mdempsky
On 2014/10/14 18:51:04, Mostyn Bramley-Moore wrote: > I noticed this soon after I hit send. ...
6 years, 2 months ago (2014-10-14 18:55:51 UTC) #5
Mostyn Bramley-Moore
> The easiest quick fix might be to move the "extern template" statements up to ...
6 years, 2 months ago (2014-10-14 18:57:45 UTC) #6
Mostyn Bramley-Moore
> > The easiest quick fix might be to move the "extern template" statements up ...
6 years, 2 months ago (2014-10-14 19:04:34 UTC) #7
mdempsky
lgtm Ugly, but it'll do for now. Thanks!
6 years, 2 months ago (2014-10-14 19:07:10 UTC) #8
Mostyn Bramley-Moore
np. I tried to clean up the CL description a bit too.
6 years, 2 months ago (2014-10-14 19:09:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643703003/20001
6 years, 2 months ago (2014-10-14 19:09:42 UTC) #11
mdempsky
On 2014/10/14 19:09:26, Mostyn Bramley-Moore wrote: > np. I tried to clean up the CL ...
6 years, 2 months ago (2014-10-14 19:20:08 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-14 19:57:38 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 20:01:45 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/83d5b708e432a573da1245316882ecd7df080cf3
Cr-Commit-Position: refs/heads/master@{#299532}

Powered by Google App Engine
This is Rietveld 408576698