RE: [PATCH 05/45] C++: Set compilation as C++ for .c files
From: Li, Philip
Date: Tue Apr 10 2018 - 21:17:03 EST
>
> 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 David, we will look into this and planned with other priorities.
We will share estimation for possible target date next week.
>
> Thanks,
> Fengguang