Closed Bug 3376 Opened 26 years ago Closed 25 years ago

inherited virtual function is hidden

Categories

(Core :: XML, defect, P2)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: Brade, Assigned: vidur)

Details

[please reassign as appropriate]

From the Macintosh compiler:

Warning : 'nsIXMLContent::GetNameSpacePrefix(nsIAtom *&)const ' hides inherited
virtual function 'nsIContent::GetNameSpacePrefix(int, nsIAtom *&)'
nsIXMLContent.h line 44   };
Assignee: guha → vidur
Reassign to vidur (please further reassign as necessary)
QA Contact: 3849
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
folks, I'm going to need developer assistance on verifying this bug. Vidur (or
whoever fixes this) please note when you checked in the fix and please note how
you self-tested the fix, we will mark as verified per your self test.
I'll change the name of one of the methods, but I'm not sure why this is a
problem. Since the methods have different signatures, it seems to me that there
shouldn't be a problem - C++ allows method overloading. Again, this kind of
overloading isn't very COM-friendly, so I'm happy to change it and close &
verify the bug when I do. Kathy, any idea why this is a problem for the MW
compiler?
Vidur - that would be great if you could mark it as such when you are complete.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Made the change on 3/19. The name of the nsIContent method is now
GetNameSpacePrefixFromId.
QA Contact: beppe → chrisd
You need to log in before you can comment on or make changes to this bug.