#39139: widl generates invalid typelib when an interface extends IAccessible Open Date: 2019-04-17 07:14 Last Update: 2019-04-17 07:15 URL for this Ticket: https://osdn.net//projects/mingw/ticket/39139 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39139 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2019-04-17 07:15 Updated by: pospeselr * Details Updated --------------------------------------------------------------------- Ticket Status: Reporter: pospeselr Owner: (None) Type: Issues Status: Open Priority: 5 - Medium MileStone: (None) Component: OTHER Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Background: We're attempting to add accessibility support to Firefox when building with the mingw toolchain which requires implementing the IAccessibility2 interface. However, the typelib (tlb) file that ends up getting generated is invalidated. The generated tlb be partially loaded using oleview.exe but throws up several TYPE_E_ELEMENTNOTFOUND errors and the inherited interfaces are apparently not defined. The interfaces with invalid/undefined inherited interfaces varies depending on the order in which the child interfaces are defined in the source IDL. Reproduction: I've created a min-repro here: https://github.com/pospeselr/mingw-widl-bug (you'll need to update the Makefile to point to your local instance of widl) I tested this with the latest mingw ( commit c61763cc740f8f4986755eeafce832baa3655ee8 ) which uses widl version 4.5. Links: Mozilla bug tracking mingw accessibility issues: https://bugzilla.mozilla.org/ show_bug.cgi?id=1520177 WineHQ bug: https://bugs.winehq.org/show_bug.cgi?id=47031 -- Ticket information of MinGW - Minimalist GNU for Windows project MinGW - Minimalist GNU for Windows Project is hosted on OSDN Project URL: https://osdn.net/projects/mingw/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/mingw/ticket/39139 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39139