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

2024-08-11 Thread Rafael Kitover
On inclusion of the header `comutil.h` on Cygwin platforms errors such as: include/comutil.h:413:3: error: '_variant_t::_variant_t(unsigned int)' cannot be overloaded with '_variant_t::_variant_t(unsigned int)' , are produced because on Cygwin some methods are duplicates via a type alias. Disab

Re: [Mingw-w64-public] [PATCH] headers: Remove some dup OLE methods in comutil.h

2024-08-11 Thread LIU Hao
在 2024-08-12 09:38, Rafael Kitover 写道: On inclusion of the header `comutil.h` errors such as: include/comutil.h:413:3: error: '_variant_t::_variant_t(unsigned int)' cannot be overloaded with '_variant_t::_variant_t(unsigned int)' , are produced because some methods are duplicates via a type al

[Mingw-w64-public] [PATCH] headers: Remove some dup OLE methods in comutil.h

2024-08-11 Thread Rafael Kitover
On inclusion of the header `comutil.h` errors such as: include/comutil.h:413:3: error: '_variant_t::_variant_t(unsigned int)' cannot be overloaded with '_variant_t::_variant_t(unsigned int)' , are produced because some methods are duplicates via a type alias. Remove these methods. Signed-off-b

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

2024-08-11 Thread Jacek Caban
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_TYPE, but include the declarations of funct

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

2024-08-11 Thread Martin Storsjö
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_TYPE, but include the declarations of functions that take a POINTER_INPUT_TYPE parameter

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

2024-08-11 Thread Pali Rohár
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, Martin St