[SERVER-69698] Spike: investigate WT windows builds building C++ instead of C Created: 14/Sep/22  Updated: 04/Oct/22  Resolved: 15/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-69747 Build c source in c mode for windows ... Closed
is related to WT-9509 wt load fails with heap corruption er... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This is related to discussion in https://jira.mongodb.org/browse/WT-9509

It appears the windows build is building code which is expected to be built in C mode in C++ mode on windows in the server build. Respectively, the linux build builds the same code in C mode (unlike windows).



 Comments   
Comment by Andrew Morrow (Inactive) [ 30/Sep/22 ]

That's interesting. If that is the case, then the fix is probably as easy as adding /std:c11 to CCFLAGS on MSVC.

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