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@winehq.org Reporter: eserradi@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