incubator-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 Sat, 24 Sep 2005 22:57:28 GMT
    [ http://issues.apache.org/jira/browse/STDCXX-23?page=comments#action_12330397 ] 

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

notes:: 
Found that Mac OS X has the identical problem -- since catopen etc is not a Standard C lib
function, the issue is more that we rely on catopen et al. See http://developer.apple.com/technotes/tn2002/tn2071.html

The problem with relying on the Windows subsystem is that the windows stuff needs a system
call to kernel32.dll, which required kernel32.lib see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/introductiontoresources/resourcereference/resourcefunctions/loadresource.asp

Mingw may already support the windwos call . But if Cygwin has the same hole as Mac OS X,
then implementing our own "compatibility layer" may be the best way.
But note, that if we use the native platfrom method , which would liely be the most reliable,
then we should also use the native resource compilers.

> [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