Subject: Re: 1.6.1 and GCC 3.3
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Bang Jun-Young <junyoung@netbsd.org>
List: current-users
Date: 09/11/2003 16:17:02
On Thu, Sep 11, 2003 at 09:34:18AM +0300, Martti Kuparinen wrote:
> 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?
No, it has an unnecessary argument which is removed since -r1.2.
Please do pull-up request -r1.2 of ld_icp.c to netbsd-1-6.
Jun-Young
--
Bang Jun-Young <junyoung@NetBSD.org>