[SERVER-2324] compilation error with boost filesystem v3 Created: 04/Jan/11 Updated: 12/Jul/16 Resolved: 18/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 1.7.4 |
| Fix Version/s: | 1.8.1, 1.9.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Guanqun Lu | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
with latest boost lib environment installed, boost filesystem v3 is used. |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
it fails to compile when it meets functions such as leaf(). I've come up with a simple fix and change the functions according to this page: |
| Comments |
| Comment by auto [ 19/Mar/11 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'redbeard0531@gmail.com'}Message: support boost 1.46 |
| Comment by Mathias Stearn [ 18/Mar/11 ] |
|
For now just using version 2. Its a small localized change that should be safe to backport. |
| Comment by auto [ 18/Mar/11 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'redbeard0531@gmail.com'}Message: support boost 1.46 |
| Comment by Eliot Horowitz (Inactive) [ 08/Jan/11 ] |
|
We'll do this unless we complete bringing boost source into source tree. |
| Comment by Guanqun Lu [ 08/Jan/11 ] |
|
Here's the fix. it can compile under boost filesystem v2 as well. https://github.com/mongodb/mongo/pull/12 thanks. |