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

Report most-vexing parse warnings as errors on MSVC

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.5, 3.1.0
    • Affects Version/s: 3.0.1
    • Component/s: Build
    • None
    • Fully Compatible

      The version of the most-vexing parse where the developer inadvertently declares a function instead of defining a variable can cause lock acquisitions to be missed, and other RAII behavior to not occur. MSVC has a warning about these, which we should report as build errors.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: