在 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
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
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
在 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