Hacker News new | ask | show | jobs
by zh3 1579 days ago
Wow, that's annoying. There's a bunch of old code we have that'll need updating (written that way to keep the line lengths down).
3 comments

...can't you just configure your build system to compile those modules with pre-c23 standard?
Of course. But one of the great things about C is that as a rule nothing breaks with compiler changes (as long as appropriate care has been taken) which this appears to violate.
All the compilers I use have a default C version, and an optional flag to control which version to use. It's a non-issue.
Maybe the compiler will add a extension flag? I mean the K&R declarations still need to be supported in the compiler for earlier standards.