[SERVER-69747] Build c source in c mode for windows builds Created: 15/Sep/22  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-69698 Spike: investigate WT windows builds ... Closed
Assigned Teams:
Server Development Platform
Participants:

 Description   

There is a discrepancy across windows and linux builds. In windows builds we compile c source in c++ mode with a few c++ flags like the standard and the __cplusplus macro.

We don't do this on linux, instead we build in c11 mode.

I tested building the c source on windows in c mode for SERVER-69698, and it seem to mostly work.

I also tested locally build with c11 mode on windows, and our windows SDK (10.0.19041.0) does not conform to c11 standard. It look like microsoft recent pushed an update to make it conform in windows SDK 10.0.20348.0


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