[CDRIVER-268] For C++, <mongoc-read-prefs.h> has an error. Created: 13/Dec/13 Updated: 18/Mar/14 Resolved: 14/Jan/14 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.90.0 |
| Fix Version/s: | 0.92.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Frank J. Lhota | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Many projects use a mix of C and C++ code. If such a project used the MongoDB C driver, one would see the following error message from any C++ source that includes <mongoc.h>:
Please make sure that all of the bson and mongo C headers are free of C++ errors. |
| Comments |
| Comment by Christian Hergert [ 14/Jan/14 ] |
|
Fixed in master. |
| Comment by Lee Kangsan [ 10/Jan/14 ] |
|
I think this issue is resolved in commit:eafbe5ff771f17ea5eb9a9c7444bb05e1bcebd62. https://github.com/mongodb/mongo-c-driver/commit/eafbe5ff771f17ea5eb9a9c7444bb05e1bcebd62 |