[ 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

Reply via email to