From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 82AA53858425 for ; Fri, 13 Jan 2023 14:17:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 82AA53858425 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673619445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bI385P2Z1y+v/uPwRsjOufqZd1vwwtySayoBEfET+Po=; b=BrQOVtWzAYfr6WTSv/lBCQCs9EfQqlOo+9amRpTGVOtcWBFtD9/k4sNnnk7pO/t11z5ajO iJulhX4Z0FJVFciPLasS10EKCSq/D/XZDv8ZlxLfEUM0AL3xctwIIQMVy3SKwgRIounP5f 8oHxlh7U/Z8NgtZ5vvEwRWCa4Spqe5Q= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-484-G_Ta36BqMeqU0Y3JQ7WoQA-1; Fri, 13 Jan 2023 09:17:22 -0500 X-MC-Unique: G_Ta36BqMeqU0Y3JQ7WoQA-1 Received: by mail-lj1-f197.google.com with SMTP id bx14-20020a05651c198e00b0027b58179b0aso5550215ljb.5 for ; Fri, 13 Jan 2023 06:17:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bI385P2Z1y+v/uPwRsjOufqZd1vwwtySayoBEfET+Po=; b=00YBFmgKlZd3a3ZLLs0/wp78Y5ylhyzU7GW5I3mQXYuKKWlPe7B9XflYT2kknNuWDv xAIxO1UwjM++VE6hX1JnS8dl3uOio/8sPAk/Jf6FC9raoBx9eT14R/N7U4RrYZHeMmfT jGtU8BY280BVPaFPSoXa9odAFFmrtGvdAnSRH9rDCY4FAKxWRrLVlNlTBH2dbFuD8cto VDSt5QiCYQtlN5iB8VSiZf2au33jRPtzw/QI+Ma6wxpx/gh+6zMX0/WpD2l/v/3/XJTJ XYlrdk+oRrYUU2httOYNME9+OeY6QgWFIpQqBZyqFUFDRvnWucmVTfkfTGdJBrgW4qNq 6+gg== X-Gm-Message-State: AFqh2kq6RTiFBai3pmtJWRHAty4Wlv7KSeF9M9qwqRPUmsOwFCTC9uws 0tpIboy2RFSVfxw6IDKg/XUWAWU4GWIWyBMdy2jlGBJ89uFLJssuB6Q3ZxNF43J3NJA17IraAVa YTPFXEZYwPZuVxqnNu5qbf1DKoQK6UaB8ag== X-Received: by 2002:ac2:5b41:0:b0:4b5:5f2b:ddf6 with SMTP id i1-20020ac25b41000000b004b55f2bddf6mr3147404lfp.17.1673619441367; Fri, 13 Jan 2023 06:17:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1kbmOjEsUS0lmNl9Pd6f342JmK1BSnI77ZwP3iKzIEvGKzmdLB2YZLfw2oc5M+JKGsmifzR1JR+SGVvk6tBo= X-Received: by 2002:ac2:5b41:0:b0:4b5:5f2b:ddf6 with SMTP id i1-20020ac25b41000000b004b55f2bddf6mr3147400lfp.17.1673619441091; Fri, 13 Jan 2023 06:17:21 -0800 (PST) MIME-Version: 1.0 References: <20230110100305.1420589-1-arsen@aarsen.me> <86mt6q4ajt.fsf@aarsen.me> In-Reply-To: <86mt6q4ajt.fsf@aarsen.me> From: Jonathan Wakely Date: Fri, 13 Jan 2023 14:17:09 +0000 Message-ID: Subject: Re: [PATCH 1/2] libstdc++: Enable string_view in freestanding To: =?UTF-8?Q?Arsen_Arsenovi=C4=87?= Cc: Jonathan Wakely , "libstdc++" , gcc-patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 10 Jan 2023 at 16:31, Arsen Arsenovi=C4=87 via Libstdc++ wrote: > > Hi Jonathan, > > Jonathan Wakely writes: > > > Sorry for the top post. > > > > -#define __cpp_lib_string_contains 202011L > > +#if _GLIBCXX_HOSTED > > + // This FTM is not hosted as it also implies matching > > support, > > + // and is omitted from the freestanding subset. > > +# define __cpp_lib_string_contains 202011L > > +#endif // HOSTED > > > > That should say "not freestanding", right? > > Whoops, yes. Here's the fixed-up patch. Tested powerpc64le-linux and pushed to trunk, thanks!