Subject: Re: Another vax incompatibility: /src/sys/kern/kern_resource.c
To: User Staylor <staylor@mrynet.com>
From: Christoph Hellwig <hch@infradead.org>
List: port-vax
Date: 05/14/2004 08:00:16
On Thu, May 13, 2004 at 12:22:23PM -0500, User Staylor wrote:
> Hi, 
> 
> Just found another incompatibility with port-vax:
> 
> Introduced on May 6 by pk@netbsd.org, rev 1.83 of /src/sys/kern/kern_resource.c
> Look like the current gcc doesn't require declarations to be at the beginning
> of a function.

Btw, recent gcc can be made to complain about this by using
-Wdeclaration-after-statement in CFLAGS.  Linux uses it these days to avoid
people breaking compiling with gcc 2.95 all the time, maybe netbsd should, too.