[SERVER-50220] Fix Windows Build Created: 10/Aug/20  Updated: 05/Oct/20  Resolved: 05/Oct/20

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

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Sprint: Security 2020-08-24, Security 2020-09-07, Security 2020-09-21, Security 2020-10-19
Participants:

 Description   

MongoDB does not build on Windows with VS Code 2019 16.5.

With 16.7, it crashes in the std:visit overloaded pattern in plan_cache.cpp. It does not make a difference if Microsoft's std::visit or mppark's std::visit.



 Comments   
Comment by Mark Benvenuto [ 05/Oct/20 ]

The only remaining issue is that including "operation_context.h" which is included in the ninja module's pch breaks the build of src\mongo\db\query\datetime\date_time_support.cpp because of duplicate symbol of getTimeZoneDatabase

Generated at Thu Feb 08 05:22:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.