Subject: Re: Error (really a warning) compiling kern/subr_disk.c with gcc 3.2.2
To: Sverre Froyen <>
From: Allen Briggs <>
List: current-users
Date: 04/24/2003 12:44:46
On Thu, Apr 24, 2003 at 10:30:45AM -0600, Sverre Froyen wrote:
> Compiling the current kernel with gcc 3.2.2 I get the followin error:
> ../../../../kern/subr_disk.c: In function `diskerr':
> ../../../../kern/subr_disk.c:151: warning: zero-length format string

I think you'll find this in the archives of this list--somewhere in the
last week or two.  This is a valid construct, and that particular warning
should be turned off when building the system.  I don't recall exactly
what the -Wno- switch looks like, but you should be able to find it
pretty easily.


 Allen Briggs           
 Wasabi Systems, Inc.