[CDRIVER-592] Deprecate mongoc_init_ctor/dtor Created: 25/Mar/15 Updated: 03/Sep/18 Resolved: 16/Jun/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
We should deprecate the mongoc_init_ctor/dtor attribute constructor/destructor craziness. It's gcc specific (so code that works on *nix will fail on other platforms) and prevents users from setting necessary callbacks before calling init (like the memory interface). Hannes added MONGOC_NO_AUTOMATIC_GLOBALS option in 1.3.5. In 1.4, shout a warning if automatic initialization and destruction are left turned on. Remove automatic init / destruct in 2.0. |
| Comments |
| Comment by Githook User [ 06/Jul/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 16/Jun/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |