Subject: Re: kern/2255: warnings treated as errors while compiling kernel
To: None <netbsd-bugs@NetBSD.ORG>
From: Christos Zoulas <christos@deshaw.com>
List: netbsd-bugs
Date: 03/25/1996 00:27:19
In article <199603241300.NAA01410@skate.demon.co.uk> plunky@skate.demon.co.uk writes:
>
>>Number:         2255
>>Category:       kern
>>Synopsis:       warnings are given when compiling a kernel, treated as errors so need to be fixed.
>>Confidential:   no
>>Severity:       serious
>>Priority:       high
>>Responsible:    kern-bug-people (Kernel Bug People)
>>State:          open
>>Class:          sw-bug
>>Submitter-Id:   net
>>Arrival-Date:   Sun Mar 24 11:35:02 1996
>>Last-Modified:
>>Originator:     Iain Hibbert
>>Organization:
>	
>>Release:        1.1B
>>Environment:
>	
>System: NetBSD skate.demon.co.uk 1.1 NetBSD 1.1 (skate) #0: Sun Dec 10 13:57:07 GMT 1995 plunky@skate.demon.co.uk:/home/plunky/src/sys/arch/sparc/compile/skate sparc
>
>
>>Description:
>	I'm trying to build myself a kernel (sup on Sunday 23rd), but am getting
>lots of errors (formerly warnings I guess), mostly to do with the fact that the compiler
>doesn't recognise that the panic() call never returns..  so there needs to be some
>small modifications.  I include all the problems I've encountered below, and the way
>that I've fixed them though I'm not sure that its always the correct way, so its not
>sent as a patch.  funnily enough, the files are not all recently modified so I guess
>something changed in the Makefile recently?
>	

Are you running gcc-2.7.2? I don't get any of those warnings.

christos