Subject: Re: build fails in timed/master (was 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/18/2005 23:40:16
In article <20050419.143713.88471762.schutz_m@usp.ac.fj>,
Marko Schütz  <schutz_m@usp.ac.fj> wrote:
>-=-=-=-=-=-
>
>From: Klaus Klein <kleink@mibh.de>
>Subject: Re: build fails in ssh-keyscan.c
>Date: Mon, 18 Apr 2005 11:35:14 +0200
>
>> Marko Schütz wrote:
>> 
>> > #   compile  ssh-keyscan/ssh-keyscan.o
>> > /usr/src/obj/tooldir.NetBSD-2.0-x86_64/bin/x86_64--netbsd-gcc -O2
>-O6  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>-Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror  
>-I/usr/src/crypto/dist/ssh -DHAVE_LOGIN_CAP -DHAVE_MMAP -DHAVE_OPENPTY 
>-nostdinc -isystem /usr/sandbox/usr/include  -c   
>/usr/src/crypto/dist/ssh/ssh-keyscan.c  
>> > /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.
>> 
>> 
>> - Klaus
>
>#   compile  timed/master.o
>/usr/src/obj/tooldir.NetBSD-2.0-x86_64/bin/x86_64--netbsd-gcc -O2 -O6 
>-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>-Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type
>-Wswitch -Wshadow  -Werror    -nostdinc -isystem
>/usr/sandbox/usr/include  -c    /usr/src/usr.sbin/timed/timed/master.c
>/usr/src/usr.sbin/timed/timed/master.c: In function `master':
>/usr/src/usr.sbin/timed/timed/master.c:347: warning: no return statement
>in function returning non-void

Fixed.

christos