Closed
Bug 53646
Opened 24 years ago
Closed 15 years ago
Ease the life of the embedder with nsCOMPtr_base linking errors
Categories
(Core :: XPCOM, enhancement, P3)
Core
XPCOM
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: bruce, Unassigned)
References
Details
(Keywords: embed)
Add something like:
#if defined(NS_DEBUG) && !defined(DEBUG) (or should that be _DEBUG?)
#warn You will probably experience linking problems involving nsCOMPtr_base.
#warn Please define NS_DEBUG in your application.
#endif
to nsCOMPtr.h after:
80 #ifdef NS_DEBUG
81 #define NSCAP_FEATURE_TEST_DONTQUERY_CASES
82 #define NSCAP_FEATURE_DEBUG_PTR_TYPES
83 //#define NSCAP_FEATURE_TEST_NONNULL_QUERY_SUCCEEDS
84 #endif
This should ease things for people embedding since this isn't necessarily
something that is readily obvious and has caused problems for people for some
time. (And then they show up on IRC....)
Updated•24 years ago
|
Status: NEW → ASSIGNED
Updated•22 years ago
|
Severity: normal → enhancement
Comment 2•22 years ago
|
||
This bug suggests one way to solve this problem, bug #179278 suggests another.
Updated•18 years ago
|
Assignee: scc → nobody
Status: ASSIGNED → NEW
QA Contact: rayw → xpcom
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•