Re: [Mingw-w64-public] [PATCH] DFP: fix typos and errors caught by GCC 15

2024-05-18 Thread JonY via Mingw-w64-public
On 5/18/24 08:40, LIU Hao wrote: 在 2024-05-18 13:25, JonY via Mingw-w64-public 写道: Attached patch OK? Looks good to me. Thanks. Thanks, pushed to master branch. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https

[Mingw-w64-public] [PATCH] DFP: fix typos and errors caught by GCC 15

2024-05-17 Thread JonY via Mingw-w64-public
Attached patch OK?From dbda83ce39374428f82af7294c876f49d5921483 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sat, 18 May 2024 05:22:34 + Subject: [PATCH] DFP: fix typos and errors caught by GCC 15 Signed-off-by: Jonathan Yong <10wa...@gmail.com> ---

Re: [Mingw-w64-public] __pformat_fpreg_bits: change to match __gdtoa prototype

2024-01-18 Thread JonY via Mingw-w64-public
On 1/18/24 16:45, LIU Hao wrote: 在 2024-01-19 00:01, JonY via Mingw-w64-public 写道: On 1/18/24 12:46, JonY wrote: Attached patch OK? Changes unsigned int to unsigned long to match __gdtoa due to gcc becoming more strict with pointer types. Attached v2 patch, removed #ifdef and made the type

Re: [Mingw-w64-public] __pformat_fpreg_bits: change to match __gdtoa prototype

2024-01-18 Thread JonY via Mingw-w64-public
On 1/18/24 12:46, JonY wrote: Attached patch OK? Changes unsigned int to unsigned long to match __gdtoa due to gcc becoming more strict with pointer types. Attached v2 patch, removed #ifdef and made the type Ulong like the prototype. From 1415ff7f9b835e9ea39864c9625ec6fb72682918 Mon Sep 17

[Mingw-w64-public] __pformat_fpreg_bits: change to match __gdtoa prototype

2024-01-18 Thread JonY via Mingw-w64-public
Attached patch OK? Changes unsigned int to unsigned long to match __gdtoa due to gcc becoming more strict with pointer types.From b73262a164978a1733777e6628c00c3672794dea Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Thu, 18 Jan 2024 12:42:51 + Subject: [PATCH]

Re: [Mingw-w64-public] [PATCH 14/18] winpthreads: AC_PROG_RANLIB is obsoleted by LT_INIT

2023-11-29 Thread JonY via Mingw-w64-public
On 11/29/23 10:39, Antonin Décimo wrote: Fixes a warning from libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'. Signed-off-by: Antonin Décimo --- mingw-w64-libraries/winpthreads/configure| 104 +-- mingw-w64-libraries/winpthreads/configure.ac | 1 - 2

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

2023-05-11 Thread JonY via Mingw-w64-public
On 5/11/23 14:52, LIU Hao wrote: 在 2023-04-28 09:47, LIU Hao 写道: 在 2023/4/2 22:00, LIU Hao 写道: This is a revised patch basing on that. `do_get_path_info()` now contains no half-way return statement. The generic code below already handles empty paths. For UNC paths, the first two components

Re: [Mingw-w64-public] [Patch] mmsystem: remove _WIN32 and WINVER checks

2023-04-29 Thread JonY via Mingw-w64-public
On 4/29/23 06:17, Biswapriyo Nath wrote: I was about to send my fix and lost the race :) I have attached my patch just for the record. It focuses on the cygwin errors only. Your patch looks good to me. Thank you. Done, pushed to master, and v11.x. v11.0.1 tagged.

[Mingw-w64-public] [Patch] mmsystem: remove _WIN32 and WINVER checks

2023-04-28 Thread JonY via Mingw-w64-public
We don't really support WINVER 0x030a or 0x0400, so remove those checks. Likewise, the _WIN32 check is redundant since we lack any import libraries to support non A/W suffixed function calls. This should fix Cygwin w32api, tested locally. Attached patch OK? I plan to also backport this to

Re: [Mingw-w64-public] Announcing v11.0.0

2023-04-28 Thread JonY via Mingw-w64-public
On 4/28/23 12:20, Jonathan Yong wrote: v11.0.0 is now released! Notable changes: * New libdloadhelper.a, like libdelayimp.a but using Windows 8 and later APIs. * Fix race condition when building lib32 and lib64 in parallel on Windows. * *recalloc now only available from msvcr90 and later,

Re: [Mingw-w64-public] [PATCH 1/2] headers: Hide UTF-16 and UTF-32 functions from libmsvcrt

2023-04-27 Thread JonY via Mingw-w64-public
On 4/27/23 14:49, LIU Hao wrote: Basing on some discussion on IRC, I have spit this into two patches. The actual removal of these functions will be postponed after this release. Looks like there was a miscommunication, when I said to hide it from UCRT, I was agreeing with you. I prefer

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

2023-04-03 Thread JonY via Mingw-w64-public
On 4/2/23 15:40, Christoph Reiter wrote: 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

Re: [Mingw-w64-public] [PATCH] headers/intrin-impl: Expand `__movsd` to `movsl` in default AT syntax

