Closed Bug 6349 Opened 25 years ago Closed 25 years ago

copious evil warnings on OutputText and OutputHTML

Categories

(Core :: DOM: Editor, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: akkzilla, Assigned: buster)

Details

Filing this as a bug so it doesn't get forgotten -- it really slows down development because it's so hard to find the real bugs in the compiler messages. OutputText and OutputHTML give lots of warnings -- here they all are: ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsIHTMLEditor.h:97: warning: `nsIHTMLEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:256: warning: `nsTextEditor::OutputText(nsIOutputStream *, nsString *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:108: warning: `nsTextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' ../../dist/include/nsIHTMLEditor.h:98: warning: `nsIHTMLEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:257: warning: `nsTextEditor::OutputHTML(nsIOutputStream *, nsString *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:109: warning: `nsTextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsIHTMLEditor.h:97: warning: `nsIHTMLEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:256: warning: `nsTextEditor::OutputText(nsIOutputStream *, nsString *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:108: warning: `nsTextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' ../../dist/include/nsIHTMLEditor.h:98: warning: `nsIHTMLEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:257: warning: `nsTextEditor::OutputHTML(nsIOutputStream *, nsString *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:109: warning: `nsTextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsITextEditor.h:288: warning: `nsITextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:106: warning: by `nsTextEditor::OutputText(nsString &)' ../../dist/include/nsITextEditor.h:289: warning: `nsITextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsTextEditor.h:107: warning: by `nsTextEditor::OutputHTML(nsString &)' ../../dist/include/nsIHTMLEditor.h:97: warning: `nsIHTMLEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:256: warning: `nsTextEditor::OutputText(nsIOutputStream *, nsString *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:108: warning: `nsTextEditor::OutputText(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:103: warning: by `nsHTMLEditor::OutputText(nsString &)' ../../dist/include/nsIHTMLEditor.h:98: warning: `nsIHTMLEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:257: warning: `nsTextEditor::OutputHTML(nsIOutputStream *, nsString *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)' /builds/thu/mozilla/editor/base/nsTextEditor.h:109: warning: `nsTextEditor::OutputHTML(nsIOutputStream *, nsString *)' was hidden /builds/thu/mozilla/editor/base/nsHTMLEditor.h:104: warning: by `nsHTMLEditor::OutputHTML(nsString &)'
Greg, this is because of your overloading in the editor interfaces. You should also remove those default params (charset string) from the interfaces.
Status: NEW → ASSIGNED
Target Milestone: M7
I plan to change all the API's so this should go away in M7.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I fixed this; they no longer spew the warnings.
Status: RESOLVED → VERIFIED
Marking verified since it's a code-level thing.
Reassigning all bugs Assigned To kostello to buster
Reassigning all bugs Assigned To kostello to buster
All these bugs were marked "New" when Jan transfered ownership of them to me. They were all resolved and need to be marked "Verified" again.
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Status: RESOLVED → VERIFIED
This was Verified on 06/09/99...resetting back to Verified...Bugzilla wacked out.
You need to log in before you can comment on or make changes to this bug.