On Tue, 10 Jan 2023 at 16:31, Arsen Arsenović via Libstdc++
<libstd...@gcc.gnu.org> wrote:
>
> Hi Jonathan,
>
> Jonathan Wakely <jwakely....@gmail.com> 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 <string>
> > support,
> > +      // and <string> 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!

Reply via email to