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 B4CF63851C13 for ; Mon, 8 Jun 2020 04:42:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B4CF63851C13 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]:51952 helo=chlothar.bnv-bamberg.de) by chlothar.bnv-bamberg.de with esmtp id 1ji9cS-0000dF-Ob for gcc-help@gcc.gnu.org BNV-Stage out; Mon, 08 Jun 2020 06:42:44 +0200 Received: from fredegunde.bnvvpn.bnv-bamberg.de ([192.168.1.11]:49850 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 1ji9cS-0000d0-MQ for gcc-help@gcc.gnu.org BNV-Stage in; Mon, 08 Jun 2020 06:42:44 +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:42:44 +0200 Date: Mon, 08 Jun 2020 06:42:44 +0200 Message-ID: <20200608064244.Horde.oyKLkkNT3lFysQLTt_gU5hh@webmail.bnv-bamberg.de> From: hbusch@bnv-bamberg.de To: gcc-help@gcc.gnu.org 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:42:46 -0000 Thanks a lot Marc for your quick help. Even did not help. Here ... https://gcc.gnu.org/onlinedocs/gcc-7.5.0/libstdc++/manual/manual/status.html#status.iso.2017 ... I see that 7.5.0 does not include memory_resource. Best regards Harald Quoting Marc Glisse : > On Sun, 7 Jun 2020, hbusch@bnv-bamberg.de 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 >> >> Even adding -std=gnu++17 throws the same error. >> >> Can anybody please shed some light on this ? > > Try > > -- > Marc Glisse