public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/57585] New: New --enable-clocale model using POSIX 2008
@ 2013-06-11 10:17 redi at gcc dot gnu.org
  2021-01-13  9:39 ` [Bug libstdc++/57585] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2013-06-11 10:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57585

            Bug ID: 57585
           Summary: New --enable-clocale model using POSIX 2008
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org

Now that uselocale() is in POSIX we should consider a new
--enable-clocale=ieee_1003.1-2008 based on the gnu model, which could be used
on any POSIX-2008 OS and would reduce differences between targets.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/57585] New --enable-clocale model using POSIX 2008
  2013-06-11 10:17 [Bug libstdc++/57585] New: New --enable-clocale model using POSIX 2008 redi at gcc dot gnu.org
@ 2021-01-13  9:39 ` redi at gcc dot gnu.org
  2024-04-16  9:51 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2021-01-13  9:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57585

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-01-13

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
See the thread at
https://gcc.gnu.org/pipermail/libstdc++/2021-January/051843.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/57585] New --enable-clocale model using POSIX 2008
  2013-06-11 10:17 [Bug libstdc++/57585] New: New --enable-clocale model using POSIX 2008 redi at gcc dot gnu.org
  2021-01-13  9:39 ` [Bug libstdc++/57585] " redi at gcc dot gnu.org
@ 2024-04-16  9:51 ` redi at gcc dot gnu.org
  2024-04-16 13:01 ` redi at gcc dot gnu.org
  2024-04-16 15:39 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2024-04-16  9:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57585

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Separately, it would be good to provide a libintl-based implementation of
std::messages, for targets where that's not part of glibc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/57585] New --enable-clocale model using POSIX 2008
  2013-06-11 10:17 [Bug libstdc++/57585] New: New --enable-clocale model using POSIX 2008 redi at gcc dot gnu.org
  2021-01-13  9:39 ` [Bug libstdc++/57585] " redi at gcc dot gnu.org
  2024-04-16  9:51 ` redi at gcc dot gnu.org
@ 2024-04-16 13:01 ` redi at gcc dot gnu.org
  2024-04-16 15:39 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2024-04-16 13:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57585

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> Separately, it would be good to provide a libintl-based implementation of
> std::messages, for targets where that's not part of glibc.

Although the POSIX catopen/catclose/catgets one might be good enough, once we
support https://cplusplus.github.io/LWG/lwg-defects.html#2028 so that
messages_base::catalog is large enough to store a nl_catd.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/57585] New --enable-clocale model using POSIX 2008
  2013-06-11 10:17 [Bug libstdc++/57585] New: New --enable-clocale model using POSIX 2008 redi at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-04-16 13:01 ` redi at gcc dot gnu.org
@ 2024-04-16 15:39 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2024-04-16 15:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57585

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 57961
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57961&action=edit
Add --enable-clocale=ieee_1003.1-2008

This is an initial prototype of a new clocale model.

The wide string info needs to be transcoded from the narrow string info,
because unlike Glibc, POSIX doesn't provide wide character versions of
nl_langinfo items like _NL_WMON_1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-16 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-11 10:17 [Bug libstdc++/57585] New: New --enable-clocale model using POSIX 2008 redi at gcc dot gnu.org
2021-01-13  9:39 ` [Bug libstdc++/57585] " redi at gcc dot gnu.org
2024-04-16  9:51 ` redi at gcc dot gnu.org
2024-04-16 13:01 ` redi at gcc dot gnu.org
2024-04-16 15:39 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).