[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: |
|
||||||||
| 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 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 |