Re: [Mingw-w64-public] localtime() does not respect TZ if set via char **environ (CLANG*, UCRT64)

2022-11-09 Thread LIU Hao
在 2022/11/6 03:10, H. Müller 写道: Hi all, localtime() does not respect if TZ variable is set via char **environ on CLANG32, CLANG64 and UCRT64. But it works on MINGW32, MINGW64. All the details are given on: https://github.com/msys2/MINGW-packages/issues/13925#issuecomment-1304112646 I don't

[Mingw-w64-public] [PATCH v2] headers: Add windowsnumerics.h, windowsnumerics.impl.h

2022-11-09 Thread Alvin Wong via Mingw-w64-public
v2: - Fixed whitespace - Added implementation for a few more functions and added simple test cases for them - Removed unused C++/CX interop functions From 0afef3733674c7f7bdde54813f9c5b39276d Mon Sep 17 00:00:00 2001 From: Alvin Wong Date: Thu, 20 Oct 2022 23:15:47 +0800 Subject: [PATCH]

Re: [Mingw-w64-public] [PATCH] math: Avoid signed integer overflow in inlinable isnan

2022-11-09 Thread Martin Storsjö
On Wed, 9 Nov 2022, Oleg Oshmyan via Mingw-w64-public wrote: When int x == INT_MIN, the behaviour of `-x` is undefined. This causes a crash when isnan is inlined into code instrumented for Clang's or GCC's -ftrapv, -fsanitize=signed-integer-overflow, -fsanitize=undefined or similar. Instead of

Re: [Mingw-w64-public] [PATCH v2] headers: Add windowsnumerics.h, windowsnumerics.impl.h

2022-11-09 Thread Martin Storsjö
On Wed, 9 Nov 2022, Alvin Wong wrote: v2: - Fixed whitespace - Added implementation for a few more functions and added simple test cases for them - Removed unused C++/CX interop functions LGTM, thanks! I pushed this one now. // Martin ___ Ming