Subject: error compiling irframe.c
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 09/29/2002 22:17:18
Hi,
I get the following error attemptimg to build a current kernel (as of 29
Sept.)
Sverre
cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized
-Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC
-DUSB_DEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
/usr/src/sys/arch/i386/compile/ABBOR/../../../../dev/ir/irframe.c
cc1: warnings being treated as errors
/usr/src/sys/arch/i386/compile/ABBOR/../../../../dev/ir/irframe.c:88: warning:
missing braces around initializer
/usr/src/sys/arch/i386/compile/ABBOR/../../../../dev/ir/irframe.c:88: warning:
(near initialization for `irframe_cd.cd_list')
/usr/src/sys/arch/i386/compile/ABBOR/../../../../dev/ir/irframe.c:88: warning:
initialization from incompatible pointer type
*** Error code 1
Stop.