You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/01/10 03:29:21 UTC

[jira] Resolved: (STDCXX-107) [Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative

     [ 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