Re: [Mingw-w64-public] [PATCH 0/4] Fix compile warnings

2024-08-04 Thread Pali Rohár
On Wednesday 31 July 2024 00:13:24 LIU Hao wrote: > 在 2024-07-29 02:58, Pali Rohár 写道: > > In file included from mingw-w64-headers/include/d2d1.h:20, > > from mingw-w64-headers/include/d2d1_1.h:10, > > from libsrc/uuid.c:29: > > mingw-w64-headers/include/d2derr.h

Re: [Mingw-w64-public] [PATCH 0/4] Fix compile warnings

2024-07-30 Thread LIU Hao
在 2024-07-29 02:58, Pali Rohár 写道: In file included from libsrc/wspiapi/WspiapiLoad.c:7: libsrc/wspiapi/WspiapiLoad.c: In function ‘WspiapiLoad’: mingw-w64-headers/include/wspiapi.h:50:20: warning: cast between incompatible function types from ‘void (__attribute__((stdcall)) *)(struct addrinfo *

[Mingw-w64-public] [PATCH 0/4] Fix compile warnings

2024-07-28 Thread Pali Rohár
There are also other warnings which are not fixes by these my patches. List of the reaming warnings is below. If you have a time try to look at them. I'm really not sure how to fix them. In my opinion gets and init_scprintf warnings are false-positive these could be just muted by some gcc pragma.