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