Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 27, 2022 21:03 UTC (Sun) by marcH (subscriber, #57642)In reply to: Moving the kernel to modern C by camhusmj38
Parent article: Moving the kernel to modern C
No, you're missing the point exactly like all other C++ fans. -Wwla is not a "discipline", it's a compiler flag. A discipline requires some mental effort whereas adding -Wwla to a configuration file requires zero human effort. The computer does all the work.
> one that can be enforced with analysis tools and compiler switches.
Great news: please share now the set of analysis tools and compiler switches that enforce the exact C++ subset kernel maintainers are willing to accept without increasing their code review workload that is already stretched past the limit. For at least all recent gcc and clang versions.
Good luck getting all kernel maintainers to agree on that C++ subset in the first place! So that was a trick question, sorry.
