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

Issue 22285002: Annotate SK_COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. Patch ori… (Closed)

Created:
7 years, 4 months ago by wrightg
Modified:
7 years, 4 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Annotate SK_COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. Patch originally by dholbert. R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=10575

Patch Set 1 #

Total comments: 2

Patch Set 2 : Proposed alternate. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M include/core/SkPostConfig.h View 1 2 chunks +14 lines, -0 lines 0 comments Download
M include/core/SkTypes.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
reed1
7 years, 4 months ago (2013-08-05 21:33:43 UTC) #1
bungeman-skia
https://chromiumcodereview.appspot.com/22285002/diff/1/include/core/SkTypes.h File include/core/SkTypes.h (right): https://chromiumcodereview.appspot.com/22285002/diff/1/include/core/SkTypes.h#newcode137 include/core/SkTypes.h:137: # define SK_COMPILE_ASSERT_UNUSED_ATTRIBUTE /* nothing */ The comment here ...
7 years, 4 months ago (2013-08-05 21:56:28 UTC) #2
bungeman-skia
So I'm going to go all unicorns and rainbows and state where we'd like this ...
7 years, 4 months ago (2013-08-05 22:20:57 UTC) #3
wrightg
https://chromiumcodereview.appspot.com/22285002/diff/1/include/core/SkTypes.h File include/core/SkTypes.h (right): https://chromiumcodereview.appspot.com/22285002/diff/1/include/core/SkTypes.h#newcode137 include/core/SkTypes.h:137: # define SK_COMPILE_ASSERT_UNUSED_ATTRIBUTE /* nothing */ On 2013/08/05 21:56:28, ...
7 years, 4 months ago (2013-08-06 14:54:22 UTC) #4
bsalomon
I feel better with checking it in as is if the macro were just renamed ...
7 years, 4 months ago (2013-08-06 14:56:59 UTC) #5
bsalomon
> > Also, this sort of thing is mostly in SkPostConfig.h (like SK_OVERRIDE) is it ...
7 years, 4 months ago (2013-08-06 14:57:39 UTC) #6
bungeman-skia
I sneakily inserted Patch Set 2 for a more general alternate reflecting my previous suggestions.
7 years, 4 months ago (2013-08-06 17:30:25 UTC) #7
bsalomon
On 2013/08/06 17:30:25, bungeman1 wrote: > I sneakily inserted Patch Set 2 for a more ...
7 years, 4 months ago (2013-08-06 17:35:53 UTC) #8
bungeman-chromium
7 years, 4 months ago (2013-08-06 18:32:40 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 manually as r10575 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698