Re: [Mingw-w64-public] [PATCH 2/2] crt: Add mi import library

2023-04-02 Thread Biswapriyo Nath
> If not, couldn't the lib32 variant also be omitted? I am not sure about that. There is a rule `lib32/lib%.a: lib-common/%.def` in mingw-w64-crt/Makefile.am. I am not certain that the build system will grab the lib-common one when lib32 is absent. ___

Re: [Mingw-w64-public] [PATCH 2/2] crt: Add mi import library

2023-04-02 Thread Jeremy Drake via Mingw-w64-public
(apologies for not including any quoted context, my mail client was not cooperating with trying to quote an attachment) Does the lib32/mi.def differ from the lib-common/mi.def? If not, couldn't the lib32 variant also be omitted? ___ Mingw-w64-public

[Mingw-w64-public] [PATCH 2/2] crt: Add mi import library

2023-04-02 Thread Biswapriyo Nath
From 1e84335f246b5aeb1ca1ad29907f5918c52e3a7e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 3 Apr 2023 10:25:46 +0530 Subject: [PATCH 2/2] crt: Add mi import library Required for https://github.com/cloudbase/PyMI.git Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/{libarm32 => li

[Mingw-w64-public] [PATCH] genpeimg: fix build error with clang v16

2023-04-02 Thread Christoph Reiter
Building genpeimg with clang v16 fails like: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] pe->is_64bit = 1; is_64bit is always ever comapred against 0 in our case, so the value change does

Re: [Mingw-w64-public] [PATCH] crt: Reimplement `dirname()` and `basename()`

2023-04-02 Thread LIU Hao
在 2023-03-30 20:51, LIU Hao 写道: Yeah it looks like a bug in CMD. Both PowerShell and `FindFirstFile()` accepts `\\host\\\share` without issues. I would like to hear about what others think. My opinion is that the share name is part of the volume name (like `C:` and `\\?\C:`) and is not a path

Re: [Mingw-w64-public] [PATCH] headers: crt: Add declarations for _aligned_msize

2023-04-02 Thread LIU Hao
在 2023-04-02 21:06, Alvin Wong via Mingw-w64-public 写道: Signed-off-by: Alvin Wong --- I think these declarations require checks for `__MSVCRT_VERSION__ >= 0x900`. They already have the checks. Resending with more context lines. mingw-w64-headers/crt/crtdbg.h | 1 + mingw-w64-headers/crt

[Mingw-w64-public] [PATCH] headers: crt: Add declarations for _aligned_msize

2023-04-02 Thread Alvin Wong via Mingw-w64-public
Signed-off-by: Alvin Wong --- > I think these declarations require checks for `__MSVCRT_VERSION__ >= 0x900`. They already have the checks. Resending with more context lines. mingw-w64-headers/crt/crtdbg.h | 1 + mingw-w64-headers/crt/malloc.h | 1 + mingw-w64-headers/crt/stdlib.h | 1 + 3 fi

Re: [Mingw-w64-public] [PATCH] headers: Add lowlevelmonitorconfigurationapi.h

2023-04-02 Thread LIU Hao
在 2023-04-01 12:41, Biswapriyo Nath 写道: From a2a8d7154b498c83325351d300c8adb39b428cfa Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 1 Apr 2023 10:09:00 +0530 Subject: [PATCH] headers: Add lowlevelmonitorconfigurationapi.h Required forhttps://github.com/arcnmx/ddcset-c.git Signed-of

Re: [Mingw-w64-public] [PATCH] headers: crt: Add declarations for _aligned_msize

2023-04-02 Thread LIU Hao
在 2023-04-02 16:20, Alvin Wong via Mingw-w64-public 写道: Signed-off-by: Alvin Wong --- mingw-w64-headers/crt/crtdbg.h | 1 + mingw-w64-headers/crt/malloc.h | 1 + mingw-w64-headers/crt/stdlib.h | 1 + 3 files changed, 3 insertions(+) I think these declarations require checks for `__MSVCRT_

[Mingw-w64-public] [PATCH] headers: crt: Add declarations for _aligned_msize

2023-04-02 Thread Alvin Wong via Mingw-w64-public
Signed-off-by: Alvin Wong --- mingw-w64-headers/crt/crtdbg.h | 1 + mingw-w64-headers/crt/malloc.h | 1 + mingw-w64-headers/crt/stdlib.h | 1 + 3 files changed, 3 insertions(+) diff --git a/mingw-w64-headers/crt/crtdbg.h b/mingw-w64-headers/crt/crtdbg.h index c8b99c817..e24d5053b 100644 --- a/mi