Closed
Bug 359224
Opened 18 years ago
Closed 18 years ago
Include nsTraceRefcnt.h in nsTArray.h
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: malex, Assigned: malex)
Details
Attachments
(2 files)
765 bytes,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
931 bytes,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
Compiling in xpcom results in the following error on my system: xpcomcomponents_s.lib(nsStaticComponentLoader.obj) : error LNK2005: "protected: __thiscall nsTArray_base::nsTArray_base(void)" (??0nsTArray_base@@IAE@XZ) alread y defined in nsTArray.obj Creating library xpcom_core.lib and object xpcom_core.exp xpcom_core.dll : fatal error LNK1169: one or more multiply defined symbols found make[2]: *** [xpcom_core.dll] Error 145 This error is resolved by including nsTraceRefcnt.h in nsTArray.h.
Assignee | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
Hmm... I guess the header does need the #define and the #define comes from nsTraceRefCnt.h.... I'm really not that happy including it here, but if there's no better way then we should, I guess.
Yeah, I don't see another way other than to move the define to another header.
Assignee | ||
Updated•18 years ago
|
Attachment #244464 -
Flags: review?(darin.moz)
Attachment #244464 -
Flags: superreview+
Attachment #244464 -
Flags: review?(darin.moz)
Attachment #244464 -
Flags: review+
Checked in for Alex.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
This should have gone in with the other patch, no?
Attachment #244516 -
Flags: superreview?(bugmail)
Attachment #244516 -
Flags: review?(bugmail)
Attachment #244516 -
Flags: superreview?(bugmail)
Attachment #244516 -
Flags: superreview+
Attachment #244516 -
Flags: review?(bugmail)
Attachment #244516 -
Flags: review+
Comment 6•18 years ago
|
||
Checked in the .cpp patch.
Updated•13 years ago
|
Assignee: nobody → malex
You need to log in
before you can comment on or make changes to this bug.
Description
•