Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-107

[Mac OS X 10.2.8] MUNMAP.cpp fails to build, resulting in a false negative

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.3
    • 4.1.4
    • Configuration
    • None
    • Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1

    Description

      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

      Attachments

        Activity

          People

            sebor Martin Sebor
            ablack-rw Andrew Black
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: