Subject: 1.6.1 and GCC 3.3
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 09/11/2003 09:34:18
There's something wrong in the latest netbsd-1-6 when using GCC 3.

/usr/pkg/gcc-3.3/bin/gcc  -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 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c 
/usr/src/sys/arch/i386/compile/GENERIC/../../../../dev/ic/ld_icp.c
/usr/src/sys/dev/ic/ld_icp.c: In function `ld_icp_attach':
/usr/src/sys/dev/ic/ld_icp.c:128: warning: too many arguments for format
*** Error code 1

Isn't the printf statement missing %s?

Martti