Closed
Bug 780801
Opened 13 years ago
Closed 7 years ago
dombindings.o fails to build on solaris 9
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: bugzilla-mozilla, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120717143922
Steps to reproduce:
Attempting to build firefox 10esr on solaris 9 with Sun C++ 5.9 SunOS_sparc Patch 124863-28 2011/12/14. After some patching it tries to compile dombindings.cpp
Actual results:
The build failed with:
"/opt/build/xulrunner-10.0.5/mozilla-esr10/js/xpconnect/src/dombindings_gen.cpp", line 512: Error: Cannot use {} to initialize mozilla::dom::binding::ListBase<mozilla::dom::binding::ListClass<nsINodeList, mozilla::dom::binding::Ops<mozilla::dom::binding::Getter<nsIContent*>, mozilla::dom::binding::NoOp>, mozilla::dom::binding::Ops<mozilla::dom::binding::NoOp, mozilla::dom::binding::NoOp>>>::Methods.
(and 5 similar errors)
Line 512 is:
template<>
NodeListWrapper::Methods NodeListWrapper::sProtoMethods[] = {
{ s_item_id, NodeList_Item, 1 }
};
Expected results:
Any ideas for a workaround? We know that solaris 9 and this compiler are not supported.
Reporter | ||
Updated•13 years ago
|
OS: Linux → Solaris
Hardware: x86_64 → Sun
Updated•13 years ago
|
Component: Untriaged → XPConnect
Product: Firefox → Core
![]() |
||
Comment 1•13 years ago
|
||
You could try doing non-static initialization and seeing whether that works? Basically move all the initialization to some init function.....
Note that there's a good chance of this code being gone altogether in ESR 17.
Comment 2•7 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•