3 ms·
I think you need to have C99 for that, and the kernel is still using C89. If C needs to die, then C89 needs to die first :)
by db48x 5y ago
I think you need to have C99 for that, and the kernel is still using C89. If C needs to die, then C89 needs to die first :)
- dzaima 5y agoas far as I understand, the kernel uses C89 + GNU extensions, cause there definitely are usages in the kernel of it. (my searching showed it being only used for defining globals, which is a weird standard, but I don't see anything preventing using it elsewhere if they wanted to) And there are recent plans to move the kernel to a newer C version anyway.