[$] Compiling kernel UAPI headers with C++

Post Syndicated from corbet original https://lwn.net/Articles/764664/rss

Linux kernel developers tend to take a dim view of the C++ language; it is
seen, rightly or wrongly, as a sort of combination of the worst (from a
system-programming point of view) features of higher-level languages and
the worst aspects of C. So it takes a relatively brave person to
dare to discuss that language on the kernel mailing lists. David Howells
must certainly be one of those; he not only brought up the subject, but is
working to make the kernel’s user-space API (UAPI) header files compatible
with C++.