Samuel Thibault wrote:
Barry deFreese, le Mon 21 Jul 2008 11:33:57 -0400, a écrit :
Samuel Thibault wrote:
<snip>
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. ;)
Samuel
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.
Thanks,
Barry