[CDRIVER-1036] Exclude min & max macros on Windows in libbson Created: 04/Dec/15 Updated: 04/Dec/15 Resolved: 04/Dec/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libbson |
| Affects Version/s: | 1.3.0-rc0 |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | C++11 Driver MongoDB 3.2 | ||||||||
| Backwards Compatibility: | Minor Change | ||||||||
| Description |
|
min() and max() macros are defined in the WIndows headers which conflict with std::min() and std::max(). bson-compat.h is including winsock.h which includes windows.h. See https://support.microsoft.com/en-us/kb/143208 |
| Comments |
| Comment by Githook User [ 04/Dec/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@emptysquare.net'}Message: Merge pull request #144 from markbenvenuto/
|
| Comment by Githook User [ 04/Dec/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@emptysquare.net'}Message: Merge pull request #144 from markbenvenuto/
|
| Comment by Githook User [ 04/Dec/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Mark Benvenuto [ 04/Dec/15 ] |