This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 6/6] Deprecate xlocale.h and add bits/types/locale_t.h.


On Wed, 14 Jun 2017, Zack Weinberg wrote:

> On Wed, Jun 14, 2017 at 11:20 AM, Joseph Myers <joseph@codesourcery.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.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]