Subject: bin/4322: src/games/hack/hack.invent.c compiler error on SPARC
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@atomic.clock.org>
List: netbsd-bugs
Date: 10/22/1997 23:33:58
>Number: 4322
>Category: bin
>Synopsis: src/games/hack/hack.invent.c compiler error on SPARC
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 22 23:35:00 1997
>Last-Modified:
>Originator: Erik E. Fair
>Organization:
International Organization of Internet Clock Watchers
>Release: NetBSD-current of 1997/10/22
>Environment:
System: NetBSD atomic.clock.org 1.2G NetBSD 1.2G (ATOMIC) #9: Mon Oct 20 13:06:47 PDT 1997 root@atomic.clock.org:/usr/src/sys/arch/sparc/compile/ATOMIC sparc
>Description:
cc -O -I. -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -c hack.invent.c
cc1: warnings being treated as errors
hack.invent.c: In function `dolook':
hack.invent.c:800: warning: `otmp0' might be used uninitialized in this function
hack.invent.c:801: warning: `gold' might be used uninitialized in this function
*** Error code 1
Stop.
>How-To-Repeat:
cd /usr/src/games/hack
make
>Fix:
1. fix gcc
2. initialize the variables being complained about
>Audit-Trail:
>Unformatted: