On Wed, 8 Oct 2025 at 15:01, Tomasz Kaminski <[email protected]> wrote:
>
>
>
> 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.
Ah yes, wanted refers to the want_NAME macro, which needs to be defined. Doh.
OK I'll stop trying to fit it all into one line then:
This macro block defines two versions of each FTM:
1. __glibcxx_NAME, which is defined as long its conditions are met, and
2. __cpp_lib_NAME, which is defined only if __glibcxx_want_NAME is defined
and no_stdname is not set.