[Bug 50059] New: compilation error with gcc 8.3.0 unsigned int -> long unsigned int

WineHQ Bugzilla wine-bugs at winehq.org
Sun Oct 25 15:52:23 CDT 2020


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

            Bug ID: 50059
           Summary: compilation error with gcc 8.3.0 unsigned int -> long
                    unsigned int
           Product: Wine
           Version: 5.0.2
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: eserradi at gmx.com
      Distribution: ---

Created attachment 68517
  --> https://bugs.winehq.org/attachment.cgi?id=68517
"long unsigned int" instead of "unsigned int"

compiling wine 5.0.2 (and 5.0.1) with gcc version 8.3.0 (Debian 8.3.0-6) gives
the error:

d3d9_main.c:154:5: note: in expansion of macro ‘FIXME’
     FIXME("iface %p, callback %p, context %p, arg3 %#Ix, stub!\n", iface,
callback, context, arg3);
     ^~~~~
d3d9_main.c:154:11: error: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 8 has type ‘DWORD_PTR’ {aka ‘long unsigned int’} [-Werror=format=]


the attached patch fixes the problem in my case

-- 
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