[Mingw-w64-public] [PATCH 5/5] include: Add new DebugSystemObjects4 interface in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From 4c671ba1e4be5f1823df1def4ffe68ff266deb08 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 13 Aug 2024 02:47:11 + Subject: [PATCH 5/5] include: Add new DebugSystemObjects4 interface in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 58

[Mingw-w64-public] [PATCH 4/5] include: Add new DebugRegisters2 interface in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From 60228d17db1ea26788b42cc60dab2b57232f806b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 13 Aug 2024 02:47:11 + Subject: [PATCH 4/5] include: Add new DebugRegisters2 interface in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 43

[Mingw-w64-public] [PATCH 2/5] include: Add new DebugPlmClient interfaces in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From ab41e1e188b12bd6d9fa7bfbd0d372967b5fdb25 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 13 Aug 2024 02:47:10 + Subject: [PATCH 2/5] include: Add new DebugPlmClient interfaces in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 67

[Mingw-w64-public] [PATCH 3/5] include: Add new DebugDataSpaces4 interface in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From 18a7b067117d261916618af8a16bdf743d209109 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 13 Aug 2024 02:47:10 + Subject: [PATCH 3/5] include: Add new DebugDataSpaces4 interface in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 69 +++

[Mingw-w64-public] [PATCH 1/5] include: Add new DebugAdvanced interfaces in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From 660f396a20d956dc48e7abc658461a7ec5c1fe34 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 13 Aug 2024 02:47:10 + Subject: [PATCH 1/5] include: Add new DebugAdvanced interfaces in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 198

Re: [Mingw-w64-public] [PATCH 3/5] crt: Split UCRT _getmainargs() and _wgetmainargs() functions into separate files

2024-08-12 Thread Pali Rohár
On Monday 12 August 2024 23:28:33 Martin Storsjö wrote: > On Mon, 12 Aug 2024, Pali Rohár wrote: > > > On Monday 12 August 2024 12:41:52 Martin Storsjö wrote: > > > On Fri, 2 Aug 2024, Pali Rohár wrote: > > > > > > > Every executable references only one of those functions. So if functions > > > >

[Mingw-w64-public] [QUESTION] Linking a CRT function from a Cygwin program

2024-08-12 Thread Rafael Kitover
Apologies in advance if this is the wrong place to ask about this. I recently ran into a problem in a project I'm working on, which is a binary using the Cygwin runtime, where linking failed to find a CRT function, stricmp() in this case. For the time being, I used a trivial reimplementation of t

Re: [Mingw-w64-public] [PATCH 3/5] crt: Split UCRT _getmainargs() and _wgetmainargs() functions into separate files

2024-08-12 Thread Martin Storsjö
On Mon, 12 Aug 2024, Pali Rohár wrote: On Monday 12 August 2024 12:41:52 Martin Storsjö wrote: On Fri, 2 Aug 2024, Pali Rohár wrote: Every executable references only one of those functions. So if functions are split into separate files, linker includes only the one which is used. Replace mag

Re: [Mingw-w64-public] [PATCH 3/5] crt: Split UCRT _getmainargs() and _wgetmainargs() functions into separate files

2024-08-12 Thread Pali Rohár
On Monday 12 August 2024 12:41:52 Martin Storsjö wrote: > On Fri, 2 Aug 2024, Pali Rohár wrote: > > > Every executable references only one of those functions. So if functions > > are split into separate files, linker includes only the one which is used. > > > > Replace magic numbers 2 and 1 for D

Re: [Mingw-w64-public] [PATCH] headers: Fix nesting of version guards around SyntheticPointer APIs

2024-08-12 Thread Martin Storsjö
On Sun, 11 Aug 2024, Jacek Caban wrote: On 11.08.2024 23:05, Martin Storsjö wrote: If the user has hardcoded WINVER to a version number less than 0x0602, while _WIN32_WINNT is set to 0xA00, and NTDDI_VERSION is larger than NTDDI_WIN10_RS3, we would earlier hide the definition of POINTER_INPUT_T

