On Wed, Oct 8, 2025 at 3:57 PM Jonathan Wakely <[email protected]> wrote:

> On Wed, 08 Oct 2025 at 15:49 +0200, Tomasz Kaminski wrote:
> >On Wed, Oct 8, 2025 at 2:11 PM Jonathan Wakely <[email protected]>
> wrote:
> >> diff --git a/libstdc++-v3/include/bits/version.tpl
> >> b/libstdc++-v3/include/bits/version.tpl
> >> index ccda71d6bcfe..ff4fd31bc29a 100644
> >> --- a/libstdc++-v3/include/bits/version.tpl
> >> +++ b/libstdc++-v3/include/bits/version.tpl
> >> @@ -132,10 +132,10 @@ h
> >>
> >>    This macro block defines two versions of each FTM:
> >>
> >> -  1. __glibcxx_NAME, which is defined unconditionally, and
> >> +  1. __glibcxx_NAME, which is defined if its conditions are met, and
> >>    2. __cpp_lib_NAME, which is defined only if marked as wanted.
> >>
> >Should we mention no_stdname also here?
>
> So something like this?
>
>    __cpp_lib_NAME, which is defined unless marked as no_stdname.
>
We need both marked as wanted and no no_stdname.

>
> >>
> >> -  This allows FTMs to depend on eachother in their definitions without
> >> messing
> >> +  This allows FTMs to depend on each other in their definitions without
> >> messing
> >>    with the exported values.
> >>
> >>    This can also be used by bits that do not want to expose FTMs that
> they
> >> can't
> >> @@ -155,7 +155,7 @@ h
> >>  #  endif
> >>  /*{ ENDFOR values
> >>    }*/# endif
> >> -#endif /* !defined(__cpp_lib_/*{name}*/) &&
> >> defined(__glibcxx_want_/*{name}*/) */
> >> +#endif /* !defined(__cpp_lib_/*{name}*/) */
> >>  #undef __glibcxx_want_/*{name
> >>  }*//*{ (unless (last-for?) "\n\n" "\n")}*/
> >>  /*{ ENDFOR ftms }*//*{
> >> --
> >> 2.51.0
> >>
> >>
>
>

Reply via email to