Message ID | 20220921074529.863263-1-jwakely@redhat.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp1808082wrt; Wed, 21 Sep 2022 00:47:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6754dYWIKv/wszYgBJu4oxCPSDzlnwf5i9gtSWVBmjIlh2r1wxDJcrhad3t8CNWBY9j1El X-Received: by 2002:a17:907:802:b0:781:8017:b2df with SMTP id wv2-20020a170907080200b007818017b2dfmr8387354ejb.606.1663746426479; Wed, 21 Sep 2022 00:47:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663746426; cv=none; d=google.com; s=arc-20160816; b=mwvucZu06vOaqdhfSz0erO7uUswGrJcWPnPhZHYv6S/BT32GMbo6B0Dcx2kb/jzJxo vjK2/xfgi9Vohp9SEYDLFnaG4PiDWHCH1kwURaIicpr3Uwim4IvfVnit63D6rGjBwOhX /5Ebg7IKwYdPKY6CAsYSI2wWKD84Xy+lW29ZrqxW635PEi93xZj5q0K0/pklsU2YYg4k SfgL/VRrrqv/EGhZOWCIBqHVS0kmsmnGfS2uj1I1mWg+4ApQVqg9GmXFRSzaq34iDJAb UpStqGi2BtRh2oj5vkiQ4Qg5gZBeyLouvKz2rhi9vVb4Btt7K1GGrMGCPWds9dJ5FvrT m+lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=1Uxw4M3kw3zKAUu3yEzwJb9s0AQPGY52TbIFwhoEVjE=; b=YwFvjKFtVmcXoQd7X0JYpY22ZmhlPNElk4bbr9UbudA104bjiY1zQPgRxtUYHzS1LD x2yDV5ryknGzL0XVPKDQ7P0YBBFbO84Xud8aUwCzQYGYzaGDweWXFkfx0qnyEVZ3qeKF kkIw9J7MWpuxinU32jBhOzLdIcj9e3ytCH0i96sK/YcK2WDTS6cFPCpGKKNKK85LSczI SlNbTMCZ9xlYgnvagazlnhXZD8BO79m49KiF3sbCXsCJs0tB8EHAW2PWamnTl3kGXqYs R9LRcz7odkEnAEMpxim81R6GY42IIaFheyJDH0X1bFWRGbOhaICYLEVJ/NrUz2/EK5A/ R3Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=S7mXG8r2; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id hq3-20020a1709073f0300b0073ced0e9bb1si2163154ejc.189.2022.09.21.00.47.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 00:47:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=S7mXG8r2; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 75DA73856972 for <ouuuleilei@gmail.com>; Wed, 21 Sep 2022 07:46:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75DA73856972 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663746379; bh=1Uxw4M3kw3zKAUu3yEzwJb9s0AQPGY52TbIFwhoEVjE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=S7mXG8r2gkr1Dy9Nlhh/IfavOOfRJ1jsRIxKk75VLPWCroHH/uckCiYIrVEyH5zyu R3TkLfH3UU2RFariEX0i73FdFvt2bdh/ECI765UGr9OVG6/zGOv8mzDv9w9o5u4FDD TneMXUOA5M9I+H2e+IhYrYLwGZmzZpLMm06XqxAE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id EF8D83858C74 for <gcc-patches@gcc.gnu.org>; Wed, 21 Sep 2022 07:45:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EF8D83858C74 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-639-uG5e5NToNPe-_B48G5E35Q-1; Wed, 21 Sep 2022 03:45:31 -0400 X-MC-Unique: uG5e5NToNPe-_B48G5E35Q-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6C3BF3C0D199; Wed, 21 Sep 2022 07:45:30 +0000 (UTC) Received: from localhost (unknown [10.33.36.214]) by smtp.corp.redhat.com (Postfix) with ESMTP id 35CA02166B36; Wed, 21 Sep 2022 07:45:30 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Add <initializer_list> to ranges_base.h header Date: Wed, 21 Sep 2022 08:45:29 +0100 Message-Id: <20220921074529.863263-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Jonathan Wakely via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Jonathan Wakely <jwakely@redhat.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1744564573164770669?= X-GMAIL-MSGID: =?utf-8?q?1744564573164770669?= |
Series |
[committed] libstdc++: Add <initializer_list> to ranges_base.h header
|
|
Commit Message
Jonathan Wakely
Sept. 21, 2022, 7:45 a.m. UTC
Tested powerpc64le-linux, pushed to trunk. -- >8 -- The header should be included explicitly to use std::initializer_list. With the upcoming changes to make <ranges> available for freestanding this becomes an error, because <initializer_list> is no longer provided by any of the other headers involved here. libstdc++-v3/ChangeLog: * include/bits/ranges_base.h: Include <initializer_list>. --- libstdc++-v3/include/bits/ranges_base.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/libstdc++-v3/include/bits/ranges_base.h b/libstdc++-v3/include/bits/ranges_base.h index 866d7c56cbc..805f196cc9f 100644 --- a/libstdc++-v3/include/bits/ranges_base.h +++ b/libstdc++-v3/include/bits/ranges_base.h @@ -33,6 +33,7 @@ #pragma GCC system_header #if __cplusplus > 201703L +#include <initializer_list> #include <bits/iterator_concepts.h> #include <ext/numeric_traits.h> #include <bits/max_size_type.h>