[CDRIVER-950] BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES redefined Created: 21/Oct/15 Updated: 19/Oct/16 Resolved: 21/Oct/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES checks seems broken:
When its supposed to be used, it is passed as a compiler option -DBSON_PTHREAD_ONCE_INIT_NEEDS_BRACES and incorrectly (unconditionally) set to 0 in our bson-config.h[.in] (hence the warning), which results in it being undef'd in bson-config.h. |
| Comments |
| Comment by Githook User [ 11/Jan/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 22/Oct/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 21/Oct/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Hannes Magnusson [ 21/Oct/15 ] |