This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 6/6] Deprecate xlocale.h and add bits/types/locale_t.h.
On Wed, Jun 14, 2017 at 11:54 AM, Joseph Myers <firstname.lastname@example.org> wrote:
> On Wed, 14 Jun 2017, Zack Weinberg wrote:
>> On Wed, Jun 14, 2017 at 11:20 AM, Joseph Myers <email@example.com> wrote:
>> > I think __locale_t may well be one of the many interfaces that need
>> > providing under implementation-namespace names for libstdc++ headers to be
>> > namespace-clean and not require _GNU_SOURCE to implement standard C++
>> > functionality (but I haven't checked exactly how it's used in libstdc++).
>> I don't see any existing uses of locale_t or __locale_t under
>> /usr/include/c++ but I would have no objection to adding a
>> bits/types/__locale_t.h that provided *only* the impl-namespace name,
>> even though nothing needs it right now.
> In the GCC 6 compiler I use for building glibc, I see "typedef __locale_t
> __c_locale;" in the multilib-specific bits/c++locale.h files.
Doh, I forgot to check /usr/include/x86_64-linux-gnu/c++. Yes, I see
that now as well.