2023-02-27 Thread JonY via Mingw-w64-public
On 2/27/23 09:36, LIU Hao wrote: 在 2023/2/24 23:45, LIU Hao 写道:  From 00e46892b8e2407aa6ec47af4b5a793a170d5019 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Fri, 24 Feb 2023 23:38:52 +0800 Subject: [PATCH] headers/intrin-impl: Expand `__movsd` to `movsl` in default   AT syntax This was

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

2022-12-25 Thread JonY via Mingw-w64-public
On 12/25/22 14:53, Alvin Wong via Mingw-w64-public wrote: Signed-off-by: Alvin Wong --- Added according to https://learn.microsoft.com/en-us/windows/win32/api/shcore/. These functions are used for WinRT interop with IStream. mingw-w64-headers/include/shcore.h | 33

Re: [Mingw-w64-public] gcc parameter -mcrtdll= for choosing Windows C RunTime DLL library

2022-12-04 Thread JonY via Mingw-w64-public
On 12/4/22 12:48, LIU Hao wrote: 在 2022-12-04 20:16, Pali Rohár via Gcc 写道: Hello! I would like to ask gcc people, what do you think about such proposed -mcrtdll= parameter? There are lot of unofficial gcc patches which implement this -mcrtdll= parameter and this parameter is present in more

Re: [Mingw-w64-public] [PATCH] crt: Implement standard-conforming termination support with mcfgthread

2022-10-22 Thread JonY via Mingw-w64-public
On 10/22/22 19:52, Martin Storsjö wrote: On Sat, 22 Oct 2022, Jacek Caban wrote: On 10/22/22 18:34, LIU Hao wrote: Hello, Attached are final patches for mcfgthread support in the CRT. Please review. Perhaps to a little surprise, I don't like it. My main issue is that it requires mingw

Re: [Mingw-w64-public] [PATCHv2] Update .gitignore files

2022-10-08 Thread JonY via Mingw-w64-public
On 10/8/22 09:56, LIU Hao wrote: Ignore `libtool` as well. Looks good to me. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] A few small issues in MinGW headers

2022-08-01 Thread JonY via Mingw-w64-public
On 8/1/22 10:30, Martin Storsjö wrote: Hi, On Fri, 29 Jul 2022, Jean-Michaël Celerier wrote: As reported on Github: I don't think we officially use the github repo for issues - (although the sourceforge issue tracker also is mostly unmantained), so I guess this mailing list currently is

Re: [Mingw-w64-public] [PATCH] crt: Hide `*recalloc()` functions for MSVCR* prior to 90

2022-05-13 Thread JonY via Mingw-w64-public
On 5/13/22 06:53, LIU Hao wrote: 在 2022-05-13 14:48, JonY via Mingw-w64-public 写道: I still see it in msvcrt.def.in, is that expected? Are they? I can only see `*realloc` there. The hidden ones are `*re_ca_lloc`. OK, I see, no objections in that case

Re: [Mingw-w64-public] [PATCH] crt: Hide `*recalloc()` functions for MSVCR* prior to 90

2022-05-13 Thread JonY via Mingw-w64-public
On 5/13/22 05:17, LIU Hao wrote: 在 2022-05-09 17:49, LIU Hao 写道:  From 28f1b0cc35c89f14e57fb8c950f75dc514147dd4 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Mon, 9 May 2022 16:17:46 +0800 Subject: [PATCH] crt: Hide `*recalloc()` functions for MSVCR*  prior to 90 They are only available since

Re: [Mingw-w64-public] [PATCH] winpthreads: Do not use `dllimport` when building 3rd-party DLLs

2022-05-01 Thread JonY via Mingw-w64-public
On 5/1/22 07:55, Vincent Torri wrote: But if you really really prefer this setup, then fine, go ahead. But I did warn that it will inconvenirnce users. should winpthread be used by users ? i thought it was written for c++11 threads Vincent Torri You can still use winpthreads directly, it

Re: [Mingw-w64-public] [PATCH] winpthreads: Do not use `dllimport` when building 3rd-party DLLs

2022-05-01 Thread JonY via Mingw-w64-public
On 5/1/22 05:19, LIU Hao wrote: 在 2022-05-01 13:15, LIU Hao 写道: This is the alternative patch as discussed with jon_y on IRC. I forgot to update the commit message. Here is the revised patch. +Programs are usually linked against the winpthreads DLL, and winpthreads +headers expose

[Mingw-w64-public] Announcing v10.0.0

2022-04-04 Thread JonY via Mingw-w64-public
v10.0.0 is now released! Notable changes: * New msvcrt10, 20, 40, 70 and 71 import libraries. * Drop x86_64 64bit crtdll.dll * Updated wine imports * Fix intrin.h compatibility with GCC-11 * _(v)scprintf optimization * optimize __ms_vsnprintf for LTO And many other additions thanks to, but not

Re: [Mingw-w64-public] wine apis in ntdll.def??

