]> Savannah Git Hosting - gnulib.git/commit
snippet/_Noreturn: port to pedantic clang
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Jan 2021 22:17:32 +0000 (14:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Jan 2021 22:18:07 +0000 (14:18 -0800)
commit077ffc1e416a6be980dd45979547201e572962f6
treea5a43d4381d749b6eaf3b60ab6d788f9143935c8
parent22f880ff9b1cc1cef82a2924ab650c7c2bbbe46b
snippet/_Noreturn: port to pedantic clang

Problem reported by Joe Nelson in:
https://lists.gnu.org/r/bug-gnulib/2021-01/msg00152.html
* doc/noreturn.texi: Improve.
* lib/_Noreturn.h (_Noreturn):
* m4/gnulib-common.m4 (gl_COMMON_BODY):
Do not assume _Noreturn works as-is when __STRICT_ANSI__ is
defined, unless __STDC_VERSION__ indicates C11 or later.
* lib/_Noreturn.h (_Noreturn): Fall back on __attribute__
((__noreturn__)) if Clang; this merges the
2020-08-10T23:53:13Zbruno@clisp.org patch to m4/gnulib-common.m4.
ChangeLog
doc/noreturn.texi
lib/_Noreturn.h
m4/gnulib-common.m4