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

Link warning due to namespace.obj not containing any symbols

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc0
    • Component/s: MMAPv1
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2017-10-02

      Description

      namespace.cpp only contains static assertions and because of this does not expose any symbols. Because of this, the following link warning is reported on Windows:

      namespace.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
      

      These static assertions should be folded in the header and the .cpp file removed.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: