[SERVER-36695] MongoDB failed when build on MSVC on windows Created: 16/Aug/18 Updated: 27/Oct/23 Resolved: 16/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | QuellaZhang [X] | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Steps To Reproduce: | Repro: Failures: |
| Participants: |
| Description |
|
Build MongoDB on msvc failed with error C2039, C3646, C2059, C2238. this issue can be reproduced from master revision 65bfd4b. Could you please help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior. |
| Comments |
| Comment by QuellaZhang [X] [ 17/Aug/18 ] |
|
Thanks Andrew! We apply patch to support MongoDB building with VS2017, I will attach this patch. After apply this patch, you can repro this issue.mongodb.patch Thank you very much! |
| Comment by Andrew Morrow (Inactive) [ 16/Aug/18 ] |
|
MongoDB doesn't currently support building with VS2017. You will need to build with VS2015. Updates to support VS2017 will arrive with MongoDB 4.2. |