stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Diduck (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-23) [Cygwin] messages.cpp needs catopen, catgets etc
Date Sun, 25 Sep 2005 21:35:48 GMT
    [ http://issues.apache.org/jira/browse/STDCXX-23?page=comments#action_12330439 ] 

Lance Diduck commented on STDCXX-23:
------------------------------------

notes:
cygwin prefers gettext to catopen et al. This seems to be the story for Mac, and Sun as well.
See http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/libstdc++/22_locale/messages.html
, http://www.gnu.org/software/libc/manual/html_node/Message-catalogs-with-gettext.html#Message-catalogs-with-gettext
, http://www.gnu.org/software/libc/manual/html_node/The-Uniforum-approach.html#The-Uniforum-approach


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 http://www.unicode.org/cldr/ It looks like they may
address this issue as well.

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

>
> http://sources.redhat.com/ml/cygwin/2004-04/msg00679.html shows that libc does not have
catopen, catgets, etc. Library compiles but does not link. 
> A recent thread (Jun 2005) discusses adding "libcatgets" http://blog.gmane.org/gmane.os.cygwin.applications/month=20050601

> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message