stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Diduck (JIRA)" <>
Subject [jira] Commented: (STDCXX-23) [Cygwin] messages.cpp needs catopen, catgets etc
Date Sun, 25 Sep 2005 21:35:48 GMT
    [ ] 

Lance Diduck commented on STDCXX-23:

cygwin prefers gettext to catopen et al. This seems to be the story for Mac, and Sun as well.

The answer is likely rather to use gettext utilites, rather than trying to come up with our
own portable catalog subsystem.  It seems easy to make rwstdmessages in the PO format, but
I'm unclear where the lookup of the resutling messages are, and how to do the lookup and formatting.
gettext also has the same semantics as LoadString from Windows. Indeed, Dinkumware does not
seem support message catalogs at all on Windows.

Another thing to watch is Unicode CLDR It looks like they may
address this issue as well.

> [Cygwin] messages.cpp needs catopen, catgets etc
> ------------------------------------------------
>          Key: STDCXX-23
>          URL:
>      Project: STDCXX
>         Type: Bug
>   Components: 22. Localization
>     Versions: 4.1.2
>  Environment: Cygwin
>     Reporter: Lance Diduck
>      Fix For: 4.1.3

> shows that libc does not have
catopen, catgets, etc. Library compiles but does not link. 
> A recent thread (Jun 2005) discusses adding "libcatgets"

> There are at least these approaches:
> 1. Implement the missing stuff ourselves
> 2. Implement messages.cpp in terms of the underlying Windows messaging subsystem (i.e.
FormatMessage, etc)
> 3. Require libcatgets , change build 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message