Messages in this thread | | | Date | Tue, 10 Apr 2018 17:45:53 +0800 | From | Fengguang Wu <> | Subject | Re: [PATCH 05/45] C++: Set compilation as C++ for .c files |
| |
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
| |