Closed
Bug 460295
Opened 16 years ago
Closed 16 years ago
nsRefPtrHashtable.h belongs to sdk and includes nsAutoPtr.h which does not
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: arno, Assigned: arno)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
Hi,
nsRefPtrHashtable.h belongs in sdk/include
it includes nsAutoPtr.h which does not belong in sdk/include.
Therefore, you cannot use nsRefPtrHashtable.h if you only want to use sdk.
Here is part of error I get when compiling:
In file included from abbrbkMgr.h:9,
from abbrbkMgr.cpp:1:
/home/arno//work/xulrunner-sdk/sdk//include/nsRefPtrHashtable.h:44:23: error: nsAutoPtr.h: Aucun fichier ou répertoire de ce type
In file included from abbrbkMgr.h:9,
from abbrbkMgr.cpp:1:
/home/arno//work/xulrunner-sdk/sdk//include/nsRefPtrHashtable.h:56: error: ‘nsRefPtr’ was not declared in this scope
/home/arno//work/xulrunner-sdk/sdk//include/nsRefPtrHashtable.h:56: error: wrong number of template arguments (2, should be 3)
/home/arno//work/xulrunner-sdk/sdk//include/nsBaseHashtable.h:46: error: provided for ‘template<class KeyClass, class DataType, class UserDataType> class nsBaseHashtable’
Assignee | ||
Comment 1•16 years ago
|
||
modify xpcom/base/Makefile.in to add nsAutoPtr.h to sdk headers
Updated•16 years ago
|
Attachment #343416 -
Flags: review?(benjamin) → review-
Comment 2•16 years ago
|
||
Comment on attachment 343416 [details] [diff] [review]
patch v1
If you're going to add it to SDK_HEADERS, you need to remove it from EXPORTS at the same time.
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #343416 -
Attachment is obsolete: true
Attachment #343958 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #343958 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #343958 -
Flags: superreview?(dveditz)
Assignee | ||
Comment 4•16 years ago
|
||
does the patch need super review, or is it ready for checkin ?
Updated•16 years ago
|
Attachment #343958 -
Flags: superreview?(dveditz) → superreview+
Comment 5•16 years ago
|
||
Comment on attachment 343958 [details] [diff] [review]
patch v2 (removes nsAutoPtr.h from EXPORTS)
sr=dveditz
benjamin's review was enough for this simple patch.
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Version: unspecified → Trunk
Comment 6•16 years ago
|
||
Comment on attachment 343958 [details] [diff] [review]
patch v2 (removes nsAutoPtr.h from EXPORTS)
Sorry:
{
patching file xpcom/base/Makefile.in
Hunk #1 FAILED at 75
1 out of 2 hunks FAILED
}
Attachment #343958 -
Attachment is obsolete: true
Updated•16 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•16 years ago
|
||
oh, xpcom/base/Makefile.in has changed since review. Here is the same patch updated to build with current trunk
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 8•16 years ago
|
||
Comment on attachment 351720 [details] [diff] [review]
patch updated to build with new trunk
[Checkin: Comment 8]
http://hg.mozilla.org/mozilla-central/rev/865af0f2587a
Attachment #351720 -
Attachment description: patch updated to build with new trunk → patch updated to build with new trunk
[Checkin: Comment 8]
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•