[alb@Archon build]$ clang --version
|
clang version 3.7.1 (tags/RELEASE_371/final)
|
Target: x86_64-unknown-linux-gnu
|
Thread model: posix
|
|
Scanning dependencies of target mongocxx
|
[ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/modify_collection.cpp.o
|
In file included from /home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/mongocxx/options/modify_collection.cpp:17:
|
In file included from /home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/stream/document.hpp:18:
|
In file included from /home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/stream/key_context.hpp:19:
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/stream/value_context.hpp:70:16: error: call to member function 'append'
|
is ambiguous
|
_core->append(std::forward<T>(t));
|
~~~~~~~^~~~~~
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/mongocxx/options/modify_collection.cpp:39:55: note: in instantiation of function template
|
specialization
|
'bsoncxx::v_noabi::builder::stream::value_context<bsoncxx::v_noabi::builder::stream::key_context<bsoncxx::v_noabi::builder::stream::closed_context>
|
>::operator<<<long long>' requested here
|
<< "expireAfterSeconds" << seconds.count() << finalize);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:243:10: note: candidate function
|
void append(bool value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:248:10: note: candidate function
|
void append(double value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:253:10: note: candidate function
|
void append(std::int32_t value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:258:10: note: candidate function
|
void append(std::int64_t value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:115:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_double' for 1st argument
|
void append(const types::b_double& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:120:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_utf8' for 1st argument
|
void append(const types::b_utf8& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:125:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_document' for 1st argument
|
void append(const types::b_document& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:130:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_array' for 1st argument
|
void append(const types::b_array& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:135:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_binary' for 1st argument
|
void append(const types::b_binary& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:140:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_undefined' for 1st argument
|
void append(const types::b_undefined& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:145:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_oid' for 1st argument
|
void append(const types::b_oid& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:150:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_bool' for 1st argument
|
void append(const types::b_bool& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:155:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_date' for 1st argument
|
void append(const types::b_date& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:160:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_null' for 1st argument
|
void append(const types::b_null& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:165:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_regex' for 1st argument
|
void append(const types::b_regex& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:170:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_dbpointer' for 1st argument
|
void append(const types::b_dbpointer& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:175:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_code' for 1st argument
|
void append(const types::b_code& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:180:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_symbol' for 1st argument
|
void append(const types::b_symbol& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:185:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_codewscope' for 1st argument
|
void append(const types::b_codewscope& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:190:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_int32' for 1st argument
|
void append(const types::b_int32& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:195:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_timestamp' for 1st argument
|
void append(const types::b_timestamp& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:200:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_int64' for 1st argument
|
void append(const types::b_int64& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:205:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_minkey' for 1st argument
|
void append(const types::b_minkey& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:210:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::b_maxkey' for 1st argument
|
void append(const types::b_maxkey& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:215:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const types::value' for 1st argument
|
void append(const types::value& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:220:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') for 1st argument
|
void append(std::string str);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:225:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'stdx::string_view' (aka 'basic_string_view<char>') for 1st argument
|
void append(stdx::string_view str);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:263:10: note: candidate function not viable: no known conversion
|
from 'long long' to 'const bsoncxx::v_noabi::oid' for 1st argument
|
void append(const oid& value);
|
^
|
/home/alb/Development/Fusion/Depend/mongo-cxx-driver-master/src/bsoncxx/builder/core.hpp:234:25: note: candidate template ignored: could not match 'T *'
|
against 'long long'
|
BSONCXX_INLINE void append(T* v) {
|
^
|
1 error generated.
|
make[2]: *** [src/mongocxx/CMakeFiles/mongocxx.dir/options/modify_collection.cpp.o] Error 1
|
make[1]: *** [src/mongocxx/CMakeFiles/mongocxx.dir/all] Error 2
|
make: *** [all] Error 2
|