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/09 19:57:53 UTC

[jira] Created: (STDCXX-107) [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in incorrect characterizations

[Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in incorrect characterizations
-------------------------------------------------------------------------------------

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


When the system tries to build the MUNMAP.cpp configuration file, the compilation fails due to size_t, off_t, caddr_t, and u_long not being defined in sys/mman.h 

A workaround on this platform is to include sys/types.h prior to including sys/mman.h, but this is a hack and a better solution should be found.  At the very least, this inclusion would need to be conditional.

This characterization failure results in _RWSTD_MUNMAP_ARG1_T not being defined, leading to a failure to build src/facet.cpp on line 180 due to an invalid cast

-- 
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-107) [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative

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


I ran a test build last night, and it appears that the 367374 commit did the job.  Therefore, from my prospective this issue is closed.

The functional change to the file (inclusion of the needed sys/types header) is the same as I had made when I was working on building things.  The concern I had had was that this could possibly lead to namespace poluition.  The reason I had this concern was the delayed inclusion of stdio.h until just before the main() function.

> [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative
> --------------------------------------------------------------------------
>
>          Key: STDCXX-107
>          URL: http://issues.apache.org/jira/browse/STDCXX-107
>      Project: STDCXX
>         Type: Bug
>   Components: Configuration
>     Versions: 4.1.3
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>     Priority: Minor
>      Fix For: 4.1.4

>
> When the system tries to build the MUNMAP.cpp configuration file, the compilation fails due to size_t, off_t, caddr_t, and u_long not being defined in sys/mman.h 
> A workaround on this platform is to include sys/types.h prior to including sys/mman.h, but this is a hack and a better solution should be found.  At the very least, this inclusion would need to be conditional.
> This characterization failure results in _RWSTD_MUNMAP_ARG1_T not being defined, leading to a failure to build src/facet.cpp on line 180 due to an invalid cast

-- 
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-107) [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative

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

    Resolution: Fixed

Setting Status to Resolved until confirmed -- Andrew, could you please check out the patch and let us know if it fixes things for you?

> [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative
> --------------------------------------------------------------------------
>
>          Key: STDCXX-107
>          URL: http://issues.apache.org/jira/browse/STDCXX-107
>      Project: STDCXX
>         Type: Bug
>   Components: Configuration
>     Versions: 4.1.3
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>     Priority: Minor
>      Fix For: 4.1.4

>
> When the system tries to build the MUNMAP.cpp configuration file, the compilation fails due to size_t, off_t, caddr_t, and u_long not being defined in sys/mman.h 
> A workaround on this platform is to include sys/types.h prior to including sys/mman.h, but this is a hack and a better solution should be found.  At the very least, this inclusion would need to be conditional.
> This characterization failure results in _RWSTD_MUNMAP_ARG1_T not being defined, leading to a failure to build src/facet.cpp on line 180 due to an invalid cast

-- 
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-107) [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative

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

Martin Sebor updated STDCXX-107:
--------------------------------

        Summary: [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative  (was: [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in incorrect characterizations)
    Fix Version: 4.1.4
        Version: 4.1.3

> [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative
> --------------------------------------------------------------------------
>
>          Key: STDCXX-107
>          URL: http://issues.apache.org/jira/browse/STDCXX-107
>      Project: STDCXX
>         Type: Bug
>   Components: Configuration
>     Versions: 4.1.3
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>     Priority: Minor
>      Fix For: 4.1.4

>
> When the system tries to build the MUNMAP.cpp configuration file, the compilation fails due to size_t, off_t, caddr_t, and u_long not being defined in sys/mman.h 
> A workaround on this platform is to include sys/types.h prior to including sys/mman.h, but this is a hack and a better solution should be found.  At the very least, this inclusion would need to be conditional.
> This characterization failure results in _RWSTD_MUNMAP_ARG1_T not being defined, leading to a failure to build src/facet.cpp on line 180 due to an invalid cast

-- 
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] Assigned: (STDCXX-107) [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in incorrect characterizations

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

Martin Sebor reassigned STDCXX-107:
-----------------------------------

    Assign To: Martin Sebor

> [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in incorrect characterizations
> -------------------------------------------------------------------------------------
>
>          Key: STDCXX-107
>          URL: http://issues.apache.org/jira/browse/STDCXX-107
>      Project: STDCXX
>         Type: Bug
>   Components: Configuration
>  Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>     Priority: Minor

>
> When the system tries to build the MUNMAP.cpp configuration file, the compilation fails due to size_t, off_t, caddr_t, and u_long not being defined in sys/mman.h 
> A workaround on this platform is to include sys/types.h prior to including sys/mman.h, but this is a hack and a better solution should be found.  At the very least, this inclusion would need to be conditional.
> This characterization failure results in _RWSTD_MUNMAP_ARG1_T not being defined, leading to a failure to build src/facet.cpp on line 180 due to an invalid cast

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