[Bug 47035] New: widl generates typelib file with enums multiply defined

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 17 16:48:23 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47035

            Bug ID: 47035
           Summary: widl generates typelib file with enums multiply
                    defined
           Product: Wine
           Version: 4.5
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rpc
          Assignee: wine-bugs at winehq.org
          Reporter: richard at torproject.org
      Distribution: ---

When generating typelibs from idl where enums are defined, the generated tlb
ends up with a copy of the enum definition for every instance that the enum is
mentioned as a parameter to a function, plus 1.

I've created a branch with a min-repro here:

https://github.com/pospeselr/mingw-widl-bug/tree/enum_bug

Once again, update the Makefile to point to your local copy of widl.

I tested this with the latest mingw ( commit
c61763cc740f8f4986755eeafce832baa3655ee8 ) which uses widl version 4.5 plus
I've applied the patch from https://bugs.winehq.org/show_bug.cgi?id=47031
(note: this issue occurs even without the patch applied).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list