Re: [RFC] UAPI: Check headers by compiling all together as C++

From: Al Viro
Date: Thu Sep 13 2018 - 19:42:10 EST


On Fri, Sep 14, 2018 at 12:27:49AM +0100, David Howells wrote:
> Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> > It's too early for AFD postings. And you *are* tempting
> > me to throw into the tree as many anti-C++ devices as can be
> > done tastefully, just to stop somebody attempting that insanity
> > in the earnest.
>
> You would deliberately break the UAPI header files to make sure that they
> couldn't be used with C++?

UAPI - no; userland folks can use INTERCAL, for all I care.
Kernel-side, though, it's quite tempting...