Re: [Mingw-w64-public] [ANN] MSYS2 64bit UCRT Environment (UCRT64)

2021-03-31 Thread Martin Storsjö
Hi Christoph, On Wed, 31 Mar 2021, Christoph Reiter wrote: over the last two weeks MSYS2 [0] gained a new ucrt based environment: * 64bit only, and no plans for 32bit at the moment * Access via C:/msys64/ucrt64.exe for example * Package names start with "mingw-w64-ucrt-x86_64-" Example: "pacm

[Mingw-w64-public] [ANN] MSYS2 64bit UCRT Environment (UCRT64)

2021-03-31 Thread Christoph Reiter
Hey everyone, over the last two weeks MSYS2 [0] gained a new ucrt based environment: * 64bit only, and no plans for 32bit at the moment * Access via C:/msys64/ucrt64.exe for example * Package names start with "mingw-w64-ucrt-x86_64-" Example: "pacman -S mingw-w64-ucrt-x86_64-gtk3" * We currentl

[Mingw-w64-public] g++ error: '_clearfp' was not declared in this scope

2021-03-31 Thread Biswapriyo Nath
Command: g++ -std=c++11 test.cpp Code: #include int main() { _clearfp(); } Summary: * gcc ✓ * g++ ✓ * g++ -std=c++11 ✕ ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-

Re: [Mingw-w64-public] [PATCH] crt: Add symbols for POSIX time functions

2021-03-31 Thread Jacek Caban
On 31.03.2021 15:12, Martin Storsjö wrote: On Wed, 31 Mar 2021, Liu Hao wrote: 在 2021/3/31 下午7:46, Martin Storsjö 写道: Hmm, if MSVC defaults to a 64 bit time_t in 32 bit mode these days, I think we should too, for UCRT. (Technically I guess it's an ABI break, but I'd be quite comfortable doi

[Mingw-w64-public] [PATCH] crt: Add symbols for POSIX time functions and find{first, next} functions

2021-03-31 Thread Liu Hao
Side note: This patch is not meant to address the issue about default size of `time_t`, due to possibility of ABI break. -- Best regards, Liu Hao From 6ffd67853efba37f7bdd1664e99dd26d3a6da5c1 Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Tue, 30 Mar 2021 22:19:33 +0800 Subject: [PATCH] crt: Add

Re: [Mingw-w64-public] [PATCH] crt: Add symbols for POSIX time functions

2021-03-31 Thread Martin Storsjö
On Wed, 31 Mar 2021, Liu Hao wrote: 在 2021/3/31 下午7:46, Martin Storsjö 写道: Hmm, if MSVC defaults to a 64 bit time_t in 32 bit mode these days, I think we should too, for UCRT. (Technically I guess it's an ABI break, but I'd be quite comfortable doing it, while I'd be less comfortable changin

Re: [Mingw-w64-public] [PATCH] crt: Add symbols for POSIX time functions

2021-03-31 Thread Liu Hao
在 2021/3/31 下午7:46, Martin Storsjö 写道: Hmm, if MSVC defaults to a 64 bit time_t in 32 bit mode these days, I think we should too, for UCRT. (Technically I guess it's an ABI break, but I'd be quite comfortable doing it, while I'd be less comfortable changing any defaults for msvcrt.dll targets.

Re: [Mingw-w64-public] [PATCH] Enable __MINGW_FORCE_SYS_INTRINS for Clang

2021-03-31 Thread Martin Storsjö
On Mon, 29 Mar 2021, Mateusz Mikuła wrote: See https://github.com/msys2/CLANG-packages/issues/6 for the details --- mingw-w64-headers/crt/intrin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/crt/intrin.h b/mingw-w64-headers/crt/intrin.h index 4e840fab

Re: [Mingw-w64-public] [PATCH] crt: Add symbols for POSIX time functions

2021-03-31 Thread Martin Storsjö
On Wed, 31 Mar 2021, Liu Hao wrote: 在 2021/3/30 下午11:26, Martin Storsjö 写道: On Tue, 30 Mar 2021, Liu Hao wrote: The patch looks sensible to me (and good that you added a comment!). For 32 bit mode, I'd say default to whatever the headers default to. However, please add the corresponding ali