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

Fix ambiguously named test fixture in `commands_test.cpp`

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.3, 4.1.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2018-07-02
    • Linked BF Score:
      61

      Description

      Microsoft's compilers that do not properly support 2-phase lookup seem to trip over an ambiguity between:

      `namespace mongo { class TypedCommand; }`

      and

      `namespace mongo { namespace{ class TypedCommand; }}`,

      when the second is defined and declared after the definition the template which would use the first (non-anonymous) instance.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: