Closed Bug 700734 Opened 13 years ago Closed 13 years ago

Unnecessary "not derived from nsISupports" warnings for XPCOM pseudo-enums

Categories

(Core :: XPCOM, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: Irving, Assigned: Irving)

Details

Attachments

(1 file)

Thunderbird has many IDL definitions of pseudo-enums, basically an IDL interface that only declares a bunch of constants. Because we never create an instance of the IDL object, it doesn't need any of the normal nsISupports infrastructure. xpcom prints warnings about all of these, like: warning: interface 'nsMsgPriority' not derived from nsISupports, /Users/ireid/tbird/comm-central/mailnews/base/public/MailNewsTypes2.idl line 52:0 interface nsMsgPriority { ^ Based on a conversation on irc #developers, this warning doesn't add much value and can be removed.
Assignee: nobody → irving
I don't have mozilla-central checkin privileges; anyone ready to take this on?
Status: NEW → ASSIGNED
Keywords: checkin-needed
Flags: in-testsuite-
Keywords: checkin-needed
Target Milestone: --- → mozilla12
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: