Thread (22 messages) 22 messages, 4 authors, 2021-09-29

Re: [PATCH v3 1/2] lazyload.h: fix warnings about mismatching function pointer types

From: Eric Sunshine <hidden>
Date: 2021-09-27 02:58:21

On Sun, Sep 26, 2021 at 6:05 AM Carlo Marcelo Arenas Belón
[off-list ref] wrote:
Here, GCC warns about every use of the INIT_PROC_ADDR macro, for example:

In file included from compat/mingw.c:8:
[...]
(message wrapper for convenience). Insert a cast to keep the compiler
happy. A cast is fine in these cases because they are generic function
pointer values that have been looked up in a DLL.
s/wrapper/wrapped/
Helped-by: Carlo Marcelo Arenas Belón [off-list ref]
Signed-off-by: Johannes Sixt <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help