[SERVER-48440] Build fails on windows with latest buildtool version released on May 19th with our current code Created: 27/May/20  Updated: 29/Oct/23  Resolved: 28/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc8, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Related
is related to SERVER-48372 Build fails on windows with latest bu... Closed
Backwards Compatibility: Fully Compatible
Operating System: Windows
Backport Requested:
v4.4
Steps To Reproduce:

1. On Windows 10 update Visual Studio to latest version (16.6.0)
2. Compile core

Sprint: Sharding 2020-06-01
Participants:
Linked BF Score: 82

 Description   

As explained on SERVER-48372 the latest visual studio version fails to compile, it has a new error being reported:

./src/mongo/db/repl_index_build_state.h(296,38): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes

We need to find and change the instances of our code that violate this new enforcement.



 Comments   
Comment by Githook User [ 01/Jun/20 ]

Author:

{'name': 'Marcos José Grillo Ramírez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-48440 Fixed Windows compilation for Visual Studio 2019 version 16.6.0 on codebase

(cherry picked from commit f325c9fec89831c6c4f620c1a97c342bbf269a53)
Branch: v4.4
https://github.com/mongodb/mongo/commit/a3c25f627a9e1a437784b2ef3a74b535a8cdebc2

Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Marcos José Grillo Ramírez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-48440 Fixed Windows compilation for Visual Studio 2019 version 16.6.0 on codebase
Branch: master
https://github.com/mongodb/mongo/commit/f325c9fec89831c6c4f620c1a97c342bbf269a53

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