[SERVER-11070] Building in C++03 mode against libc++ fails due to attempts to use the TR1 headers Created: 07/Oct/13  Updated: 11/Jul/16  Resolved: 08/Oct/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: scons
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: OS X
Participants:

 Description   

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



 Comments   
Comment by auto [ 08/Oct/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-11070 When using libc+, things are never found in TR1, even in C+03 mode
Branch: master
https://github.com/mongodb/mongo/commit/c70a72b151fcfab26d0db5e8ceeb7c04a96ce449

Generated at Thu Feb 08 03:24:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.