Subject: re: Another vax incompatibility: /src/sys/kern/kern_resource.c
To: Christoph Hellwig <firstname.lastname@example.org>
From: matthew green <email@example.com>
Date: 05/14/2004 17:26:46
On Thu, May 13, 2004 at 12:22:23PM -0500, User Staylor wrote:
> Just found another incompatibility with port-vax:
> Introduced on May 6 by firstname.lastname@example.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.
oh this is a good idea. i actually did search for this option
but obviously i didn't search properly.