Closed
Bug 219688
Opened 21 years ago
Closed 13 years ago
Warnings in nsDNSService2.cpp
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: keeda, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
This may very well be harmless. I saw the following new warnings building with VC7. d:\current\mozilla\obj-debug\dist\include\xpcom\nsCOMPtr.h(220) : warning C4624: 'nsDerivedSafe<T>' : destructor could not be generated because a base class des tructor is inaccessible with [ T=nsAddrInfo ] d:/current\mozilla\netwerk\dns\src\nsDNSService2.cpp(85) : see reference to class template instantiation 'nsDerivedSafe<T>' being compiled with [ T=nsAddrInfo ] d:\current\mozilla\obj-debug\dist\include\xpcom\nsCOMPtr.h(220) : warning C4624: 'nsDerivedSafe<T>' : destructor could not be generated because a base class des tructor is inaccessible with [ T=nsHostResolver ] d:/current\mozilla\netwerk\dns\src\nsDNSService2.cpp(188) : see referenc e to class template instantiation 'nsDerivedSafe<T>' being compiled with [ T=nsHostResolver ] VC7 seems to be unhappy about the fact that the nsAddrInfo() and nsHostResolver() dtor's are private. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/Compiler_Warnings_C4610_Through_C4999.asp
Reporter | ||
Comment 1•21 years ago
|
||
Errr ... that url is wrong http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcerrCompilerWarningLevel1C4624.asp
Updated•18 years ago
|
Assignee: darin → nobody
QA Contact: benc → networking
Updated•13 years ago
|
Blocks: buildwarning
Whiteboard: [build_warning]
Comment 2•13 years ago
|
||
Could not see warning reported by bug in current build (local build) as well as nightly builds. Moreover I could not find the code reported so i assume the code has been refactored. Hence closing this bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•