[SERVER-855] libmongoclient.a depends upon boost::program_options needlessly. Created: 30/Mar/10  Updated: 12/Jul/16  Resolved: 31/Mar/10

Status: Closed
Project: Core Server
Component/s: Build, Internal Client
Affects Version/s: 1.4.0
Fix Version/s: 1.4.1, 1.5.0

Type: Bug Priority: Major - P3
Reporter: Ash Berlin Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

db/cmdline.cpp means that the .a requires boost::program_options library at link time.

This wasn't the case for 1.2 and 1.3 and I can't see any (conceptual) reason for the client lib to need to include this file in the archive. Unless I'm missing osmething the CmdLine::store( int argc, char** argv) function isn't going to get called when the library is embedded.

(This change wasn't noted in the release notes on the website - but perhaps there is a more detailed list somewhere?)



 Comments   
Comment by Eliot Horowitz (Inactive) [ 26/Apr/10 ]

in a release

Comment by auto [ 31/Mar/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: do'nt require boost options in mongoclient SERVER-855
http://github.com/mongodb/mongo/commit/7109c020a33dc721acc75f184cba444cfce15dc8

Comment by auto [ 31/Mar/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: do'nt require boost options in mongoclient SERVER-855
http://github.com/mongodb/mongo/commit/d8e56af586c6445682e4ce8bf49751fb731176ca

Generated at Thu Feb 08 02:55:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.