Closed
Bug 832456
Opened 12 years ago
Closed 12 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•12 years ago
|
||
Attachment #704047 -
Flags: review?(bgirard)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 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•12 years ago
|
||
Comment on attachment 704047 [details] [diff] [review]
fix
FAIL_ON_WARNINGS, nice!
Attachment #704047 -
Flags: review+
Assignee | ||
Comment 4•12 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•12 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•12 years ago
|
||
Awhh to bad. r+ still.
Assignee | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•