[Mingw-w64-public] [PATCH 1/4] headers: Fix compile warning: FACILITY_VISUALCPP redefined

2024-07-28 Thread Pali Rohár
Warning is: In file included from misc/delay-f.c:11: mingw-w64-headers/include/delayimp.h:64: warning: "FACILITY_VISUALCPP" redefined #define FACILITY_VISUALCPP ((LONG)0x6d) In file included from mingw-w64-headers/include/winbase.h:2817, from mingw-w64-heade

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

[Mingw-w64-public] [PATCH 4/4] headers: Fix compile warning: FindResource redefined

2024-07-28 Thread Pali Rohár
Warning is: In file included from mingw-w64-headers/include/windows.h:70, from libsrc/dxerr.c:15, from libsrc/dxerr8w.c:20: mingw-w64-headers/include/winbase.h:2171: warning: "FindResource" redefined #define FindResource __MINGW_NAME_AW(FindRe

[Mingw-w64-public] [PATCH 3/4] headers: Fix compile warning: EnumResourceNames redefined

2024-07-28 Thread Pali Rohár
Warning is: In file included from mingw-w64-headers/include/windows.h:70, from crt/crtexewin.c:6, from crt/ucrtexewin.c:14: mingw-w64-headers/include/winbase.h:2084: warning: "EnumResourceNames" redefined #define EnumResourceNames __MINGW_NAM

[Mingw-w64-public] [PATCH 2/4] headers: Fix compile warning: FACILITY_USERMODE_FILTER_MANAGER redefined

2024-07-28 Thread Pali Rohár
Warning is: In file included from mingw-w64-headers/include/winerror.h:4920, from mingw-w64-headers/include/winbase.h:2817, from mingw-w64-headers/include/windows.h:70, from intrincs/RtlSecureZeroMemory.c:2: mingw-w64-headers/i

Re: [Mingw-w64-public] [PATCH] winpthreads: Free TLS index when library is unloaded

2024-07-28 Thread LIU Hao
在 2024-07-27 12:12, LIU Hao 写道: From bd2fffef2948190323fb4f573c812925f0e8be51 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sat, 27 Jul 2024 11:55:40 +0800 Subject: [PATCH] winpthreads: Free TLS index when library is unloaded This ensures the TLS index is freed when the winpthreads DLL is unload

Re: [Mingw-w64-public] [PATCH v2] crt: Add bcryptprimitives.def for x86

2024-07-28 Thread LIU Hao
在 2024-07-27 17:13, marcandre.lur...@redhat.com 写道: From: Marc-André Lureau Makefile.in regeneration not included, per request. Signed-off-by: Marc-André Lureau --- mingw-w64-crt/lib-common/bcryptprimitives.def | 18 ++ mingw-w64-crt/lib32/Makefile.am | 1 +