qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH 2/2] Add __noreturn function attribute


From: Thiemo Seufer
Subject: Re: [Qemu-devel] Re: [PATCH 2/2] Add __noreturn function attribute
Date: Fri, 28 Nov 2008 19:28:59 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Jan Kiszka wrote:
> malc wrote:
> > On Fri, 28 Nov 2008, Jan Kiszka wrote:
> > 
> >> Introduce __noreturn attribute and attach it to cpu_loop_exit as well as
> >> interrupt/exception helpers for i386. This avoids a bunch of gcc4
> >> warnings.
> > 
> > ISO/IEC 9899:1990
> > 
> > 7.1.3
> >          -- All  identifiers  that  begin  with  an  underscore and
> >             either an uppercase letter or  another  underscore  are
> >             always reserved for any use.
> 
> ...but commonly used in practice (which is no excuse to do so here, just
> an explanation). Given that we have __hidden already, I just followed
> the existing pattern. 

A kernel is free to make its own rules about namespaces, but userland
applications like Qemu should adhere to the userland standards.


Thiemo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]