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

Windows minimum version should be specified on the build command line, not in targetver.h

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      Much like SERVER-8842, we should have an SCons option that sets the minimum supported windows version for the build. Setting this option would select a value for _WIN32_WINNT and pass that as a define on the build line, rather than our current practice of hard coding _WIN32_WINNT in targetver.h

      As part of this change, the --win2008plus flag should be removed, and the MONGO_USE_SRW macro should be replaced with a check of _WIN32_WINNT against the windows version definitions found here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: