NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kernel+userland will become c99?
On Jun 25, 2014, at 9:40 AM, Mayuresh Kathe <mayuresh%kathe.in@localhost> wrote:
> hello,
>
> i read that all new code in the netbsd tree "has" to be c99.
has to be compilable with -std=gnu99 or -std=c99
> is that really a mandatory condition?
> if yes, would that mean, over a period of time, all of the
> netbsd userland would be converted to c99?
We are moving in that direction. Mostly it means that everything
be C89 with function prototypes.
> and would the kernel be brought up to that same standard?
> if yes, wouldn't it be quite a painful task?
The kernel is already compiled as C99 so every function is
prototyped. We use structure initializers a lot.
Home |
Main Index |
Thread Index |
Old Index