Re: [PATCH 05/45] C++: Set compilation as C++ for .c files

Fengguang Wu
2018-04-10T09:45:57Z

Hi David,

On Tue, Apr 10, 2018 at 09:44:14AM +0100, David Howells wrote:
>Hi Fengguang,
>
>There's another kbuild test that's probably worth adding if you don't do it
>already: create a c++ source file that just #includes all the exported UAPI
>headers and then try to build it. This should catch words like "private"
>cropping up in structs.

That's a good idea! And it looks straightforward to do.
CC Philip (current LKP maintainer) for possible plans.

Thanks,
Fengguang