You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Andrew Black (JIRA)" <ji...@apache.org> on 2006/01/12 17:35:20 UTC

[jira] Created: (STDCXX-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

[Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
--------------------------------------------

         Key: STDCXX-118
         URL: http://issues.apache.org/jira/browse/STDCXX-118
     Project: STDCXX
        Type: Bug
  Components: Build  
 Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
    Reporter: Andrew Black


When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

-- 
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-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

Posted by "Andrew Black (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/STDCXX-118?page=comments#action_12362568 ] 

Andrew Black commented on STDCXX-118:
-------------------------------------

I will update my repository before leaving for the night, and see if it does the trick.

> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>          Key: STDCXX-118
>          URL: http://issues.apache.org/jira/browse/STDCXX-118
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.1.4

>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

-- 
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-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

Martin Sebor updated STDCXX-118:
--------------------------------

    Affects Version/s: 4.1.3
                       4.1.4

This (presumably) affects 4.1.3 and 4.1.4.

> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>                 Key: STDCXX-118
>                 URL: https://issues.apache.org/jira/browse/STDCXX-118
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3, 4.1.4
>         Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>            Reporter: Andrew Black
>            Assignee: Martin Sebor
>             Fix For: 4.2
>
>         Attachments: mbstate.diff
>
>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

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


[jira] Assigned: (STDCXX-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

Martin Sebor reassigned STDCXX-118:
-----------------------------------

    Assign To: Martin Sebor

> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>          Key: STDCXX-118
>          URL: http://issues.apache.org/jira/browse/STDCXX-118
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor

>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

-- 
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-118) [gcc 3.1/Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

Martin Sebor updated STDCXX-118:
--------------------------------

    Severity: Compiler Error
     Summary: [gcc 3.1/Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined  (was: [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined)

Added detail to Summary and set Severity.

> [gcc 3.1/Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> ----------------------------------------------------
>
>                 Key: STDCXX-118
>                 URL: https://issues.apache.org/jira/browse/STDCXX-118
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3, 4.1.4
>         Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>            Reporter: Andrew Black
>            Assignee: Martin Sebor
>             Fix For: 4.2
>
>         Attachments: mbstate.diff
>
>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

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


[jira] Updated: (STDCXX-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

Martin Sebor updated STDCXX-118:
--------------------------------

    Fix Version: 4.2
                     (was: 4.1.4)

> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>          Key: STDCXX-118
>          URL: http://issues.apache.org/jira/browse/STDCXX-118
>      Project: C++ Standard Library
>         Type: Bug

>   Components: Build
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.2
>  Attachments: mbstate.diff
>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

-- 
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-118) [gcc 3.1/Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

Martin Sebor closed STDCXX-118.
-------------------------------

    Resolution: Won't Fix

I can't reproduce it with the latest gcc 4.0.1 from Apple's Xcode 2.0 (see below), so I'm going to close this as Won't fix.

$ uname -srp # grep MBSTATE ../include/config.h
Darwin 8.7.1 i386
tests$ uname -srp && gcc -dumpversion && grep MBSTATE ../include/config.h
Darwin 8.7.1 i386
4.0.1
// #define _RWSTD_NO_MBSTATE_T
#define _RWSTD_MBSTATE_T_SIZE 128
#define _RWSTD_NO_STD_MBSTATE_T


> [gcc 3.1/Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> ----------------------------------------------------
>
>                 Key: STDCXX-118
>                 URL: https://issues.apache.org/jira/browse/STDCXX-118
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3, 4.1.4
>         Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>            Reporter: Andrew Black
>            Assignee: Martin Sebor
>             Fix For: 4.2
>
>         Attachments: mbstate.diff
>
>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

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


[jira] Updated: (STDCXX-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

Andrew Black updated STDCXX-118:
--------------------------------

    Attachment: mbstate.diff

Unfortunately, that change didn't quite do the trick for me.  I ended up using the attached patch to get things to build.

The comp tests on this platform end up defining _RWSTD_NO_MBSTATE_T (because the __mbstate_t symbol isn't typedeffed to mbstate_t, causing the MBSTATE_T comp test to fail to build).  (note that I included machine/ansi.h, as I believe there isn't a machine/_types.h header on this version of the OS)

> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>          Key: STDCXX-118
>          URL: http://issues.apache.org/jira/browse/STDCXX-118
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.1.4
>  Attachments: mbstate.diff
>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

-- 
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] Reopened: (STDCXX-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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


Let me reopen this and try to dobustify my fix to handle your case as well. I can't apply your patch as is because, AFAICS, there is no machine/ansi.h on Darwin 8.4.0. Sigh.

> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>          Key: STDCXX-118
>          URL: http://issues.apache.org/jira/browse/STDCXX-118
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.1.4
>  Attachments: mbstate.diff
>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

-- 
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] Resolved: (STDCXX-118) [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined

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

    Fix Version: 4.1.4
     Resolution: Fixed

I believe I just fixed it -- see http://svn.apache.org/viewcvs.cgi?rev=368468&view=rev.


> [Mac OS X 10.2.8] _RWSTD_MBSTATE_T undefined
> --------------------------------------------
>
>          Key: STDCXX-118
>          URL: http://issues.apache.org/jira/browse/STDCXX-118
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.1.4

>
> When building on this (decidedly lacking) platform, the macro _RWSTD_MBSTATE_T is not defined (in include/rw/_mbstate.h).  With svn commit r367898, this leads to a failure building the library caused by the use of this undefined macro in include/rw/_traits.h (and others).

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