Received: by 10.192.165.156 with SMTP id m28csp140213imm; Tue, 10 Apr 2018 18:19:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/6N+7hK91YD0u8EsGe9xbYx34CFPFsNivbyRVQFwm4O/KhLMaOaDQmtk7xDS5RpznZxO5X X-Received: by 10.99.116.67 with SMTP id e3mr1831861pgn.369.1523409592706; Tue, 10 Apr 2018 18:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523409592; cv=none; d=google.com; s=arc-20160816; b=JGzxKpynpHNqmROQ3WHvSTi/I+Drz/9Qpht5T35v1SOIWRyThshFargTikv82TJYwE 7xEFjSWDgZpdkIzbKGfVV8cjC0TkTYDRXnUtreHJQx6U8MAQZ/C1RSckfhT58b+jGN2t /9RlVfAXXwspR47iLRjAdfsR55r6BzAf9SFA8RtG3b7GMp2d406tazisOAKh2PMcuHGt xEmXrX8E322LdxSvwr2T5N9B4H63q95CccuLMbAhJDlzgY8tLpW5hWuYwJfU+hwFH73I WWqxl8B1X3CKUinBpUWCaGTpmgvf6+HjUddr6YjlVelchv6PIFPOTjMLPs1AJSWTBr6g Ecew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=bjZhjGofNqiWqr4rD/wXN5LbN2JusTVjIqfhus1MevU=; b=kPfOtTHAM+w0sTFtb1qoUMQDewOvHgnARRNSe5ofVrtCtGex119sGcwPtCoG5o40a1 VMsz17GbazTOE3/zeRTNZSUNzips2nVUhyIYRM1zIzXCsLPGJPrwEJ7LsVmuNDbKybXY lggb3G2eTequzAFR+dkYVicl2y0B6diWBfKNo7zy6T5syi7ORdoA8a7CB1yHvwBvcRYJ MZjD9pq6Qu2Pb8gPZ72lRDfLA9wjXPKD9ZqU4DByTxE+UEIxDYqniM/Lplrtj2rUDhHe Mofw85TBm+9Ysx+MPaVTeyyQTyuOIXBrwPHX6bH4YcJLQthLK3rsLEU54A1+KmF6dk0u pUzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si1444pgu.116.2018.04.10.18.19.16; Tue, 10 Apr 2018 18:19:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752078AbeDKBNo convert rfc822-to-8bit (ORCPT + 99 others); Tue, 10 Apr 2018 21:13:44 -0400 Received: from mga17.intel.com ([192.55.52.151]:38277 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751775AbeDKBNn (ORCPT ); Tue, 10 Apr 2018 21:13:43 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Apr 2018 18:13:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,434,1517904000"; d="scan'208";a="46857327" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 10 Apr 2018 18:13:43 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 10 Apr 2018 18:13:42 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.184]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.151]) with mapi id 14.03.0319.002; Wed, 11 Apr 2018 09:13:41 +0800 From: "Li, Philip" To: David Howells CC: lkp , "kbuild-all@01.org" , "linux-kernel@vger.kernel.org" , "Wu, Fengguang" , "Hao, Shun" Subject: RE: [PATCH 05/45] C++: Set compilation as C++ for .c files Thread-Topic: [PATCH 05/45] C++: Set compilation as C++ for .c files Thread-Index: AQHT0LDG5GGUjSz0lkeNrVQuIyH9kqP6wmcw Date: Wed, 11 Apr 2018 01:13:40 +0000 Message-ID: <831EE4E5E37DCC428EB295A351E662494CAA4EAB@shsmsx102.ccr.corp.intel.com> References: <20180403132713.cffx5mpfrnwuokeh@wfg-t540p.sh.intel.com> <201804021242.NgXgixG7%fengguang.wu@intel.com> <152261524532.30503.16094079179209557382.stgit@warthog.procyon.org.uk> <18231.1522761410@warthog.procyon.org.uk> <19628.1523349854@warthog.procyon.org.uk> <20180410094553.6psva5rntlizm6pz@wfg-t540p.sh.intel.com> In-Reply-To: <20180410094553.6psva5rntlizm6pz@wfg-t540p.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjJiYTNlMTgtNGM3My00MzYyLWI1ODgtNzBkMjY3OWNmN2ZjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI3UEdydmtvekVcLyswOGR1WEVWWnRiamlLVVBaOUFzOVlnUDR1ZGZXMnhpeE9TZmltVWNaRURXWlVlK3NoZVR1NSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > 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