This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix implicit-fallthrough warnings in tst-setjmp.c
On Thu, 14 Feb 2019, Paul Eggert wrote:
> On 2/14/19 2:03 PM, Joseph Myers wrote:
> > -static void
> > +static __attribute__ ((__noreturn__)) void
>
> Shouldn't we use the more-standard _Noreturn for this sort of thing? cdefs.h
> defines _Noreturn for pre-C11 GCCs.
The attribute seems much more widely used in glibc .c files at present.
--
Joseph S. Myers
joseph@codesourcery.com