Subject: Re: use of C99 revisited
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 04/23/2006 22:39:40
On Fri, Apr 21, 2006 at 11:33:48AM -0700, Garrett D'Amore wrote:
> Now that we're on the way to having gcc 4.x in NetBSD, I'd like to begin
> to use some C99 constructs in some limited areas of the kernel that I
> think won't be included in vax.
>
> I.e. it would be nice to use C99 structure initialization in my flash
> memory stuff. I don't think this is likely to be used (or be useful) in
> Vaxen. (Recall, the vax port is the last one to still require gcc 2.x.)
>
> Anyway, I would like to inquire as to whether this would be considered
> acceptable. I.e., can I start using some subsets of C99 (those bits
> supported by GCC 3.x at least) in code not likely to need to be built
> with gcc 2.x?
There are some in the Xen code
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--