Closed
Bug 5968
Opened 26 years ago
Closed 26 years ago
Lots of warnings in nsVector.h
Categories
(SeaMonkey :: Build Config, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
M7
People
(Reporter: akkzilla, Assigned: scullin)
Details
These warnings from nsVector.h make it hard for us to find errors or clean up
warnings in any code of our own which includes nsVector.h. Most of them sound
like valid warnings which probably ought to be looked at.
../../dist/include/nsVector.h: In method `int nsVector::IsValidIndex(unsigned
int)':
In file included from /builds/wed-postm5/mozilla/editor/base/nsEditor.cpp:31:
../../dist/include/nsVector.h:39: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void * nsVector::Get(unsigned int)
const':
../../dist/include/nsVector.h:50: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void nsVector::Set(unsigned int, void
*)':
../../dist/include/nsVector.h:51: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void *& nsVector::ElementAt(unsigned
int)':
../../dist/include/nsVector.h:52: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void * nsVector::operator [](unsigned
int) const':
../../dist/include/nsVector.h:58: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void *& nsVector::operator [](unsigned
int)':
../../dist/include/nsVector.h:59: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void nsVector::Insert(unsigned int,
void *, int = 1)':
../../dist/include/nsVector.h:62: warning: declaration of `index' shadows global
declaration
../../dist/include/nsVector.h: In method `void nsVector::Remove(unsigned int,
int = 1)':
../../dist/include/nsVector.h:65: warning: declaration of `index' shadows global
declaration
Reporter | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 1•26 years ago
|
||
I got tired of waiting and seeing these warnings every day, so I fixed it
myself.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•