bug-hurd
[Top][All Lists]
Advanced

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

Re: Gnumach cleanup 10 second attempt


From: Samuel Thibault
Subject: Re: Gnumach cleanup 10 second attempt
Date: Mon, 21 Jul 2008 16:04:34 +0100
User-agent: Mutt/1.5.12-2006-07-14

Barry deFreese, le Mon 21 Jul 2008 11:01:31 -0400, a écrit :
> Here is an updated patch.  I hope I got it right this time.
> 
> I added __attribute__ ((noreturn)) to i386_exception but I now get this
> warning:
> 
> ../i386/i386/trap.c: In function 'i386_exception':
> ../i386/i386/trap.c:634: warning: 'noreturn' function does return
> 
> But I don't see a return anywhere!??

Indeed, but functions implicitely return at the end of it...

And in that case, that's why I said to add noreturn to i386_exception
and similar.  exception() is one of those "similars".

Samuel




reply via email to

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