[Mingw-w64-public] [PATCH 1/2] headers: Add new symbols in hyperv compute headers

2024-06-02 Thread Biswapriyo Nath
From 323e43aa70b0a3d7e8b1b42650b5a769337ab679 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 3 Jun 2024 06:40:09 + Subject: [PATCH 1/2] headers: Add new symbols in hyperv compute headers Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/computecore.h| 5 + mi

[Mingw-w64-public] [PATCH 2/2] crt: Add new symbols in hyperv compute import libs

2024-06-02 Thread Biswapriyo Nath
From cdf0e097290c4ca4fa21c2a136281d2e3b38db36 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 3 Jun 2024 06:43:03 + Subject: [PATCH 2/2] crt: Add new symbols in hyperv compute import libs Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/computecore.def| 7 +++

Re: [Mingw-w64-public] [PATCH] Include minwindef.h in minwinbase.h

2024-06-02 Thread LIU Hao
在 2024-05-30 21:14, Daniel Bonniot 写道: This can be worked around by the user by adding a #include before, but it can be confusing/surprising at first. Since minwinbase.h depends on definitions from minwindef.h, wouldn't it be cleaner if it included it? My apologies if this is a bad idea for some

[Mingw-w64-public] [PATCH] Include minwindef.h in minwinbase.h

2024-06-02 Thread Daniel Bonniot
Hello, Compiling a program which only includes minwinbase.h (or winbase.h) fails with about a hundred errors, starting with: mingw-w64-headers/include/minwinbase.h:16:5: error: ‘DWORD’ does not name a type 16 | DWORD nLength; | ^ This can be worked around by the user by adding a #in

[Mingw-w64-public] [PATCH] crt: Move __uncaught_exception symbol out of the C++ mangled symbol section in all .def.in files

2024-06-02 Thread Pali Rohár
--- mingw-w64-crt/lib32/msvcr100.def.in | 3 ++- mingw-w64-crt/lib32/msvcr110.def.in | 3 ++- mingw-w64-crt/lib32/msvcr120.def.in | 3 ++- mingw-w64-crt/lib32/msvcr120d.def.in | 3 ++- mingw-w64-crt/lib32/msvcr70.def.in | 3 ++- mingw-w64-crt/lib32/msvcr70d.def.in | 3 ++- mingw-w64-crt/lib3

[Mingw-w64-public] [PATCH] crt: Add import library for msvcr80d.dll

2024-06-02 Thread Pali Rohár
msvcr80d.dll is debug version of the msvcr80.dll and provides additional debugging functions. --- mingw-w64-crt/Makefile.am | 13 +- mingw-w64-crt/lib-common/msvcr80d.mri |6 + mingw-w64-crt/lib32/msvcr80d.def.in | 1633 + mingw-w64-crt/lib64/msvcr80d.de

[Mingw-w64-public] [PATCH v2] crt: crtdll.dll and msvcrt10.dll: Fix linking of the WinMain() function

2024-06-02 Thread Pali Rohár
WinMain() entry point provided by the application is called by mingw-w64 startup code, more precisely by function main() from crtexewin.c file. mingw-w64 startup code in file crtexewin.c calls _ismbblead() function. Function _ismbblead() is not available in some versions of crtdll.dll and is compl

Re: [Mingw-w64-public] [PATCH 5/5] crt: crtdll.dll and msvcrt10.dll: Fix linking of the WinMain() function

2024-06-02 Thread Pali Rohár
On Wednesday 29 May 2024 22:15:06 Pali Rohár wrote: > On Wednesday 29 May 2024 16:21:33 Martin Storsjö wrote: > > On Sun, 26 May 2024, Pali Rohár wrote: > > > > > WinMain() entry point defined by the application is called by mingw-w64 > > > startup code, more precisely by function main() from crte

Re: [Mingw-w64-public] [PATCH] crt: Add missing __cdecl decoration for functions: mbrtowc mbsrtowcs mbrlen wcrtomb wcsrtombs

2024-06-02 Thread Pali Rohár
On Wednesday 29 May 2024 15:38:19 Martin Storsjö wrote: > On Mon, 27 May 2024, Pali Rohár wrote: > > > On Monday 27 May 2024 13:04:56 LIU Hao wrote: > > > 在 2024-05-26 20:39, Pali Rohár 写道: > > > > --- > > > > mingw-w64-crt/misc/mbrtowc.c | 3 +++ > > > > mingw-w64-crt/misc/wcrtomb.c | 5 -