2021-12-06 Thread JonY via Mingw-w64-public
On 12/4/21 20:25, unlvsur unlvsur wrote: construct UNIX fd to win32 HANDLE or writing wine specific dlls That allow portablities by using UNIX apis. It would be quite useful for me. I don't think this is a good idea, such a program won't even run on Windows anymore. Use LoadLibrary and

Re: [Mingw-w64-public] [PATCH] headers: Add missing names in windns.h

2021-12-02 Thread JonY via Mingw-w64-public
On 12/3/21 06:50, JonY wrote: On 12/3/21 05:57, Biswapriyo Nath wrote: mingw-w64-headers/include/gdiplus/gdiplusgraphics.h.gch file appeared from nowhere. Adding *.gch in .gitignore may help. I will do a force push to remove it. Looks like I can't force a push with sourceforge, I'll just

Re: [Mingw-w64-public] [PATCH] headers: Add missing names in windns.h

2021-12-02 Thread JonY via Mingw-w64-public
On 12/3/21 05:57, Biswapriyo Nath wrote: mingw-w64-headers/include/gdiplus/gdiplusgraphics.h.gch file appeared from nowhere. Adding *.gch in .gitignore may help. I will do a force push to remove it. ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] Add status and error codes for case sensitive dirs

2021-12-02 Thread JonY via Mingw-w64-public
On 12/2/21 16:50, Corinna Vinschen wrote: Removing the "case-sensitive" flag from a directory containing files which only differ by case (e.g. "foo" and "Foo") is refused with the status code STATUS_CASE_DIFFERING_NAMES_IN_DIR. This patch adds the status code and it's Windows subsystem error

Re: [Mingw-w64-public] [PATCH 1/4] crt: Add new APIs to lib32/user32.def

2021-11-28 Thread JonY via Mingw-w64-public
On 11/28/21 22:32, Martin Storsjö wrote: The new symbols are dumped from Windows 10 19043. The current version of user32.dll there don't include all symbols that are listed in our user32.def, but keeping them untouched for now. This fixes building the latest dev branch of Qt for i686.

Re: [Mingw-w64-public] Patches to fix #515 and 916.

2021-10-02 Thread JonY via Mingw-w64-public
On 10/2/21 5:27 PM, David James wrote: Hello – I’ve coded some fixed for bugs #515 Incorrect sign output from asinh (which also impacted atanh) and #916 asinh incorrect for large values and attached

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

2021-09-30 Thread JonY via Mingw-w64-public
On 9/30/21 2:37 PM, Biswapriyo Nath wrote: Patch looks OK. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] headers: Add new names in winioctl.h

2021-09-30 Thread JonY via Mingw-w64-public
On 10/1/21 4:32 AM, Biswapriyo Nath wrote: Patch looks OK. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] crt: Add missing exports in lib32/authz.def

2021-09-30 Thread JonY via Mingw-w64-public
On 10/1/21 4:33 AM, Biswapriyo Nath wrote: Patch looks OK. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] contributions

2021-09-05 Thread JonY via Mingw-w64-public
On 9/5/21 12:58 PM, Glenn Burkhardt wrote: I don't know if those functions are available from Cygwin.  But they are not in MinGW-w64.  I don't care how they get to MinGW-w64, it would be convenient to have them. And why do you bring up Cygwin?  This is the MinGW-w64 mailing list, right?

Re: [Mingw-w64-public] [PATCH] wtypes.h: replace #include <...> with #include "..." for rpc

2021-09-04 Thread JonY via Mingw-w64-public
On 9/4/21 5:50 AM, LIU Hao wrote: 在 9/4/21 1:18 PM, Jonathan Marler 写道: I could but this project builds with MSVC and I noticed that the MSVC headers are using the same include style for these 2 particular files. Note that we only need to change these 2 lines, to fix this.  What reason is there

Re: [Mingw-w64-public] [Patch] Suppress lto warnings from pseudo-reloc.c

2021-08-26 Thread JonY via Mingw-w64-public
On 8/26/21 2:08 PM, LIU Hao wrote: 在 2021-08-26 18:01, JonY via Mingw-w64-public 写道: Make the variable type similar in __ImageBase in pesect.c. Patch OK? LGTM. Thanks. Done, pushed to master. OpenPGP_signature Description: OpenPGP digital signature

[Mingw-w64-public] [Patch] Suppress lto warnings from pseudo-reloc.c

2021-08-26 Thread JonY via Mingw-w64-public
Make the variable type similar in __ImageBase in pesect.c. Patch OK? From 648a40d3e667404702d6114ce7530d712f76400c Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Thu, 26 Aug 2021 09:56:24 + Subject: [PATCH] pseudo-reloc.c: fix lto symbol warning Signed-off-by:

Re: [Mingw-w64-public] [PATCH] crt: Pass --temp-prefix to dlltool, if supported

2021-08-16 Thread JonY via Mingw-w64-public
On 8/16/21 12:42 PM, Martin Storsjö wrote: When GNU dlltool generates import libraries, it picks a semi-random prefix string for its file names based on the pid of the process. Normally, the prefix doesn't matter much, but when we merge multiple import libraries into one, like for libucrt.a, the

Re: [Mingw-w64-public] [PATCH] crt: Fix a typo in the ucrt __imp_vfscanf assignment

2021-08-05 Thread JonY via Mingw-w64-public
On 8/5/21 8:10 AM, Martin Storsjö wrote: The wrong function was assigned; this was a bug present since 0dd9563a3ad71ad75cab1699ba5cfef2dd0bf9d8 (April 2021). Signed-off-by: Martin Storsjö --- mingw-w64-crt/stdio/ucrt_vfscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [Mingw-w64-public] [PATCHv2] headers/wincon: Don't define `LF_FACESIZE` when `NOGDI` is in, effect

2021-05-29 Thread JonY via Mingw-w64-public
On 5/29/21 3:20 PM, Liu Hao wrote: 在 2021-05-26 09:56, Liu Hao 写道: When `NOGDI` is not defined (i.e. when GDI is desired), `LF_FACESIZE` is always defined, so there is no need to check for it here. ping? Looks good to me, thanks for looking into this. OpenPGP_signature Description:

[Mingw-w64-public] Announcing v9.0.0

2021-05-22 Thread JonY via Mingw-w64-public
v9.0.0 is now released! Notable changes: UCRT updates by Biswapriyo Nath Wine updates by Jacek Caban Various new and updated API headers by Biswapriyo Nath and Liu Hao Various UCRT and MSVCRT fixes by Martin Storsjö at_quick_exit implementation by Martin Storsjö dism API by Biswapriyo Nath idl

Re: [Mingw-w64-public] [PATCH 1/4] crt: Add libopends60.a.

2021-05-17 Thread JonY via Mingw-w64-public
On 5/17/21 11:28 PM, Mark Harmstone wrote: Sorry, I messed up the subject line - this is a standalone patch. Please do not include any regenerated files in the patch for review, thanks. OpenPGP_signature Description: OpenPGP digital signature ___

Re: [Mingw-w64-public] [PATCH] _HUGE for ucrt

2021-05-16 Thread JonY via Mingw-w64-public
On 5/16/21 10:52 AM, Liu Hao wrote: 在 2021-05-16 18:49, JonY via Mingw-w64-public 写道: Updated. Thanks. LGTM. Thanks for the review, pushed to master. OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] _HUGE for ucrt

2021-05-16 Thread JonY via Mingw-w64-public
On 5/16/21 9:36 AM, Liu Hao wrote: 在 2021-05-16 17:21, JonY via Mingw-w64-public 写道: diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h index 3754dc64..b9277bd0 100644 --- a/mingw-w64-headers/crt/math.h +++ b/mingw-w64-headers/crt/math.h @@ -143,8 +143,12 @@ extern &q

Re: [Mingw-w64-public] [PATCH] _HUGE for ucrt

2021-05-16 Thread JonY via Mingw-w64-public
On 5/16/21 8:25 AM, Liu Hao wrote: 在 2021-05-15 23:23, JonY via Mingw-w64-public 写道: The prototype declares it as a non-const, will it be a problem? In addition, it looks like UCRT doesn't declare it as an imported symbol any more. It's plain `extern double const _HUGE;` now. Patch

Re: [Mingw-w64-public] My new attempt to support msvc stl for mingw-w64

2021-05-15 Thread JonY via Mingw-w64-public
On 5/15/21 2:27 PM, sotrdg sotrdg wrote: Do you think that is useful? I’ve heard a lot of people they are not happy with shared linking with libstdc++-6.dll. They want to shared linking with msvcp. some initial attempts · expnkx/MinGW-w64-STL@a2d31c6

Re: [Mingw-w64-public] [PATCH] _HUGE for ucrt

2021-05-15 Thread JonY via Mingw-w64-public
On 5/15/21 2:03 PM, Liu Hao wrote: 在 2021-05-15 21:01, JonY via Mingw-w64-public 写道: On 5/15/21 12:58 PM, JonY wrote: Hi, Attached patch OK? Simplified patch. Is it possible to declare it as `const double`? It need not be mutable. The prototype declares it as a non-const

Re: [Mingw-w64-public] [PATCH] _HUGE for ucrt

2021-05-15 Thread JonY via Mingw-w64-public
On 5/15/21 12:58 PM, JonY wrote: Hi, Attached patch OK? Simplified patch. >From ff422cf04d8f9e105c68ac2ffdd25da4add8f8fb Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sat, 15 May 2021 12:56:51 + Subject: [PATCH] crt: _HUGE for UCRT Signed-off-by: Jonathan Yong

[Mingw-w64-public] [PATCH] _HUGE for ucrt

2021-05-15 Thread JonY via Mingw-w64-public
Hi, Attached patch OK? From c9bef0201c412ee20531fdd777978644e0eef76c Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sat, 15 May 2021 12:56:51 + Subject: [PATCH] crt: _HUGE for UCRT Signed-off-by: Jonathan Yong <10wa...@gmail.com> --- mingw-w64-crt/Makefile.am | 1 +

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

2021-05-14 Thread JonY via Mingw-w64-public
On 5/14/21 12:14 PM, JonY wrote: On 5/13/21 3:31 PM, Biswapriyo Nath wrote: Patch OK, will commit soon if nobody has objections. Pushed to master branch. OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing

Re: [Mingw-w64-public] [PATCH] headers: Add more constants to STORAGE_BUS_TYPE.

2021-05-14 Thread JonY via Mingw-w64-public
On 5/14/21 1:46 PM, JonY wrote: On 5/14/21 12:35 PM, Christian Franke wrote: ... in particular BusTypeNvme. Patch OK, will push soon if no objections. Pushed to master branch. ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] headers: Add more constants to STORAGE_BUS_TYPE.

2021-05-14 Thread JonY via Mingw-w64-public
On 5/14/21 12:35 PM, Christian Franke wrote: ... in particular BusTypeNvme. Patch OK, will push soon if no objections. OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

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

2021-05-14 Thread JonY via Mingw-w64-public
On 5/13/21 3:31 PM, Biswapriyo Nath wrote: Patch OK, will commit soon if nobody has objections. OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] wofutil def files for x86/x86_64

2021-05-13 Thread JonY via Mingw-w64-public
On 5/13/21 5:58 PM, Martin Storsjö wrote: On Thu, 13 May 2021, JonY via Mingw-w64-public wrote: On 5/13/21 4:37 PM, Biswapriyo Nath wrote: Both wofutil are same in x64 and arm64, verified with (if not wrong): nm "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64\wofuti

Re: [Mingw-w64-public] [PATCH] wofutil def files for x86/x86_64

2021-05-13 Thread JonY via Mingw-w64-public
On 5/13/21 4:37 PM, Biswapriyo Nath wrote: Both wofutil are same in x64 and arm64, verified with (if not wrong): nm "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64\wofutil.lib" | grep __imp Updated the patch. From c4616eab1ffc31ea16679e7a7abc155280afb15c Mon Sep 17 00:00:00

[Mingw-w64-public] [PATCH] wofutil def files for x86/x86_64

2021-05-13 Thread JonY via Mingw-w64-public
Patch OK? Someone with ARM should also send the def files. From 02b808c20ad4040c5b5722034cf12b584b7e3205 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Thu, 13 May 2021 16:13:00 + Subject: [PATCH] wofutil: new import lib Signed-off-by: Jonathan Yong

Re: [Mingw-w64-public] [PATCH] headers: Add definitions for Compact OS compression.

2021-05-13 Thread JonY via Mingw-w64-public
On 5/13/21 7:19 AM, Biswapriyo Nath wrote: The patch does not contain anything from wofapi.h (though the name has literally "WOF" in it). And yes, we all know it's WinSDK, docs does not match with actual implementation :) I mean the patch is fine as is, I plan to also put in the functions

Re: [Mingw-w64-public] [PATCH] headers: Add definitions for Compact OS compression.

2021-05-12 Thread JonY via Mingw-w64-public
On 5/12/21 6:57 PM, Biswapriyo Nath wrote: According to WinSDK 10.0.19041.0, Christian seems to be correct. Do the rest of https://docs.microsoft.com/en-us/windows/win32/api/wofapi/ functions also go into winioctl.h? OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] headers: Add definitions for Compact OS compression.

2021-05-12 Thread JonY via Mingw-w64-public
On 5/12/21 4:20 PM, Christian Franke wrote: Use case of Compact OS compression: https://sourceware.org/pipermail/cygwin-apps/2021-May/041225.html Can you move the entries to wofapi.h? MSDN seems to say it should be there:

Re: [Mingw-w64-public] [PATCH] adsiid constants

2021-05-11 Thread JonY via Mingw-w64-public
On 5/11/21 1:38 PM, Liu Hao wrote: 在 2021-05-11 01:33, JonY via Mingw-w64-public 写道: Fixed and updated to use consistent casing. This patch looks good to me. Thanks for reviewing, pushed to master branch. OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [PATCH] adsiid constants

2021-05-10 Thread JonY via Mingw-w64-public
On 5/10/21 4:23 PM, Liu Hao wrote: 在 2021-05-10 23:04, JonY via Mingw-w64-public 写道: Patch OK? Thanks to mikedld for working on it via IRC. 0001-adsiid-Active-Directory-GUIDs.patch According to some *unauthoritative* sources, there are a couple of errors in this patch. +DEFINE_GUID

[Mingw-w64-public] [PATCH] adsiid constants

2021-05-10 Thread JonY via Mingw-w64-public
Patch OK? Thanks to mikedld for working on it via IRC. From 7c43e172f1eedd1d2adb93a14352c3233b559bd3 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Mon, 10 May 2021 14:00:11 + Subject: [PATCH] adsiid: Active Directory GUIDs Signed-off-by: Jonathan Yong

[Mingw-w64-public] Announcing v8.0.2

2021-05-09 Thread JonY via Mingw-w64-public
v8.0.2 is now released! This release was primarily intended to fix building the runtime using GCC11. Thanks for Liu Hao for the GCC11 fixes and Ozkan Sezer for the Direct Draw headers updates from Wine and GetThemeSysFont fix. Note there is no v8.0.1 release, it was mistakenly tagged against