Re: [Mingw-w64-public] [PATCH] headers: Disable conflicting OLE methods on Cygwin

2024-08-12 Thread Rafael Kitover
Just wanted to say that I really appreciate your help with this, I think I was discussing your nano fork with you some years ago. I believe this is enough, because I've used it to build and run some WMI code. I made a repo so you can verify this for yourself: https://github.com/rkitover/mingw-wi

Re: [Mingw-w64-public] [PATCH 3/3] include: Add new DebugSymbols interfaces in dbgeng.h

2024-08-12 Thread LIU Hao
在 2024-08-12 21:30, Biswapriyo Nath 写道: From 7b38af0c4cd9be777adb156972b1db51a21d4f0c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 12 Aug 2024 13:20:07 + Subject: [PATCH 3/3] include: Add new DebugSymbols interfaces in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-hea

Re: [Mingw-w64-public] [PATCH] headers: Disable conflicting OLE methods on Cygwin

2024-08-12 Thread LIU Hao
在 2024-08-12 11:01, Rafael Kitover 写道: +#ifndef __CYGWIN__ operator int() const; operator unsigned int() const; +#endif I suspect this is correct, because on Cygwin `__LONG32` is a typedef for `int`, but then ... +#ifndef __CYGWIN__ _variant_t(unsigned int uiSrc) throw(); +#endif

[Mingw-w64-public] [PATCH 3/3] include: Add new DebugSymbols interfaces in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From 7b38af0c4cd9be777adb156972b1db51a21d4f0c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 12 Aug 2024 13:20:07 + Subject: [PATCH 3/3] include: Add new DebugSymbols interfaces in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 536 +

[Mingw-w64-public] [PATCH 2/3] include: Add new DebugControl interfaces in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From 107b421afdc7ce19b69b7aac4a095bfb671ca6d3 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 12 Aug 2024 13:20:07 + Subject: [PATCH 2/3] include: Add new DebugControl interfaces in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 794 +

[Mingw-w64-public] [PATCH 1/3] include: Add new DebugClient interfaces in dbgeng.h

2024-08-12 Thread Biswapriyo Nath
From b1c1274748b4a29b7462e3d148801358b4a6fcee Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 12 Aug 2024 13:20:07 + Subject: [PATCH 1/3] include: Add new DebugClient interfaces in dbgeng.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/dbgeng.h | 649 ++

Re: [Mingw-w64-public] [PATCH 3/5] crt: Split UCRT _getmainargs() and _wgetmainargs() functions into separate files

2024-08-12 Thread Martin Storsjö
On Fri, 2 Aug 2024, Pali Rohár wrote: Every executable references only one of those functions. So if functions are split into separate files, linker includes only the one which is used. Replace magic numbers 2 and 1 for DoWildCard by the named enum values. Remove check for NULL value of StartI

Re: [Mingw-w64-public] [PATCH] crt: Move non-startup files out of the mingw-w64-crt/crt/ directory

2024-08-12 Thread Martin Storsjö
On Sun, 11 Aug 2024, Pali Rohár wrote: On Friday 09 August 2024 17:56:44 Martin Storsjö wrote: On Fri, 9 Aug 2024, Pali Rohár wrote: On Friday 09 August 2024 16:30:09 Jacek Caban wrote: On 9.08.2024 16:05, Martin Storsjö wrote: On Fri, 9 Aug 2024, Jacek Caban wrote: On 9.08.2024 13:26, Ma

Re: [Mingw-w64-public] [PATCH] headers: Indent the preprocessor directives around setting NTDDI_VERSION

2024-08-12 Thread Martin Storsjö
On Sat, 10 Aug 2024, LIU Hao wrote: 在 2024-08-09 19:05, Martin Storsjö 写道: Signed-off-by: Martin Storsjö --- This was requested on irc, in response to the previous patch. Sending as a separate patch just to be clear. --- mingw-w64-headers/include/sdkddkver.h | 18 +- 1 file