Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp40609imm; Thu, 13 Sep 2018 15:18:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYZGz8LpK9ph2SBoOQR6u/gjFdMdRxgXDy0/RtzJuhMOMybJKL2IhyeN1yODLmm7YwdV3v+ X-Received: by 2002:a65:5b48:: with SMTP id y8-v6mr9063552pgr.125.1536877101537; Thu, 13 Sep 2018 15:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536877101; cv=none; d=google.com; s=arc-20160816; b=q3hJeTaaAgu832H2Ye5l4OAaZG1i3doOyvKZooB/YRDWvYCu5THcamcI6tPCotCwru Sf0nHM9aDRN9yzezbUbiFy0Havu5x1D1QlwcJXtXACHZlMrDXUrDCt3G1XeExffy28pF nSwz4O1ul/ou1Wh/TutYVAfWIzYRkc5MGvrCS7HKRfOw1s90C53ly+EzphftQZE1iXo2 Pu15qs9RTtzg4rfh0TzS9hJkSsbes3uhBM6WLQTntAPzSvLAvwxD1MGh+FbYe/UPJNrm 3u3tnnkfaZd/qWVMFbjnlw+7TZKQygWjjWkzFiuBybarfC/uWdgw/fUpxNK8aUmdSczC 7Fdg== 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=rgV8b2w1vwXBAhjW6uaxs4biOe8UO03sHZFkCQ4nJNQ=; b=SLAoYx2FFFJdeHKFebYNfxiOaLWMhTwjeRZjFbnRZeXAZxUVyeSMQYBFAcH1ykEzKA Q8aHtvvKGlANoJ4MzY9nwLTlouf/kb3UdXWzXeWeoKaT2omxLcUtSdMBPobx83J3IRoP 4A0YPzzUcyNDlyO05Kjrb4xYDqQo3/4w6qUrPbPHhdmqPLKdp/p9BbJdpp3XvQWLBzM3 +/hn4qETEaB/cGfqvq+gXrBufW/FMmGW7rL+dGjtKOrfgDnh6lsKo0uhL0OPTEm3TNka 4Jw2wrWxXlLMyWFoRcYCiNZyZ3VBHhopo+QwbUX4Ss1C79rf6Zjq83+O0xYXjQdYtoQr Dnzg== 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 a12-v6si4872432pgv.680.2018.09.13.15.18.05; Thu, 13 Sep 2018 15:18:21 -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 S1728184AbeIND1P (ORCPT + 99 others); Thu, 13 Sep 2018 23:27:15 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:44282 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727726AbeIND1O (ORCPT ); Thu, 13 Sep 2018 23:27:14 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1g0Ztr-0005Lh-3U; Thu, 13 Sep 2018 22:15:47 +0000 Date: Thu, 13 Sep 2018 23:15: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: <20180913221546.GV19965@ZenIV.linux.org.uk> References: <20180905185922.GA25461@avx2> <20180905192636.GA13608@kroah.com> <20180905193111.GA27217@avx2> <20180905222247.GT19965@ZenIV.linux.org.uk> <20180913220124.GA12570@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180913220124.GA12570@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 Fri, Sep 14, 2018 at 01:01:24AM +0300, Alexey Dobriyan wrote: > > Don't tempt me... > > <= g++-8 doesn't support C99 style initializers. > g++-8 mostly does: for example > > .foo = { > [BAR] = 1, > }, > > doesn't work, but regular .foo = 42 does. > Additionally, g++ makes noise about order of initializators. > C++20 is supposed to make things better. It's too early for AFD postings. And you *are* tempting me to throw into the tree as many anti-C++ devices as can be done tastefully, just to stop somebody attempting that insanity in the earnest.