[SERVER-12013] Do not ship C++ driver binary on Windows. Created: 09/Dec/13  Updated: 26/Oct/15  Resolved: 30/Jan/14

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.5.4
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-2624 Update Windows Build documentation Closed
Operating System: ALL
Participants:

 Description   

Shipping a compiled C++ DLL that returns or consumes STL types (e.g., std::string) risks violating the one-definition rule. Further, Windows DLLs do not under all circumstances uses the same heap as the host process.

To maximize the likelihood that the DLL works for an application, users should build their own. We should provide all the source and easy-to-follow instructions, along with a caveat emptor that the DLL is not fully general, and should be built with the same toolchain as the client application.



 Comments   
Comment by Githook User [ 29/Jan/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-12013: Do not ship C++ driver binary on Windows.
Branch: master
https://github.com/mongodb/mongo/commit/791d6d40fc94eaa7264bce319aab94d98d20df4c

Generated at Thu Feb 08 03:27:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.