[Top][All Lists]

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

Re: Gnumach cleanup 10 second attempt

From: Barry deFreese
Subject: Re: Gnumach cleanup 10 second attempt
Date: Mon, 21 Jul 2008 12:30:36 -0400
User-agent: Thunderbird (Windows/20080421)

Samuel Thibault wrote:
Barry deFreese, le Mon 21 Jul 2008 11:33:57 -0400, a écrit :
Samuel Thibault wrote:
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".
OK fair enough but exception() does do a few returns, you want me to go ahead and remove those also?

See the comment, they shouldn't be reached, so yes you can, but also add
noreturn to the functions that are called just before, etc. ;)

OK I'm getting closer. I added noreturn to exception and exception_raise but I'm still getting the warning that exception_raise is returning. I thought maybe it was assert() but Asser() has __attribute__ ((noreturn)). Any idea on what else I'm missing?

Sorry to be such a pain.



reply via email to

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