From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id 0112B386F45A for ; Sun, 7 Jun 2020 21:56:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0112B386F45A Received: by mail-il1-x129.google.com with SMTP id b5so14975064iln.5 for ; Sun, 07 Jun 2020 14:56:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xco5nVbw0qEFlB2tntZc+Msk0d1jYFvhouw/rrH/FFA=; b=n1kKdGNNaRq4d7gShPdiNnv500366iG1OHH6Fk4YYchUFXWIaoXHi6jJBK313cXpmT PW8V5hNJ/dsi5bDJRIOJ+IhLO8H6CJf/7iEUINL+5pk9vIU9qXsSVOuHQJyuCSv36Tgq +cjK+K5qNZqWVJg6/B1BepuQ3Q4vOUOhwHTk4It8HgCmGWcbD2jj83MSsJSoSFySaPrL 7HJOYkNpLVkACnl3uia6GuQ8aH3nYd/Q7f5ZBv9kK1dYgDGhSkIJcUxEDn/bkHbyIiMr AdOzPcdT4y40zfZcHgOy/1pZxC0LnuEaMXxSF1IckmoVel62lYF4wcrDW5xt92E2Y3H7 zzAg== X-Gm-Message-State: AOAM5339s0ERCxIZkv5FXCJfIAeiDGk1FcZ5AD9sJPEd491NxZEP+5ze ogJRj1pFNp0rgk98uNq8vyr0lK6+qTtoa3HA6KY= X-Google-Smtp-Source: ABdhPJyzcp5mTJhGytOOss6atA/fzb5xg4vwpCVzATyac+h+SNXUMiqhxtDLvMc0O1OxUuG5n04TAWQHpmJ9Iq6R/Ws= X-Received: by 2002:a92:d845:: with SMTP id h5mr19460355ilq.4.1591566992488; Sun, 07 Jun 2020 14:56:32 -0700 (PDT) MIME-Version: 1.0 References: <20200607211018.Horde.adcpNdzA9nyGq1LTPXZrKaW@webmail.bnv-bamberg.de> In-Reply-To: <20200607211018.Horde.adcpNdzA9nyGq1LTPXZrKaW@webmail.bnv-bamberg.de> From: Jonathan Wakely Date: Sun, 7 Jun 2020 22:56:21 +0100 Message-ID: Subject: Re: g++ version 7.5.0 and library To: hbusch@bnv-bamberg.de Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 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 21:56:35 -0000 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.