aboutsummaryrefslogtreecommitdiff
path: root/debug/hex2bin.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-09-08 18:19:26 +0300
committerLasse Collin <lasse.collin@tukaani.org>2023-09-22 20:06:21 +0300
commit90c94dddfd57b7d744bfad64c54e10d15778144b (patch)
tree4319b205d0cdeed9abbc38b3b9555c56845ac158 /debug/hex2bin.c
parentUpdate THANKS. (diff)
downloadxz-90c94dddfd57b7d744bfad64c54e10d15778144b.tar.xz
tuklib: Update tuklib_attr_noreturn for C11/C17 and C23.
This makes no difference for GCC or Clang as they support GNU C's __attribute__((__noreturn__)) but this helps with MSVC: - VS 2019 version 16.7 and later support _Noreturn if the options /std:c11 or /std:c17 are used. This gets handled with the check for __STDC_VERSION__ >= 201112. - When MSVC isn't in C11/C17 mode, __declspec(noreturn) is used. C23 will deprecate _Noreturn (and <stdnoreturn.h>) for [[noreturn]]. This commit anticipates that but the final __STDC_VERSION__ value isn't known yet.
Diffstat (limited to 'debug/hex2bin.c')
0 files changed, 0 insertions, 0 deletions