Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4208494imm; Wed, 5 Sep 2018 12:29:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY7rL4GcfvX7gE80RRdvUO8bx77bxZQsy9VjPigPMlIU4dTxcx8XJvp2bwDhZCgDwIKI6RS X-Received: by 2002:a17:902:2904:: with SMTP id g4-v6mr39476416plb.70.1536175744547; Wed, 05 Sep 2018 12:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536175744; cv=none; d=google.com; s=arc-20160816; b=q9EVbEjQWPela01BLbgcAylWk6dolsx32Q0qk1rzQI/INLrMQacLabYVaOMnkVYbIc 1j6+mj5xzzTmBo2xu/FCVdYXn1DFdJv35XArbi4XhudBB4Rzy+ack8zKwDb61filJyqJ Tu73CRnBHugqW1jnZKDMZ/QQTxYxMPfXfbEV7N4c4mGC/CKO0zElaLzAr8ybBrZJQSW+ RcBnVRJ3Zjxhf/cSHwP5heLJnuLH4h9appOn57+9mOMoysR3Tp8ecpMvOz39ZqcISR26 llCjp/N8+C1eRDm6tLR609hQxaHnKtmrQQhpQa6jSjwFEbt58rA7/b0Fie+hJwtL3b5X oEfA== 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=GsfS7Bswq11Ilzc/C09GJKLTIBPPH43GZkMh3cV4+uE=; b=JOz7pLLwtbq2Y2i69u7Dp02mZ7/8JpNd31mzXJyA/qhXRqxBOy74mR9wp5L6R6Zw7h lBtjKRe5aADyWuvsf6PnZJo62ZiQtXYXT5BhD2/Jt622vEN4uB5Dm4AKwtzfAUJMRsqo knQWzUAckGTPW9kMNrPu+MZNv7hxzlfc1UuElMuGkE7nq/WshBzJL8Blf/M5/W26B+Rj CWz/flPo4PeqQpi52hMFX2jB6IhBcIeU0WFk1JEkjRbJNKsb4XPeJtoHPOCtd37H8hKi aOxXcXHPEV72a0/DgwyEJZaZcyqejWYnNQDdtJvf4AAZPFTe7jXmGn0ZC86u5CSSGJOm MdzA== 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 w126-v6si2697055pfb.232.2018.09.05.12.28.44; Wed, 05 Sep 2018 12:29:04 -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 S1727781AbeIEX6O (ORCPT + 99 others); Wed, 5 Sep 2018 19:58:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35356 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727267AbeIEX6O (ORCPT ); Wed, 5 Sep 2018 19:58:14 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E51E7191F; Wed, 5 Sep 2018 19:26:38 +0000 (UTC) Date: Wed, 5 Sep 2018 21:26:36 +0200 From: Greg KH To: Alexey Dobriyan Cc: linux-kernel@vger.kernel.org, dhowells@redhat.com Subject: Re: [RFC] UAPI: Check headers by compiling all together as C++ Message-ID: <20180905192636.GA13608@kroah.com> References: <20180905185922.GA25461@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180905185922.GA25461@avx2> User-Agent: Mutt/1.10.1 (2018-07-13) 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 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 :)