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

Upgrade MSVC to VS2019 or newer.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform
    • Dev Tools 2019-10-07

    Description

      MSVC 19.xx has had some serious teething problems with its new "improvements" to how it handles templates.  Many have been fixed.

       

      We should rev the supported version from 19.16 to some more recent version.  I'm asking for people to add comments to this ticket with links to godbolt examples of where gcc, clang, and a more recent MSVC do the right thing but MSVC 19.16 does the wrong thing.

       

      The godbolt examples should run across 4 compilers:  MSVC 19.16, a later MSVC 19.xx where the feature works (if possible), gcc 8.3 and clang 7.0.  The expectation is that clang and gcc are doing the right thing, in these examples.

      Attachments

        Activity

          People

            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            adam.martin@mongodb.com ADAM Martin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: