[Mingw-w64-public] [PATCH 2/2] crt: Implement sincos in C.

2025-03-24 Thread Jacek Caban
--- mingw-w64-crt/Makefile.am | 20 +- mingw-w64-crt/math/arm-common/sincosl.c | 13 +++ mingw-w64-crt/math/arm/sincos.S | 32 mingw-w64-crt/math/arm/sincosf.S| 29 -- mingw-w64-crt/math/arm64/sincos.S | 34 --

Re: [Mingw-w64-public] [PATCH 00/11] UCRT stdio option handling, __ms_ prefixed functions

2025-03-24 Thread Martin Storsjö
On Thu, 20 Mar 2025, Pali Rohár wrote: On Thursday 20 March 2025 23:00:54 Martin Storsjö wrote: And with that in mind, I'm actually wondering if we should revert 581532b8e49a0e10cbdfe2332a8c1d61ff3d6820 regardless of this patchset? I'm actually less convinced that we want to have this distincti

[Mingw-w64-public] [PATCH 04/10] headers: Remove broken inline stat() and fstat() functions

2025-03-24 Thread Pali Rohár
Correct versions are provided by non-inline variants. To prevent code duplication and maintenance, remove those inline definitions completely instead of fixing them. --- mingw-w64-headers/crt/sys/stat.h | 84 1 file changed, 84 deletions(-) diff --git a/mingw-w64-

[Mingw-w64-public] [PATCH v2] headers/crt: Add _wcreate_locale declaration

2025-03-24 Thread LIU Hao
-- Best regards, LIU Hao From 99cc51ee0b886965aba116385f749cf1b470aa16 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 23 Mar 2025 08:45:03 + Subject: [PATCH] headers/crt: Add _wcreate_locale declaration This function is available since MSVCR110. Required for https://sourceforge

Re: [Mingw-w64-public] [PATCH] winpthreads: fix typo pthread_attr_setgaurdsize->pthread_attr_setguardsize

2025-03-24 Thread Martin Storsjö
On Sat, 22 Mar 2025, LIU Hao wrote: 在 2025-3-22 06:05, Martin Storsjö 写道: From: Alexander Argentakis <38327951+mfdgam...@users.noreply.github.com> --- Forwarding this fix from https://github.com/mingw-w64/mingw-w64/pull/82; it looks trivial enough to not require the submitter to subscribe for

[Mingw-w64-public] [PATCH] Add check if `libgcc` is available and link `winpthreads` against it instead of `fakelib`

2025-03-24 Thread Radek Barton via Mingw-w64-public
Hello everyone. This patch adds detection whether `libgcc` is available to `configure` and `Makefile` of `winpthreads` library. If `libgcc` is detected, the `fakelib` will not be used. This is needed when building `winpthreads` with second stage `aarch64-w64-mingw32` GCC because otherwise there