[CDRIVER-500] Get rid of non-prefixed macros in libbson and libmongoc Created: 07/Jan/15 Updated: 19/Oct/16 Resolved: 27/Jan/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.0.2 |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
libbson provides MAX, MIN and ABS macros. We really shouldn't as these occasionally collide with system provided defaults that are sometimes defined unconditionally. Either way, it'll be better to namespace them and get away from bare macros |
| Comments |
| Comment by Githook User [ 27/Jan/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey (hanumantmk)', u'email': u'jcarey@argv.me'}Message: Namespace MAX, MIN and ABS from libbson. None of those should have been This is a small source compatibility break. |