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

Link warning due to namespace.obj not containing any symbols

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: MMAPv1
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2017-10-02

      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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: