[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: |