[committed v2] libstdc++: Fix some non-uglified names
Jonathan Wakely
jwakely@redhat.com
Wed Mar 18 10:42:01 GMT 2026
On Tue, 17 Mar 2026 at 22:08, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> Jakub wrote a plugin which identified some non-reserved names being used
> in our headers. The "count" one is actually a reserved name (there's
> std::set::count and std::count and std::bitset::count) but we might as
> well uglify it when used as a function parameter name. I think the "ext"
> ones must have happened when moving function definitions from fs_path.cc
> to fs_path.h and I forgot to change them.
>
> The __cond::wait and __cond::wait_recursive member functions are using
> non-reserved names, so that should be changed too, but this patch
> doesn't fix that. I don't think we use the __gnu_cxx::__cond type in any
> headers, so maybe that should just be moved into libsupc++/guard.cc or a
> new header which is not installed and only used while building the
> library.
I opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124563 for the
__cond issue.
More information about the Libstdc++
mailing list