Closed Bug 1611584 Opened 5 years ago Closed 5 years ago

xpidl.xpidl.IDLError: error: Interface 'nsIAbBooleanConditionTypes' must inherit from nsISupports

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 74.0

People

(Reporter: Paenglab, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

With c-c and m-c on tip I get following failure:
xpidl.xpidl.IDLError: error: Interface 'nsIAbBooleanConditionTypes' must inherit from nsISupports, z:/Mozilla/comm-central/comm/mailnews/addrbook/public/nsIAbBooleanExpression.idl line 19:0

Backout of bug 1611173 let me build successfully.

Looks like I got it building.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED

I think this should do it. Local building hasn't finished yet.

Attachment #9123039 - Flags: review?(richard.marti)
Comment on attachment 9123039 [details] [diff] [review] bug1611584_idl_nsISupports.patch I'm far away to know C++ but it builds for me, so rs=me
Attachment #9123039 - Flags: review?(richard.marti) → review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3b281b9a0b40
Port "Bug 1611173 - Remove support for non-nsISupports XPIDL interfaces" to Thunderbird. r=bustage-fix

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Andrew, just to understand it better, Thunderbird used a bunch of these constants only interfaces. Is there something we could do different?

Flags: needinfo?(continuation)
Target Milestone: --- → Thunderbird 74.0

(In reply to Magnus Melin [:mkmelin] from comment #5)

Andrew, just to understand it better, Thunderbird used a bunch of these constants only interfaces. Is there something we could do different?

No, this is the right fix. I just wanted to get rid of some XPConnect corner cases that dealt with these interfaces, and it doesn't seem like there's any drawback to requiring that they inherit from nsISupports, aside from the one-time cost of fixing things up. Sorry for the hassle.

Flags: needinfo?(continuation)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: