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 B68AB3858D34 for ; Sun, 7 Jun 2020 19:10:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B68AB3858D34 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]:32838 helo=chlothar.bnv-bamberg.de) by chlothar.bnv-bamberg.de with esmtp id 1ji0gU-0004Oj-Df for gcc-help@gcc.gnu.org BNV-Stage out; Sun, 07 Jun 2020 21:10:18 +0200 Received: from fredegunde.bnvvpn.bnv-bamberg.de ([192.168.1.11]:42514 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 1ji0gU-0004OW-At for gcc-help@gcc.gnu.org BNV-Stage in; Sun, 07 Jun 2020 21:10:18 +0200 Received: from fttx-pool-217.61.154.206.bambit.de (fttx-pool-217.61.154.206.bambit.de [217.61.154.206]) by webmail.bnv-bamberg.de (Horde Framework) with HTTPS; Sun, 07 Jun 2020 21:10:18 +0200 Date: Sun, 07 Jun 2020 21:10:18 +0200 Message-ID: <20200607211018.Horde.adcpNdzA9nyGq1LTPXZrKaW@webmail.bnv-bamberg.de> From: hbusch@bnv-bamberg.de To: gcc-help@gcc.gnu.org Subject: g++ version 7.5.0 and library 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: Sun, 07 Jun 2020 19:10:23 -0000 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 ? Thanks Regards Harald