[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: |
|
||||||||
| 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: |