For C++, <mongoc-read-prefs.h> has an error.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.92.0
    • Affects Version/s: 0.90.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Frank J. Lhota
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: