Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69747

Build c source in c mode for windows builds

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform

      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

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: