[Mingw-w64-public] [PATCH] crt: Add new APIs in kernel32 import library

2024-12-07 Thread Biswapriyo Nath
From 9bf22ab1b976f667ac60198532be4d88dfda48a5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 7 Dec 2024 14:33:43 + Subject: [PATCH] crt: Add new APIs in kernel32 import library Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/kernel32.def.in | 5 + mingw-w64-crt/l

Re: [Mingw-w64-public] _access with X_OK always fails

2024-12-07 Thread Martin Storsjö
On Sat, 7 Dec 2024, Kirill Makurin wrote: Hi, io.h provided by mingw-w64 defines *_OK macros for use with _access/access function. However, X_OK has value of 1 and documentation for _access does not list this value as supported. (https://learn.microsoft.com/en-us/cpp/c-runtime-library/refere

[Mingw-w64-public] _access with X_OK always fails

2024-12-07 Thread Kirill Makurin
Hi, io.h provided by mingw-w64 defines *_OK macros for use with _access/access function. However, X_OK has value of 1 and documentation for _access does not list this value as supported. (https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess) Every call to ``` _acce

Re: [Mingw-w64-public] [PATCH] crt: Add new APIs in kernel32 import library

2024-12-07 Thread LIU Hao
在 2024-12-07 22:34, Biswapriyo Nath 写道: From 9bf22ab1b976f667ac60198532be4d88dfda48a5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 7 Dec 2024 14:33:43 + Subject: [PATCH] crt: Add new APIs in kernel32 import library Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/k

Re: [Mingw-w64-public] [PATCH] headers: Add FlsGetValue2 in fibersapi.h

2024-12-07 Thread LIU Hao
在 2024-12-07 01:44, Biswapriyo Nath 写道: From a6d32748ec2a5791f5c80afe2cf6f709ca144c66 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 6 Dec 2024 17:44:00 + Subject: [PATCH] headers: Add FlsGetValue2 in fibersapi.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/fibe

Re: [Mingw-w64-public] Cannot access member of struct from deriving class, is this a bug?

2024-12-07 Thread LIU Hao
在 2024-12-06 03:44, i...@wallby.nl 写道: The following seems to only not work in GCC (neither MinGW nor native GCC), but it compiles fine in MSVC. ``` template struct A {     int numElements;     T* elements; }; template class B : public A {     B(int newNumElements)     {     numElement