Re: [Mingw-w64-public] [PATCH] Core Audio Constants

2021-04-18 Thread JonY via Mingw-w64-public
On 4/18/21 1:03 PM, Liu Hao wrote: 在 2021-04-18 15:31, JonY via Mingw-w64-public 写道: +#define SPATIAL_AUDIO_POSITION_BYTE_COUNT sizeof(float) * 3 This had better be wrapped in parentheses like `(sizeof(float) * 3)`. The others look good to me. Thanks, pushed to master branch

[Mingw-w64-public] [PATCH] Core Audio Constants

2021-04-18 Thread JonY via Mingw-w64-public
Attached patch OK? The GUIDs seem to be copies from the existing constants. From e97f599818e77d2a13ec8777cb2cfa6b56ed872c Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sun, 18 Apr 2021 07:25:23 + Subject: [PATCH] Core Audio Constants Signed-off-by: Jonathan Yong

Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread JonY via Mingw-w64-public
On 3/7/21 7:41 AM, scr3a...@auresium.com wrote: Mmmh somehow the attachement didn't follow my last message. Sorry for the spam. I hope this one will do it. Scr3am Patch looks good to me, applied to master branch. OpenPGP_signature Description: OpenPGP digital signature

Re: [Mingw-w64-public] [Win32 API Signature Change] Discrepancy in API signature for SymLoadModule64

2021-03-06 Thread JonY via Mingw-w64-public
On 3/5/21 2:01 PM, Liu Hao wrote: 在 2021-03-05 08:10, scr3a...@auresium.com 写道: Note the difference : PSTR vs PCSTR. I replaced PSTR with PCSTR locally to fix a build issue I had and it was enough. Is it a good fix ? If yes should I send a patch here on the mailing list ? This looks

Re: [Mingw-w64-public] [PATCH] crt: Add deprecated `_{str, wcs}lwrt` aliases in DEF

2021-02-04 Thread JonY via Mingw-w64-public
On 2/5/21 6:35 AM, Liu Hao wrote: 在 2021/1/23 上午10:21, Liu Hao 写道: This was done with the following commands: sed -Ei 's/^_(str|wcs)lwr\>.*$/&\n\1lwr == _\1lwr/' `grep -Elr '\<_strlwr\>' mingw-w64-crt` git checkout mingw-w64-crt/lib-common/api-ms-win-crt-string-l1-1-0.def

Re: [Mingw-w64-public] [PATCH 1/2] headers: Move IPv4/v6 options to ws2ipdef.h from ws2tcpip.h.

2021-01-04 Thread JonY via Mingw-w64-public
On 1/3/21 2:15 AM, Liu Hao wrote: 在 2021/1/3 上午12:01, JonY via Mingw-w64-public 写道: On 1/2/21 3:08 PM, Biswapriyo Nath wrote: Any reply on this patch? I don't really have any opinions of this patch, I'll apply both if there are still no objections in a few days. LGTM. Pushed

Re: [Mingw-w64-public] [PATCH 1/2] headers: Move IPv4/v6 options to ws2ipdef.h from ws2tcpip.h.

2021-01-02 Thread JonY via Mingw-w64-public
On 1/2/21 3:08 PM, Biswapriyo Nath wrote: Any reply on this patch? I don't really have any opinions of this patch, I'll apply both if there are still no objections in a few days. ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] stddef.h: sync max_align_t definition with newer gcc

