Subject: one of these things is not like the other...
To: None <current-users@NetBSD.ORG>
From: Erik E. Fair <fair@clock.org>
List: current-users
Date: 07/21/1997 21:49:00
Two systems: a SPARC LX and a Sun 3/60.
Both sup'd -current as of this morning.
In trying to build /usr/bin/pax, the SPARC is perfectly happy, and the Sun
3/60 says:
pushd /usr/src/bin/pax
/usr/src/bin/pax /tmp
root@chronos 59} make
cc -O -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -c buf_subs.c
cc1: warnings being treated as errors
buf_subs.c: In function `appnd_start':
buf_subs.c:240: warning: `cnt' might be used uninitialized in this function
buf_subs.c: In function `rd_skip':
buf_subs.c:443: warning: `cnt' might be used uninitialized in this function
*** Error code 1
Stop.
21.0u 8.0s 0:37.74 77.0% 0+0k 223+40io 184pf+0w
The compilers were both last installed on Jul 18 (the last time they both
completed a build).
BTW, the variable in question is uninitialized. Why does the Sun 3 catch
it, and the Sun 4 ignore it, with identical sources and compile-time
options?
curious,
Erik <fair@clock.org>