From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from chlothar.bnv-bamberg.de (chlothar.bnv-bamberg.de [188.64.62.104]) by sourceware.org (Postfix) with ESMTPS id E61C93851C0B for ; Mon, 8 Jun 2020 04:40:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E61C93851C0B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bnv-bamberg.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=hbusch@bnv-bamberg.de Received: from localhost ([::1]:51864 helo=chlothar.bnv-bamberg.de) by chlothar.bnv-bamberg.de with esmtp id 1ji9aQ-0007jL-IP BNV-Stage out; Mon, 08 Jun 2020 06:40:38 +0200 Received: from fredegunde.bnvvpn.bnv-bamberg.de ([192.168.1.11]:49820 helo=webmail.bnv-bamberg.de) by chlothar.bnv-bamberg.de with esmtps (TLS1:ECDHE-RSA-AES256-SHA:256) (Exim 42.0.0) (envelope-from ) id 1ji9aQ-0007ix-GR BNV-Stage in; Mon, 08 Jun 2020 06:40:38 +0200 Received: from fttx-pool-80.208.209.185.bambit.de (fttx-pool-80.208.209.185.bambit.de [80.208.209.185]) by webmail.bnv-bamberg.de (Horde Framework) with HTTPS; Mon, 08 Jun 2020 06:40:38 +0200 Date: Mon, 08 Jun 2020 06:40:38 +0200 Message-ID: <20200608064038.Horde.YUYY8m-2hytGvtMxOtODHFM@webmail.bnv-bamberg.de> From: hbusch@bnv-bamberg.de To: Jonathan Wakely Cc: gcc-help Subject: Re: g++ version 7.5.0 and library References: <20200607211018.Horde.adcpNdzA9nyGq1LTPXZrKaW@webmail.bnv-bamberg.de> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2020 04:40:41 -0000 Thanks a lot Jonathan for your quick help. You are right, 7.5.0 does not include memory_resource. Best regards Harald Quoting Jonathan Wakely : > On Sun, 7 Jun 2020 at 20:12, wrote: >> >> Hi, >> I am using g++ version 7.5.0 on Linux Mint 19 Tara: >> >> g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 >> >> When I try to compile a source file which uses the Standard library >> header I get the following error: >> >> main.cpp:7:10: fatal error: memory_resource: No such file or directory >> >> As to my knowledge g++ version 7.5.0 supports C++17 and library >> is included since C++17. At least, this page tells >> me that it has to be there: >> >> https://gcc.gnu.org/onlinedocs/gcc-7.5.0/libstdc++/api/a01004_source.html > > No it doesn't, it tells you a different header is part of libstdc++ in > the 7.5.0 release. > > As > https://gcc.gnu.org/onlinedocs/gcc-7.5.0/libstdc++/manual/manual/status.html#status.iso.2017 > says, the header is not supported in 7.5.0.