[CXX-59] Disable suport for building the static libmongoclient.lib on Windows Created: 19/Feb/14 Updated: 08/Jan/24 Resolved: 08/Mar/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | legacy-0.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The static client library is not useable on Windows, since there is no mechanism by which to instruct the linker to extract all symbols from the archive. As a result, the MONGO_INITIALIZERS are not extracted, and programs using the library fail with 'BadValue default'. We should refuse requests to build the unusable library on Windows. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 08/Mar/14 ] |
|
Thanks to mira.carey@mongodb.com's work on |