Details
-
Bug
-
Resolution: Done
-
Major - P3
-
0.90.0
-
None
-
None
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>:
/usr/include/libmongoc-1.0/mongoc-read-prefs.h:34: error: use of enum â_mongoc_read_mode_tâ without previous declaration
|
Please make sure that all of the bson and mongo C headers are free of C++ errors.