Fix implicit-fallthrough warnings in tst-setjmp.c

Joseph Myers joseph@codesourcery.com
Thu Feb 14 22:23:00 GMT 2019


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



More information about the Libc-alpha mailing list