Re: [Mingw-w64-public] [PATCH 1/1] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-01 Thread LIU Hao
在 2022/11/2 06:48, L. E. Segovia via Mingw-w64-public 写道: --- mingw-w64-headers/crt/stdlib.h | 1 + mingw-w64-headers/crt/tchar.h | 4 2 files changed, 5 insertions(+) MSVCRT (i686 and x86_64) doesn't export this function while UCRT does, so there needs to be an implementation for

[Mingw-w64-public] [PATCH 0/1] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-01 Thread L. E. Segovia via Mingw-w64-public
Hi all, This is a small patch to define a missing UCRT function that was identified when fixing the number parsing support for OpenColorIO [1]. This makes the original patch targeting the Windows ABI to fail building under MinGW [2]. [1]:

[Mingw-w64-public] [PATCH 1/1] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-01 Thread L. E. Segovia via Mingw-w64-public
--- mingw-w64-headers/crt/stdlib.h | 1 + mingw-w64-headers/crt/tchar.h | 4 2 files changed, 5 insertions(+) diff --git a/mingw-w64-headers/crt/stdlib.h b/mingw-w64-headers/crt/stdlib.h index e3b5499e..59b51e80 100644 --- a/mingw-w64-headers/crt/stdlib.h +++

Re: [Mingw-w64-public] [PATCH] headers/stdio: Don't attempt to perform buffer overflow checks when inlining is impossible

2022-11-01 Thread Martin Storsjö
On Tue, 1 Nov 2022, LIU Hao wrote: 在 2022/11/1 05:00, Martin Storsjö 写道: https://reviews.llvm.org/D137073 should fix it (but it isn't merged yet). Anyway, as for fixing the issue, we already have the situation where __MINGW_FORTIFY_VA_ARG is defined to 0 on Clang (since it doesn't implement