Subject: Re: -current problems
To: Scott Ellis <scotte@warped.com>
From: Jeremy Cooper <jeremy@broder.com>
List: port-sun3
Date: 01/02/1997 19:46:43
On Thu, 2 Jan 1997, Scott Ellis wrote:

> ./../../../kern/subr_prf.c:126: warning: too many arguments for format
> *** Error code 1 

You're using the new gcc 2.7.2 compiler aren't you? =)
In your kernel's makefile, you will have to eliminate '-Wall' from the
command line options.

The new gcc has an option to inspect all calls to printf() to make sure
that the arguments match the format string.  It's an ok feature for
user-land code that uses the BSD standard libraries.  However, when
compiling something like a kernel, which uses its own libraries, it's a
bad idea.  Something will have to be done to this before NetBSD uses gcc
2.7.2 as the default compiler.

-J