Closed
Bug 197049
Opened 21 years ago
Closed 13 years ago
Compiler warnings in <nsHashtable.h>: "should be explicitly initialized in the copy constructor"
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
mozilla1.5alpha
People
(Reporter: tenthumbs, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: helpwanted, Whiteboard: [build_warning])
In a Linux build from this morning using gcc 3.2.2, I get these warnings. dist/include/xpcom/nsHashtable.h:219: warning: base class `class nsHashKey' \ should be explicitly initialized in the copy constructor dist/include/xpcom/nsHashtable.h:288: warning: base class `class nsHashKey' \ should be explicitly initialized in the copy constructor dist/include/xpcom/nsHashtable.h:327: warning: base class `class nsHashKey' \ should be explicitly initialized in the copy constructor Since this file is used in many places there are 402 instances of each warning. I don't know how important this is.
Comment 2•21 years ago
|
||
I welcome any patches here.
Updated•21 years ago
|
Blocks: buildwarning
Updated•21 years ago
|
Summary: Compiler warnings in nsHashtable.h → Compiler warnings in <nsHashtable.h>: "should be explicitly initialized in the copy constructor"
Comment 3•21 years ago
|
||
I'm not an expert in these things, but tinderbox Linux brad Clbr runs gcc 3.3 and seems not to issue those warnings. Can anybody confirm this or the existence of those warnings?
Updated•18 years ago
|
Assignee: alecf → nobody
Status: ASSIGNED → NEW
QA Contact: scc → xpcom
Updated•13 years ago
|
Whiteboard: [build_warning]
Comment 4•13 years ago
|
||
I could not see any warning in nsHashtable.h file anymore. Also I searched for warning in nightly builds of mac, windows and linux and could not find one. 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
•