lkml.org 
[lkml]   [2018]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-04-10 11:46    [W:0.107 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site