Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clickhouse-odbc-2/driver/attributes.h:123:28: error:
- no viable overloaded '='
- it->second = value;
- ~~~~~~~~~~ ^ ~~~~~
- /Users/user/Downloads/clickhouse-odbc-2/driver/api/impl/impl.cpp:181:44: note:
- in instantiation of function template specialization
- 'AttributeContainer::setAttr<unsigned long>' requested here
- connection.getDriver().setAttr(CH_SQL_ATTR_DRIVERLOG...
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1267:12: note:
- candidate function not viable: no known conversion from
- 'const unsigned long' to 'const std::__1::variant<long,
- std::__1::basic_string<char> >' for 1st argument
- variant& operator=(const variant&) = default;
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1268:12: note:
- candidate function not viable: no known conversion from
- 'const unsigned long' to 'std::__1::variant<long,
- std::__1::basic_string<char> >' for 1st argument
- variant& operator=(variant&&) = default;
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1279:12: note:
- candidate template ignored: substitution failure [with _Arg = const
- unsigned long &, $1 = 0]: no type named 'type' in
- 'std::__1::invoke_result<std::__1::__variant_detail::__all_overloads<std::__1::__variant_detail::__overload<long,
- 0>, std::__1::__variant_detail::__overload<std::__1::basic_string<char>,
- 1> >, const unsigned long &, const unsigned long &>'
- variant& operator=(_Arg&& __arg) noexcept(
- ^
- In file included from /Users/user/Downloads/clickhouse-odbc-2/driver/api/impl/impl.cpp:2:
- In file included from /Users/user/Downloads/clickhouse-odbc-2/driver/utils/utils.h:4:
- In file included from /Users/user/Downloads/clickhouse-odbc-2/driver/exception.h:6:
- In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:504:
- In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string_view:175:
- In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__string:57:
- In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:643:
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:1876:31: error:
- no matching constructor for initialization of 'std::__1::pair<const int,
- std::__1::variant<long, std::__1::basic_string<char> > >'
- ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:1768:18: note:
- in instantiation of function template specialization
- 'std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >, void *>
- >::construct<std::__1::pair<const int, std::__1::variant<long,
- std::__1::basic_string<char> > >, int &, const unsigned long &>' requested
- here
- {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:1595:14: note:
- in instantiation of function template specialization
- 'std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >, void *> >
- >::__construct<std::__1::pair<const int, std::__1::variant<long,
- std::__1::basic_string<char> > >, int &, const unsigned long &>' requested
- here
- {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:2544:20: note:
- in instantiation of function template specialization
- 'std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >, void *> >
- >::construct<std::__1::pair<const int, std::__1::variant<long,
- std::__1::basic_string<char> > >, int &, const unsigned long &>' requested
- here
- __node_traits::construct(__na, _NodeTypes::__get_ptr(__h->__value_),
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:2127:29: note:
- in instantiation of function template specialization
- 'std::__1::__hash_table<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >,
- std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >,
- std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int,
- std::__1::__hash_value_type<int, std::__1::variant<long,
- std::__1::basic_string<char> > >, std::__1::equal_to<int>, true>,
- std::__1::allocator<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > > >
- >::__construct_node_hash<int &, const unsigned long &>' requested here
- __node_holder __h = __construct_node_hash(__hash, _VSTD::forward...
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:1091:16: note:
- in instantiation of function template specialization
- 'std::__1::__hash_table<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >,
- std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >,
- std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int,
- std::__1::__hash_value_type<int, std::__1::variant<long,
- std::__1::basic_string<char> > >, std::__1::equal_to<int>, true>,
- std::__1::allocator<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > > >
- >::__emplace_unique_key_args<int, int &, const unsigned long &>' requested
- here
- return __emplace_unique_key_args(__f, _VSTD::forward<_First>(__f),
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:1084:25: note:
- in instantiation of function template specialization
- 'std::__1::__hash_table<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >,
- std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > >,
- std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int,
- std::__1::__hash_value_type<int, std::__1::variant<long,
- std::__1::basic_string<char> > >, std::__1::equal_to<int>, true>,
- std::__1::allocator<std::__1::__hash_value_type<int,
- std::__1::variant<long, std::__1::basic_string<char> > > >
- >::__emplace_unique<int &, const unsigned long &>' requested here
- return __table_.__emplace_unique(_VSTD::forward<_Args>(__args)...);
- ^
- /Users/ilyatumenko/Downloads/clickhouse-odbc-2/driver/attributes.h:93:24: note:
- in instantiation of function template specialization
- 'std::__1::unordered_map<int, std::__1::variant<long,
- std::__1::basic_string<char> >, std::__1::hash<int>,
- std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<const int,
- std::__1::variant<long, std::__1::basic_string<char> > > > >::emplace<int
- &, const unsigned long &>' requested here
- attributes.emplace(attr, value);
- ^
- /Users/ilyatumenko/Downloads/clickhouse-odbc-2/driver/api/impl/impl.cpp:181:44: note:
- in instantiation of function template specialization
- 'AttributeContainer::setAttr<unsigned long>' requested here
- connection.getDriver().setAttr(CH_SQL_ATTR_DRIVERLOG...
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:426:5: note:
- candidate constructor template not viable: no known conversion from
- 'const unsigned long' to 'const std::__1::variant<long,
- std::__1::basic_string<char> >' for 2nd argument
- pair(_T1 const& __t1, _T2 const& __t2)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:334:62: note:
- candidate template ignored: disabled by 'enable_if' [with _Dummy = true]
- using _EnableB _LIBCPP_NODEBUG_TYPE = typename enable_if<_Val, bool>::type;
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:334:62: note:
- candidate template ignored: disabled by 'enable_if' [with _U1 = int &, _U2
- = const unsigned long &]
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:334:62: note:
- candidate template ignored: disabled by 'enable_if' [with _U1 = int &, _U2
- = const unsigned long &]
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:401:5: note:
- candidate constructor template not viable: requires 0 arguments, but 2
- were provided
- pair() _NOEXCEPT_(is_nothrow_default_constructible<first_type>::value &&
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:409:5: note:
- candidate constructor template not viable: requires 0 arguments, but 2
- were provided
- pair() _NOEXCEPT_(is_nothrow_default_constructible<first_type>::value &&
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:453:14: note:
- candidate constructor template not viable: requires single argument '__p',
- but 2 arguments were provided
- explicit pair(pair<_U1, _U2> const& __p)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:462:5: note:
- candidate constructor template not viable: requires single argument '__p',
- but 2 arguments were provided
- pair(pair<_U1, _U2> const& __p)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:471:14: note:
- candidate constructor template not viable: requires single argument '__p',
- but 2 arguments were provided
- explicit pair(pair<_U1, _U2>&&__p)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:480:5: note:
- candidate constructor template not viable: requires single argument '__p',
- but 2 arguments were provided
- pair(pair<_U1, _U2>&& __p)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:489:14: note:
- candidate constructor template not viable: requires single argument '__p',
- but 2 arguments were provided
- explicit pair(_Tuple&& __p)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:497:5: note:
- candidate constructor template not viable: requires single argument '__p',
- but 2 arguments were provided
- pair(_Tuple&& __p)
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:503:5: note:
- candidate constructor template not viable: requires 3 arguments, but 2
- were provided
- pair(piecewise_construct_t __pc,
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:562:9: note:
- candidate constructor template not viable: requires 5 arguments, but 2
- were provided
- pair(piecewise_construct_t,
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:309:5: note:
- candidate constructor not viable: requires 1 argument, but 2 were provided
- pair(pair const&) = default;
- ^
- /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:310:5: note:
- candidate constructor not viable: requires 1 argument, but 2 were provided
- pair(pair&&) = default;
- ^
- 2 errors generated.
- gmake[2]: *** [driver/CMakeFiles/clickhouse-odbc-impl.dir/build.make:199: driver/CMakeFiles/clickhouse-odbc-impl.dir/api/impl/impl.cpp.o] Error 1
- gmake[1]: *** [CMakeFiles/Makefile2:2311: driver/CMakeFiles/clickhouse-odbc-impl.dir/all] Error 2
- gmake: *** [Makefile:182: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment