This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]