From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 0927F3858D37; Wed, 21 Sep 2022 07:45:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0927F3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663746311; bh=xByPE5SIBs5YM7fHEHjKlvs8WvEvUnqhDq9GECTL9/s=; h=From:To:Subject:Date:From; b=DMRxTl4ZCs4t9xPC+zoL3MHhcvIAsttmcz9dIl3aLe0dvZCiPe/g5t9+xJJXBB9ka jwC2NDNfIozLPGgQKlLNG1GaxXq7/OgfNzW1E3a/sH3y45JzKAxnRS0cstY/4IoZj1 5+UnESuWnY8MMz3Mfz6ACHHvijc/+QW8xMA9NZl0= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-2750] libstdc++: Add to ranges_base.h header X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 5e4f5c25d62d2f7853adebeabf1888eca8140b09 X-Git-Newrev: 26cb69f8b4b9fb46444d164c8edcb73ac5fb2c47 Message-Id: <20220921074511.0927F3858D37@sourceware.org> Date: Wed, 21 Sep 2022 07:45:11 +0000 (GMT) List-Id: https://gcc.gnu.org/g:26cb69f8b4b9fb46444d164c8edcb73ac5fb2c47 commit r13-2750-g26cb69f8b4b9fb46444d164c8edcb73ac5fb2c47 Author: Jonathan Wakely Date: Wed Sep 21 00:46:04 2022 +0100 libstdc++: Add to ranges_base.h header The header should be included explicitly to use std::initializer_list. With the upcoming changes to make available for freestanding this becomes an error, because is no longer provided by any of the other headers involved here. libstdc++-v3/ChangeLog: * include/bits/ranges_base.h: Include . Diff: --- 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 #include #include #include