Subject: Re: trouble compiling bufcache.c
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 08/31/2002 19:31:04
On Sat, Aug 31, 2002 at 09:49:44AM -0700, Hisashi T Fujinaka wrote:
> OK, is this just me being half-a-day behind because of being a peon on
> anoncvs? :)
> 
> /usr/src/tools/obj/tools.NetBSD-1.6G-i386/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-format-y2k -Werror  -I/usr/src/usr.bin/systat/../../usr.bin/vmstat -DSUPPORT_UTMP -DSUPPORT_UTMPX  -I/usr/src/usr.bin/systat/../../usr.bin/who -DINET6 -DIPSEC -nostdinc -isystem /usr/include  -c /usr/src/usr.bin/systat/bufcache.c
> cc1: warnings being treated as errors
> In file included from /usr/src/usr.bin/systat/bufcache.c:45:
> /usr/include/sys/buf.h:97: warning: `struct buf' declared inside parameter list
> /usr/include/sys/buf.h:97: warning: its scope is only this definition or declaration, which is probably not what you want.
> *** Error code 1

Fixed in sys/sys/buf.h rev 1.54.

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)