[PATCH 3/8] dllhost: Implement ISurrogate::LoadDllServer().
Eric Pouech
eric.pouech at orange.fr
Tue Feb 22 08:11:20 CST 2022
Le 22/02/2022 à 15:04, Dmitry Timoshkov a écrit :
> Dmitry Timoshkov<dmitry at baikal.ru> wrote:
>
>>> This is generating a few -Wformat warnings:
>>>
>>> In file included from programs/dllhost/dllhost.c:27:
>>> programs/dllhost/dllhost.c: In function ‘factory_AddRef’:
>>> programs/dllhost/dllhost.c:81:11: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=]
>>> 81 | TRACE("(%p)->%u\n", iface, ref);
>>> | ^~~~~~~~~~~~ ~~~
>>> | |
>>> | ULONG {aka long unsigned int}
>>>
>>> Apart from that, the series looks good at first glance.
>> I don't get the warnings with clang, will check with a gcc build.
> I don't see this warning in an ELF build either. This is a default build,
> nothing custom or special. Is there a trick to enable the warnings?
>
Hi Dmitry
they should appear when cross compiling
A+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220222/656e2046/attachment.htm>
More information about the wine-devel
mailing list