Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11070

Building in C++03 mode against libc++ fails due to attempts to use the TR1 headers

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • OS X

      The libc++ library does not ship the TR1 headers. We did our testing with libc++ in C++11 mode, so we didn't notice: our shims that select which variant of things like unordered_map switch on C++11.

      We need to add the appropriate preprocessor magic to ensure that C++03 builds also work with libc++.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: