[SERVER-31186] Link warning due to namespace.obj not containing any symbols Created: 20/Sep/17  Updated: 30/Oct/23  Resolved: 21/Sep/17

Status: Closed
Project: Core Server
Component/s: MMAPv1
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Bug Priority: Trivial - P5
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-10-02
Participants:

 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.



 Comments   
Comment by Githook User [ 21/Sep/17 ]

Author:

{'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}

Message: SERVER-31186 Get rid of namespace.cpp which does not declare any symbols
Branch: master
https://github.com/mongodb/mongo/commit/9c4b369444e9a88ba0e63890bf6795ab157d8c2e

Generated at Thu Feb 08 04:26:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.