Re: [Mingw-w64-public] [PATCH] crt: Add noreturn attribute with _amsg_exit

2023-07-15 Thread LIU Hao
在 2023-07-15 20:41, Biswapriyo Nath 写道: Patch updated. Thanks. Pushed. just for consistency with the other declarations. There are some other variations as well. pseduo-reloc.c has ATTRIBUTE_NORETURN and stack checking functions has the real attribute. For this `__attribute__((__noreturn

[Mingw-w64-public] [PATCH] headers: Add C11 variants of gmtime_s and localtime_s

2023-07-15 Thread Christian Franke
According to https://en.cppreference.com/w/c/chrono/localtime C11 added optional gmtime_s() and localtime_s() which conflict with the long standing MSVCRT/UCRT variants. I have no idea why they did this (C23 finally adds the traditional *_r() functions which are IIRC older than POSIX). The at

Re: [Mingw-w64-public] [PATCH] crt: Add noreturn attribute with _amsg_exit

2023-07-15 Thread Biswapriyo Nath
Patch updated. > just for consistency with the other declarations. There are some other variations as well. pseduo-reloc.c has ATTRIBUTE_NORETURN and stack checking functions has the real attribute. From d56a3dc598223d849b4666d1431b3c3d1c21737b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date

Re: [Mingw-w64-public] [PATCH] crt: Add noreturn attribute with _amsg_exit

2023-07-15 Thread LIU Hao
在 2023-07-15 13:39, Biswapriyo Nath 写道: From 500289eff11712010d492af19860c27303619121 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 15 Jul 2023 11:04:46 +0530 Subject: [PATCH] crt: Add noreturn attribute with _amsg_exit This fixes the following compiler warning ucrtbase_compat.c:10