compilation fails: missing mongoc_bulk_operation_get_write_concern

XMLWordPrintableJSON

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

      Using the latest mongo-c-driver, I get:

      [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/bulk_write.cpp.o
      In file included from /home/yuval/work/js/mongo-cxx-driver/src/mongocxx/private/libmongoc.hpp:32:0,
                       from /home/yuval/work/js/mongo-cxx-driver/src/mongocxx/private/bulk_write.hpp:20,
                       from /home/yuval/work/js/mongo-cxx-driver/src/mongocxx/bulk_write.cpp:19:
      /home/yuval/work/js/mongo-cxx-driver/src/mongocxx/private/libmongoc_symbols.hpp:21:51: error: ‘mongoc_bulk_operation_get_write_concern’ was not declared in this scope
       MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_get_write_concern)
                                                         ^
      src/mongocxx/CMakeFiles/mongocxx.dir/build.make:54: recipe for target 'src/mongocxx/CMakeFiles/mongocxx.dir/bulk_write.cpp
      

      It seems that this has moved to the private include file in mongo-c-driver, commit 6316bb9a

            Assignee:
            Adam Midvidy (Inactive)
            Reporter:
            Yuval Hager
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: