Subject: Re: Error (really a warning) compiling kern/subr_disk.c with gcc 3.2.2
To: Sverre Froyen <>
From: Jason Thorpe <>
List: current-users
Date: 04/24/2003 15:47:03
On Thursday, April 24, 2003, at 09:30  AM, 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

This is a bogus warning emitted by GCC 3.2.x.  It is fixed for GCC 3.3 
by adding a flag which disables this warning.

         -- Jason R. Thorpe <>