Closed
Bug 832456
Opened 11 years ago
Closed 11 years ago
gfx/thebes/gfxReusableSurfaceWrapper.cpp:29:68: warning: 'visibility' attribute ignored
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
1.63 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
Build warning: { gfx/thebes/gfxReusableSurfaceWrapper.cpp: In destructor 'gfxReusableSurfaceWrapper::~gfxReusableSurfaceWrapper()': gfx/thebes/gfxReusableSurfaceWrapper.cpp:29:68: warning: 'visibility' attribute ignored [-Wattributes] } That's for the "NS_IMETHOD Run() { ... }" on a nsRunnable subclass that's defined inside of a function. If I move the subclass definition out of the function, the warning goes away. Pretty sure that's all we need here.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #704047 -
Flags: review?(bgirard)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
(oops, didn't intend to include the makefile tweak. removed that)
Attachment #704047 -
Attachment is obsolete: true
Attachment #704047 -
Flags: review?(bgirard)
Attachment #704049 -
Flags: review?(bgirard)
Comment 3•11 years ago
|
||
Comment on attachment 704047 [details] [diff] [review] fix FAIL_ON_WARNINGS, nice!
Attachment #704047 -
Flags: review+
Assignee | ||
Comment 4•11 years ago
|
||
This directory isn't quite ready for that (included it accidentally), but almost! (Filing a bug for one more warning, and then after that this directory is warning-free on my machine)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 704049 [details] [diff] [review] fix [r=BenWa] Carrying forward r+, anyway. :) Thanks!
Attachment #704049 -
Attachment description: fix → fix [r=BenWa]
Attachment #704049 -
Flags: review?(bgirard) → review+
Comment 6•11 years ago
|
||
Awhh to bad. r+ still.
Assignee | ||
Comment 7•11 years ago
|
||
Thanks! https://hg.mozilla.org/integration/mozilla-inbound/rev/0a5efd0aabfb
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0a5efd0aabfb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•