Closed
Bug 449297
Opened 17 years ago
Closed 17 years ago
Various files causes "nsCOMPtr.h / warning C4624: 'nsDerivedSafe<T>' : destructor could not be generated because a base class destructor is inaccessible"
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 279210
People
(Reporter: sgautherie, Unassigned)
Details
Attachments
(1 obsolete file)
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/2008080519 SeaMonkey/2.0a1pre] (home, optim default) (W2Ksp4)
Example:
{{
...\dist\include\xpcom\nsCOMPtr.h(231) : warning C4624: 'nsDerivedSafe<T>' : destructor could not be generated because a base class destructor is inaccessible
with
[
T=IFoo
]
.../xpcom/tests/TestHashtables.cpp(372) : see reference to class template instantiation 'nsDerivedSafe<T>' being compiled
with
[
T=IFoo
]
}}
This is different than bug 271245, as this uses
{{
#ifdef HAVE_CPP_ACCESS_CHANGING_USING
using T::AddRef;
using T::Release;
#else
}}
Don't know if this is in any way related to bug 221525 and bug 355463 ?
| Reporter | ||
Comment 1•17 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/2008080519 SeaMonkey/2.0a1pre] (home, optim default) (W2Ksp4)
Nits:
*s/nsCOMPTr/nsCOMPtr/
*Remove duplicated |public:|.
Attachment #332439 -
Flags: review?(bsmedberg)
Comment 2•17 years ago
|
||
Fixed by bug 279210
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 3•17 years ago
|
||
Comment on attachment 332439 [details] [diff] [review]
(Av1) <TestHashtables.cpp> nits
[Moved to bug 450133]
if you request review from the wrong bugmail it will never show up in my request queue...
Attachment #332439 -
Flags: review?(bsmedberg)
| Reporter | ||
Comment 4•17 years ago
|
||
(In reply to comment #2)
> Fixed by bug 279210
Keywords: helpwanted
Resolution: FIXED → DUPLICATE
| Reporter | ||
Updated•17 years ago
|
Attachment #332439 -
Attachment description: (Av1) <TestHashtables.cpp> nits → (Av1) <TestHashtables.cpp> nits
[Moved to bug 450133]
Attachment #332439 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•