[CXX-1032] Check for MONGOC_NO_AUTOMATIC_GLOBALS Created: 14/Sep/16 Updated: 18/Jan/23 Resolved: 18/Jan/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | bgtrack | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We should mandate that the libmongoc we build against has MONGOC_NO_AUTOMATIC_GLOBALS defined and refuse to build otherwise. This solves the cleanup races with mongocxx::current. |
| Comments |
| Comment by Rishabh Bisht [ 18/Jan/23 ] |
|
After careful evaluation, we have decided to close this ticket. Please add a comment if the impact of this ticket increases. |
| Comment by David Golden [ 05/Oct/16 ] |
|
As a stopgap, we could do a better job of documenting how people should build libmongoc. |