Subject: Re: build fails in ssh-keyscan.c
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: current-users
Date: 04/15/2005 12:55:34
In article <20050415.124253.128617709.schutz_m@usp.ac.fj>,
Marko Schütz  <schutz_m@usp.ac.fj> wrote:
>-=-=-=-=-=-
>
>the build was started in a fresh checkout `cvs co -P src` as
>
>./build.sh -x -D /usr/sandbox tools
>./build.sh -x -D /usr/sandbox distribution
>
>[..]
>/usr/src/crypto/dist/ssh/ssh-keyscan.c: In function `hostjump':
>/usr/src/crypto/dist/ssh/ssh-keyscan.c:312: warning: no return statement
>in function returning non-void
>
>
>Any hints/fixes would be appreciated

It is strange that nobody got this before, since the function is
calling longjmp() and we did not mark longjmp() as noreturn. I
am fixing this, but I am curious why nobody has seen this before.

christos