Subject: Re: build fails in ssh-keyscan.c
To: Marko =?iso-8859-15?q?Sch=FCtz?= <schutz_m@usp.ac.fj>
From: Klaus Klein <kleink@mibh.de>
List: current-users
Date: 04/18/2005 11:35:14
Marko Sch=FCtz wrote:

> #   compile  ssh-keyscan/ssh-keyscan.o
> /usr/src/obj/tooldir.NetBSD-2.0-x86_64/bin/x86_64--netbsd-gcc -O2 -O6  -W=
all -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-comp=
are -Wno-traditional -Wno-uninitialized  -Werror   -I/usr/src/crypto/dist/s=
sh -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY  -nostdinc -isystem /usr/san=
dbox/usr/include  -c    /usr/src/crypto/dist/ssh/ssh-keyscan.c =20
> /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

The increased optimization level (-O6; actually -O3 would have triggered
this already) would explain that, thank you. Christos Zoulas added a fix
yesterday; make sure you have src/include/setjmp.h rev. 1.22.


=2D Klaus