Closed
Bug 923168
Opened 11 years ago
Closed 11 years ago
Build error with --disable-accessibility: widget/gtk/nsDragService.cpp:1581:37: error: invalid use of incomplete type ‘class nsIContent’
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
794 bytes,
patch
|
Details | Diff | Splinter Review |
Since bug 921753 part 1's changeset, I'm getting this build error:
{
/mozilla/widget/gtk/nsDragService.cpp: In member function ‘void nsDragService::SetDragIcon(GdkDragContext*)’:
/mozilla/widget/gtk/nsDragService.cpp:1581:37: error: invalid use of incomplete type ‘class nsIContent’
nsIFrame* frame = mDragPopup->GetPrimaryFrame();
^
In file included from /mozilla/widget/gtk/nsDragService.h:10:0,
from /mozilla/widget/gtk/nsDragService.cpp:7:
/mozilla/widget/gtk/../xpwidgets/nsBaseDragService.h:22:7: error: forward declaration of ‘class nsIContent’
class nsIContent;
^
}
Presumably nsDragService.cpp just needs an #include for nsIContent.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 813154 [details] [diff] [review]
trivial fix
Actually, I just went ahead and landed this without review, since it's trivial, and the sooner we fix it, the fewer people will have their local builds busted by it.
https://hg.mozilla.org/integration/mozilla-inbound/rev/a50cb55cd294
Attachment #813154 -
Flags: review?(ehsan)
Assignee | ||
Updated•11 years ago
|
Flags: in-testsuite-
Assignee | ||
Comment 3•11 years ago
|
||
(From brief local testing, it looks like this build error only affected --disable-accessibility builds. Presumably normal build don't hit this because nsDragService.cpp indirectly includes some accessibility-related header that (perhaps indirectly) includes nsIContent.h.)
Summary: widget/gtk/nsDragService.cpp:1581:37: error: invalid use of incomplete type ‘class nsIContent’ → Build error with --disable-accessibility: widget/gtk/nsDragService.cpp:1581:37: error: invalid use of incomplete type ‘class nsIContent’
Comment 4•11 years ago
|
||
(In reply to comment #2)
> Comment on attachment 813154 [details] [diff] [review]
> --> https://bugzilla.mozilla.org/attachment.cgi?id=813154
> trivial fix
>
> Actually, I just went ahead and landed this without review, since it's trivial,
> and the sooner we fix it, the fewer people will have their local builds busted
> by it.
>
> https://hg.mozilla.org/integration/mozilla-inbound/rev/a50cb55cd294
Thanks!
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•