Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp82943imm; Wed, 5 Sep 2018 15:24:13 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZy9hoyh1uxGEe2hQ64YWLeHNq3AClyYgZI9dbEkET++YPLV/H20IkpX4NckZV6fOYqDHbp X-Received: by 2002:a63:4d21:: with SMTP id a33-v6mr38791528pgb.408.1536186253311; Wed, 05 Sep 2018 15:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536186253; cv=none; d=google.com; s=arc-20160816; b=ZJ33btmJu+JF0JcmmYAMLQuJz0m7HTxsQbWbpfmUtantfcNo+w2vrAB2FHksGNaGPK kVjPPBlS5Ps7NcbEVdHo0WK70GnPbkSVJp7Z+hJyAcfHPd0qkQHo5w08ZN9ci8VI2pQ7 tIy/AyiOIiVUhxXi77br+mlByBznW3hgbVqz2cJdZgbbpVTzxyF4oUXYrbhnU0YQUZYo wV/+KjSOf3BpwuD+Cy/H9lgfQ/eBvOztCwPNT4yrNWBmQcmCER2iXqynNbM1xSKTTf+M a9VWkyTgPdA9c9O/OhWvUUhXkaRqjVztKenNbETqG/m0Q5SdOMuejvN/8Yo8Mx/94QOS P3yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=R7TgXCdmZpP1tjHCsnGj0GSn7TSfFoR3bfFB/McomG0=; b=mHxktGPqvm8suH0a0ZLdYkRAKQitt433qe8oMfPNwWtDGKIxp80lnF5fr9qZ8uVEze RSJFVet5SHbZbGvAoUATpMsjvYjH83+Do+sssPFnQrJLhXMo23b6Qg67j2wwiw6OmXlG JPc2EVOYu2MEEEdLFABBZTrBYkwxgseIq6t/we9GNmX2nCPErRzAzVy2MBOjzhliyikT FELvaT6bNLo0F4Mvgz6LoccIESK9AryJJbyFPUnPBc3qejHqdZTy9sCUxhY6WpG6DV7r 1Vs2RTRZleFl1rlAPLvvgWROpJi98IM6ST6gTvn6FBGkSAohIGHr52qQhHS8ghjtGLlw uxew== 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 v3-v6si3097935pgc.447.2018.09.05.15.23.57; Wed, 05 Sep 2018 15:24:13 -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 S1727762AbeIFCzF (ORCPT + 99 others); Wed, 5 Sep 2018 22:55:05 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:34278 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727657AbeIFCzF (ORCPT ); Wed, 5 Sep 2018 22:55:05 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fxgCF-0005DL-Qr; Wed, 05 Sep 2018 22:22:47 +0000 Date: Wed, 5 Sep 2018 23:22:47 +0100 From: Al Viro To: Alexey Dobriyan Cc: Greg KH , linux-kernel@vger.kernel.org, dhowells@redhat.com Subject: Re: [RFC] UAPI: Check headers by compiling all together as C++ Message-ID: <20180905222247.GT19965@ZenIV.linux.org.uk> References: <20180905185922.GA25461@avx2> <20180905192636.GA13608@kroah.com> <20180905193111.GA27217@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180905193111.GA27217@avx2> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 05, 2018 at 10:31:11PM +0300, Alexey Dobriyan wrote: > On Wed, Sep 05, 2018 at 09:26:36PM +0200, Greg KH wrote: > > On Wed, Sep 05, 2018 at 09:59:22PM +0300, Alexey Dobriyan wrote: > > > > On Wed, Sep 05, 2018 at 04:54:27PM +0100, David Howells wrote: > > > > > > > > > > Here's a set of patches that inserts a step into the build process to make > > > > > sure that the UAPI headers can all be built together with C++ (if the > > > > > compiler being used supports C++). All but the final patch perform fixups, > > > > > including: > > > > > > > > Wait, why do we care? What has recently changed to start to directly > > > > import kernel uapi files into C++ code? > > > > > > I think David is seriously trying to compile kernel with C++ compiler > > > and this is first step. > > > > > > He isn't alone. Resistance is futile. :^) > > > > "struct class" is going to be a hard one to overcome :) > > "struct class" makes you hostis publicus #1 of the Linux++ empire. :^) Don't tempt me...