You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Lance Diduck (JIRA)" <ji...@apache.org> on 2005/09/14 04:24:55 UTC

[jira] Created: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

[Cygwin] collate.cpp needs wcsnxfrm
-----------------------------------

         Key: STDCXX-24
         URL: http://issues.apache.org/jira/browse/STDCXX-24
     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


[jira] Closed: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-24.
------------------------------

    Resolution: Fixed

Sounds like this is not a problem anymore. Closed.

> [Cygwin] collate.cpp needs wcsnxfrm
> -----------------------------------
>
>                 Key: STDCXX-24
>                 URL: https://issues.apache.org/jira/browse/STDCXX-24
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: 4.1.2
>         Environment: Cygwin
>            Reporter: Lance Diduck
>             Fix For: 4.2
>
>
> Martin Sebor paraphrased:
> Cygwin really doesn't define wcsnxfrm() (i.e.,  both
> _RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 
> we should probably implement our own transformation. 
> Looking at
> collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
> just for the former (which only determines whether function is declared;
> the latter tells us if it's also not defined).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477138 ] 

Martin Sebor commented on STDCXX-24:
------------------------------------

I don't see any calls to wcsnxfrm() in collate.cpp or anywhere else in the library sources. Maybe it's wcsxfrm() that was the problem? Need to do a build on Cygwin to see if it's still causing trouble. Calls to wcsxfrm() weren't guarded until
http://svn.apache.org/viewvc?view=rev&revision=367462 so it should be fine.

> [Cygwin] collate.cpp needs wcsnxfrm
> -----------------------------------
>
>                 Key: STDCXX-24
>                 URL: https://issues.apache.org/jira/browse/STDCXX-24
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: 4.1.2
>         Environment: Cygwin
>            Reporter: Lance Diduck
>             Fix For: 4.2
>
>
> Martin Sebor paraphrased:
> Cygwin really doesn't define wcsnxfrm() (i.e.,  both
> _RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 
> we should probably implement our own transformation. 
> Looking at
> collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
> just for the former (which only determines whether function is declared;
> the latter tells us if it's also not defined).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-24?page=all ]

Martin Sebor updated STDCXX-24:
-------------------------------

    Fix Version: 4.1.4
                     (was: 4.1.3)

> [Cygwin] collate.cpp needs wcsnxfrm
> -----------------------------------
>
>          Key: STDCXX-24
>          URL: http://issues.apache.org/jira/browse/STDCXX-24
>      Project: STDCXX
>         Type: Bug
>   Components: 22. Localization
>     Versions: 4.1.2
>  Environment: Cygwin
>     Reporter: Lance Diduck
>      Fix For: 4.1.4

>
> Martin Sebor paraphrased:
> Cygwin really doesn't define wcsnxfrm() (i.e.,  both
> _RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 
> we should probably implement our own transformation. 
> Looking at
> collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
> just for the former (which only determines whether function is declared;
> the latter tells us if it's also not defined).

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


[jira] Updated: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-24?page=all ]

Martin Sebor updated STDCXX-24:
-------------------------------

    Fix Version: 4.2
                     (was: 4.1.4)

> [Cygwin] collate.cpp needs wcsnxfrm
> -----------------------------------
>
>          Key: STDCXX-24
>          URL: http://issues.apache.org/jira/browse/STDCXX-24
>      Project: C++ Standard Library
>         Type: Bug

>   Components: 22. Localization
>     Versions: 4.1.2
>  Environment: Cygwin
>     Reporter: Lance Diduck
>      Fix For: 4.2

>
> Martin Sebor paraphrased:
> Cygwin really doesn't define wcsnxfrm() (i.e.,  both
> _RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 
> we should probably implement our own transformation. 
> Looking at
> collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
> just for the former (which only determines whether function is declared;
> the latter tells us if it's also not defined).

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


[jira] Updated: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

Posted by "Lance Diduck (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-24?page=all ]

Lance Diduck updated STDCXX-24:
-------------------------------

    Description: 
Martin Sebor paraphrased:
Cygwin really doesn't define wcsnxfrm() (i.e.,  both
_RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 

we should probably implement our own transformation. 

Looking at
collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
just for the former (which only determines whether function is declared;
the latter tells us if it's also not defined).




  was:
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 





> [Cygwin] collate.cpp needs wcsnxfrm
> -----------------------------------
>
>          Key: STDCXX-24
>          URL: http://issues.apache.org/jira/browse/STDCXX-24
>      Project: STDCXX
>         Type: Bug
>   Components: 22. Localization
>     Versions: 4.1.2
>  Environment: Cygwin
>     Reporter: Lance Diduck
>      Fix For: 4.1.3

>
> Martin Sebor paraphrased:
> Cygwin really doesn't define wcsnxfrm() (i.e.,  both
> _RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 
> we should probably implement our own transformation. 
> Looking at
> collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
> just for the former (which only determines whether function is declared;
> the latter tells us if it's also not defined).

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


[jira] Commented: (STDCXX-24) [Cygwin] collate.cpp needs wcsnxfrm

Posted by "Mark Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477188 ] 

Mark Brown commented on STDCXX-24:
----------------------------------

I can compile the latest library on Cygwin without any errors from collate.cpp.

> [Cygwin] collate.cpp needs wcsnxfrm
> -----------------------------------
>
>                 Key: STDCXX-24
>                 URL: https://issues.apache.org/jira/browse/STDCXX-24
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: 4.1.2
>         Environment: Cygwin
>            Reporter: Lance Diduck
>             Fix For: 4.2
>
>
> Martin Sebor paraphrased:
> Cygwin really doesn't define wcsnxfrm() (i.e.,  both
> _RWSTD_NO_WCSXFRM and _RWSTD_NO_WCSXFRM_IN_LIBC are #defined) 
> we should probably implement our own transformation. 
> Looking at
> collate.cpp, though, I don't see a check for _RWSTD_NO_WCSXFRM_IN_LIBC,
> just for the former (which only determines whether function is declared;
> the latter tells us if it's also not defined).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.