2020-11-01 Thread JonY via Mingw-w64-public
On 11/1/20 8:37 AM, Liu Hao wrote: 在 2020/11/1 10:31, JonY via Mingw-w64-public 写道: typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long; long double __max_align_ld __attribute__((__aligned__(__alignof__(long double; + /* _Float128

[Mingw-w64-public] [PATCH] stddef.h: sync max_align_t definition with newer gcc

2020-10-31 Thread JonY via Mingw-w64-public
Attached patch OK? From c189de0294c89cb87313748be5ce0aa8045e Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10wa...@gmail.com> Date: Sun, 1 Nov 2020 02:22:39 + Subject: [PATCH] stddef.h: sync max_align_t definition with newer gcc Related to: https://sourceforge.net/p/mingw-w64/bugs/778/

Re: [Mingw-w64-public] [PATCH] change GetThemeSysFont() to accept a LOGFONTW* parameter (bug #862)

2020-10-24 Thread JonY via Mingw-w64-public
On 10/24/20 9:36 PM, Ozkan Sezer wrote: See: https://sourceforge.net/p/mingw-w64/bugs/862/ The reported issue is analogous to GetThemeFont(), i.e. see: https://sourceforge.net/p/mingw-w64/feature-requests/82/

Re: [Mingw-w64-public] A problem with getcwd() and chdir()

2020-10-06 Thread JonY via Mingw-w64-public
On 10/6/20 8:12 PM, Arjen Markus wrote: Hello, I have run into a problem with the functions getcwd() and chdir() used via the GCC compiler under MinGW. I try to use the directory "/home" (well, just an example): ls /home cd /home give no problem, but chdir("/home") in a C program fails. I used

Re: [Mingw-w64-public] [PATCH 1/2] crt: Update ncrypt export library.

2020-10-05 Thread JonY via Mingw-w64-public
On 10/5/20 6:43 PM, Biswapriyo Nath wrote: Looks good to me. OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

[Mingw-w64-public] Announcing v8.0.0

2020-09-18 Thread JonY via Mingw-w64-public
v8.0.0 is now released! Notable changes: * New Hyper-V headers and libraries by Biswapriyo Nath * Many headers updated from Wine by Jacek Caban. * ARM math improvements by Martin Storsjö * floating point fixes by Liu Hao * many *printf compatibility fixes by Liu Hao and Martin Storsjö * massive

Re: [Mingw-w64-public] [PATCH] crt: add prntvpt export library

2020-09-07 Thread JonY via Mingw-w64-public
On 9/7/20 1:12 PM, Biswapriyo Nath wrote: > > > Patch looks good to me. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] a possible bug in mingw-w64

2020-08-05 Thread JonY via Mingw-w64-public
On 8/5/20 9:53 PM, NightStrike wrote: > No attachment > Try attaching as .txt. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] winnt.h: Add missing STATUS_HEAP_CORRUPTION define.

2020-07-15 Thread JonY via Mingw-w64-public
On 7/15/20 3:43 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- >  mingw-w64-headers/include/winnt.h | 1 + >  1 file changed, 1 insertion(+) > Patch looks good to me. signature.asc Description: OpenPGP digital signature ___

Re: [Mingw-w64-public] [PATCH] headers/knownfolders.h: add missing folder ids

2020-06-16 Thread JonY via Mingw-w64-public
On 6/15/20 7:17 AM, Biswapriyo Nath wrote: > Patch looks good to me. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] Spam from Steve The Man

2020-04-24 Thread JonY via Mingw-w64-public
On 4/24/20 1:30 PM, sisyphus wrote: > Bloody Hell, > I know it's not really spam, but could you guys at least address something > that I care about (eg https://sourceforge.net/p/mingw-w64/bugs/728 ) > instead of all the piffle that has been filling this list of late ?? > > Or maybe I should just

Re: [Mingw-w64-public] [PATCH] headers: winerror.h add security error values

2020-04-23 Thread JonY via Mingw-w64-public
On 4/22/20 4:09 PM, Biswapriyo Nath wrote: > ... > Patch OK, applied to master, thanks. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] headers: Make conio.h self-sufficient in UCRT mode

2020-02-11 Thread JonY via Mingw-w64-public
On 2/11/20 8:56 PM, Martin Storsjö wrote: > In UCRT mode, conio.h uses the NULL define. Therefore, include > stddef.h at the top of the header. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-headers/crt/conio.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [Mingw-w64-public] Cherry-picks to old release branches

2020-02-05 Thread JonY via Mingw-w64-public
On 2/5/20 3:17 AM, Liu Hao wrote: > 在 2020/2/4 下午9:38, Martin Storsjö 写道: >> >> The v5.x branch itself is an old release, so I presume there won't be >> any new actual releases from it, but that doesn't preclude adding >> further minor fixes on top of it, for users that check out the branch >> and

Re: [Mingw-w64-public] [PATCH] include: Move headers from direct-x/include/ to include/.

2020-01-01 Thread JonY via Mingw-w64-public
On 1/1/20 8:56 AM, Biswapriyo Nath wrote: > Any update on this patch? It's been a year old :) > I'm not sure how this affects Cygwin, but I guess there shouldn't be clashes. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public

Re: [Mingw-w64-public] Linker Error On Gcc Pass 2

2019-12-27 Thread JonY via Mingw-w64-public
On 12/27/19 9:01 PM, Thomas Dineen wrote: > Gentle People: > >    I am attempting to build a GCC Cross compiler running on CentOS > (RedHat) and targeting > Mingw x86_64-w64-mingw32-gcc. The linker Error occurs on Pass 2 of The > Gcc Build, noting that > all of the previous steps were successful.

Re: [Mingw-w64-public] [PATCHv2] crt: Split out the __cxa_atexit and __cxa_thread_atexit entry points to separate files

2019-12-11 Thread JonY via Mingw-w64-public
On 12/11/19 7:08 AM, Martin Storsjö wrote: > This avoids potential conflicts with e.g. libstdc++ (which provides > __cxa_thread_atexit), if something pulls in e.g. __dso_handle or > __cxa_atexit (which libstdc++ doesn't provide). > Patch OK. signature.asc Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] crt: Split out the __cxa_atexit and __cxa_thread_atexit entry points to separate files

2019-12-10 Thread JonY via Mingw-w64-public
On 12/10/19 11:50 AM, Martin Storsjö wrote: > +int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso) { > + return __cxa_thread_atexit(dtor, obj, dso); Did I miss something? The definition got renamed to __mingw_cxa_thread_atexit, yet it is calling __cxa_thread_atexit?

Re: [Mingw-w64-public] New, mixed case Hyper-V header files

2019-12-06 Thread JonY via Mingw-w64-public
On 12/6/19 8:59 PM, Zach Bacon wrote: > I have to agree, on windows while it doesn't matter, cross compiling say from > linux it makes all the difference. I vote that it should be lower case.  > Go ahead with the rename. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] gnatdll not building

2019-12-02 Thread JonY via Mingw-w64-public
On 12/2/19 2:58 PM, Kacvinsky, Tom wrote: >> >> Did you already setup your sysroot? > > I did not specify any sysroot in the configure command. Do you have a > recommendation for this? > > Here is what I have for the configure line for x86_64 > > $

Re: [Mingw-w64-public] gnatdll not building

2019-12-02 Thread JonY via Mingw-w64-public
On 12/2/19 2:25 PM, Kacvinsky, Tom wrote: > > I looked through my notes and the last time I built the tool chain (that time, > for x86_64), I had to manually run "make gnattools" in addition to the "make > gnattools-cross". But this time around "make gnattools" fails with a link > error. > See

Re: [Mingw-w64-public] [PATCH 2/2] widl: Quote path names in the makefile, to fix installing into a path that contains spaces

2019-11-30 Thread JonY via Mingw-w64-public
On 11/30/19 8:28 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö > --- > mingw-w64-tools/widl/Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mingw-w64-tools/widl/Makefile.am > b/mingw-w64-tools/widl/Makefile.am > index 0cc45611e..7c570210e 100644

Re: [Mingw-w64-public] [PATCH] crt/lib64: add WinHvEmulation and WinHvPlatform library

2019-11-13 Thread JonY via Mingw-w64-public
On 11/13/19 8:19 PM, Biswapriyo Nath wrote: > Only x86_64 has these two DLLs. > > Patch looks good. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] Announcing v7.0.0

2019-11-10 Thread JonY via Mingw-w64-public
On 11/10/19 10:38 AM, Michel Zou wrote: Hi, The tarballs still contain a mingw-w64-v6.0.0 folder, this breaks my packaging scripts. Could you check that it's the right version ? xan Sorry about that, I've fixed the uploaded zip and tarball. I have also updated the signatures.

[Mingw-w64-public] Announcing v7.0.0

2019-11-09 Thread JonY via Mingw-w64-public
v7.0.0 is now released! Notable changes: * __FORTIFY_SOURCE support thanks to Christian Franke. * Lots of math fixes from Martin Storsjö. * Many headers updated from Wine by Jacek Caban. * UCRT support by Martin Storsjö. And many other additions thanks to, but not limited to (in Alphabetical

Re: [Mingw-w64-public] Any plan to release new mingw-w64 version?

2019-11-06 Thread JonY via Mingw-w64-public
On 11/6/19 4:03 PM, Biswapriyo Nath wrote: The last tag v6.0 was published on Sep 16, 2018. There are 342 commits till now. What is the timeline for next release? Are there any conditions that need to be fulfilled before releasing new tag? I am OK to release a new version. Anybody still

Re: [Mingw-w64-public] [PATCH] include/libloaderapi{, 2}.h: Don't mistake `BOOL` for, `WINBOOL`.

2019-09-29 Thread JonY via Mingw-w64-public
On 9/29/19 9:57 AM, Liu Hao wrote: > Patch OK. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] include/libloaderapi: update header file

2019-09-05 Thread JonY via Mingw-w64-public
On 9/5/19 5:27 PM, Biswapriyo Nath wrote: > Did anyone see my previous patch? > Yes, it made it fine to the mailing list, thanks. Patch looks good to me. signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] [PATCH] include/winternl: update header file

2019-08-28 Thread JonY via Mingw-w64-public
On 8/28/19 10:32 AM, Biswapriyo Nath wrote: > Any comment on this? Sure, please send patch. Unfortunately I don't know much about wininternl, so I can't comment on it. I'll pull them in in awhile if nobody has any objections. signature.asc Description: OpenPGP digital signature

Re: [Mingw-w64-public] _FORTIFY_SOURCE support ?

2019-08-25 Thread JonY via Mingw-w64-public
On 8/24/19 6:50 PM, Christian Franke wrote: > Hi, > > packages from Linux and *BSD distros are often build with > -D_FORTIFY_SOURCE=2 set by default. This enables buffer overflow checks > for functions like strcpy() if buffer size is known at compile time. > > Attached is an experimental patch

Re: [Mingw-w64-public] [PATCH] shobjidl.idl: added definition for FOS_SUPPORTSTREAMABLEITEMS to FILEOPENDIALOGOPTIONS enum

2019-07-31 Thread JonY via Mingw-w64-public
On 7/31/19 7:18 PM, Richard Pospesel wrote: > Signed-off-by: Richard Pospesel > --- > mingw-w64-headers/include/shobjidl.h | 8 +--- > mingw-w64-headers/include/shobjidl.idl | 3 ++- > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git a/mingw-w64-headers/include/shobjidl.h

  1   2   3   >