Subject: one of these things is not like the other...
To: None <current-users@NetBSD.ORG>
From: Erik E. Fair <firstname.lastname@example.org>
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
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
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