[SERVER-67414] DistributionAndProjections compile error with MSVC 14.32.31326 Created: 21/Jun/22 Updated: 29/Oct/23 Resolved: 12/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Moody | Assignee: | Alex Neben |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: |
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\cl.EXE
|
| Sprint: | Dev Platform 2022-07-11, Dev Platform 2022-07-25 |
| Participants: |
| Description |
|
Updating to the latest version of the compiler for MSVC 2022 cause a compilation error:
around the code https://github.com/mongodb/mongo/blob/afc52bea57c8edb8769efa67c01ebbde5a87f50d/src/mongo/db/query/optimizer/explain.cpp#L1688-L1693
Investigate the relevant code related to the newer compiler. |
| Comments |
| Comment by Githook User [ 12/Jul/22 ] |
|
Author: {'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}Message: |
| Comment by Daniel Moody [ 21/Jun/22 ] |
|
The code in question seems correct C++, so it may be an MSVC compiler issue. Some investigation around MSVC and this issue should be done. If nothing is found, SDP should create a minimal reproducer and submit and issue to microsoft about this. |