--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev...@googlegroups.com.
To post to this group, send email to mongo...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-dev.
For more options, visit https://groups.google.com/d/optout.
Output is the following:
APACHE-2.0.txt
CONTRIBUTING.md
README.md
SConstruct
build docs
etc
site_scons
src
[ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/collection.cpp.o
In file included from /Users/Waley/code/mongo-cxx-driver/src/mongocxx/test/collection.cpp:1:
In file included from /Users/Waley/code/mongo-cxx-driver/src/third_party/catch/include/catch.hpp:408:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:1089:9: error: no matching member function for call to 'push_back'
push_back(*__first);
^~~~~~~~~
/Users/Waley/code/mongo-cxx-driver/src/mongocxx/test/collection.cpp:426:47: note: in instantiation of function template specialization 'std::__1::vector<bsoncxx::v0::document::value,
std::__1::allocator<bsoncxx::v0::document::value> >::vector<mongocxx::v0::cursor::iterator>' requested here
std::vector<bsoncxx::document::value> results(distinct_results.begin(),
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:700:36: note: candidate function not viable: no known conversion from 'const bsoncxx::document::view' to 'const value_type'
(aka 'const bsoncxx::v0::document::value') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:702:36: note: candidate function not viable: no known conversion from 'const bsoncxx::document::view' to 'value_type'
(aka 'bsoncxx::v0::document::value') for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(value_type&& __x);
^
1 error generated.
make[2]: *** [src/mongocxx/test/CMakeFiles/test_driver.dir/collection.cpp.o] Error 1
make[1]: *** [src/mongocxx/test/CMakeFiles/test_driver.dir/all] Error 2
make: *** [all] Error 2