Guest User

Untitled

a guest
Aug 3rd, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.14 KB | None | 0 0
  1. clickhouse-odbc-2/driver/attributes.h:123:28: error:
  2. no viable overloaded '='
  3. it->second = value;
  4. ~~~~~~~~~~ ^ ~~~~~
  5. /Users/user/Downloads/clickhouse-odbc-2/driver/api/impl/impl.cpp:181:44: note:
  6. in instantiation of function template specialization
  7. 'AttributeContainer::setAttr<unsigned long>' requested here
  8. connection.getDriver().setAttr(CH_SQL_ATTR_DRIVERLOG...
  9. ^
  10. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1267:12: note:
  11. candidate function not viable: no known conversion from
  12. 'const unsigned long' to 'const std::__1::variant<long,
  13. std::__1::basic_string<char> >' for 1st argument
  14. variant& operator=(const variant&) = default;
  15. ^
  16. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1268:12: note:
  17. candidate function not viable: no known conversion from
  18. 'const unsigned long' to 'std::__1::variant<long,
  19. std::__1::basic_string<char> >' for 1st argument
  20. variant& operator=(variant&&) = default;
  21. ^
  22. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1279:12: note:
  23. candidate template ignored: substitution failure [with _Arg = const
  24. unsigned long &, $1 = 0]: no type named 'type' in
  25. 'std::__1::invoke_result<std::__1::__variant_detail::__all_overloads<std::__1::__variant_detail::__overload<long,
  26. 0>, std::__1::__variant_detail::__overload<std::__1::basic_string<char>,
  27. 1> >, const unsigned long &, const unsigned long &>'
  28. variant& operator=(_Arg&& __arg) noexcept(
  29. ^
  30. In file included from /Users/user/Downloads/clickhouse-odbc-2/driver/api/impl/impl.cpp:2:
  31. In file included from /Users/user/Downloads/clickhouse-odbc-2/driver/utils/utils.h:4:
  32. In file included from /Users/user/Downloads/clickhouse-odbc-2/driver/exception.h:6:
  33. In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:504:
  34. In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string_view:175:
  35. In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__string:57:
  36. In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:643:
  37. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:1876:31: error:
  38. no matching constructor for initialization of 'std::__1::pair<const int,
  39. std::__1::variant<long, std::__1::basic_string<char> > >'
  40. ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
  41. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:1768:18: note:
  43. in instantiation of function template specialization
  44. 'std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int,
  45. std::__1::variant<long, std::__1::basic_string<char> > >, void *>
  46. >::construct<std::__1::pair<const int, std::__1::variant<long,
  47. std::__1::basic_string<char> > >, int &, const unsigned long &>' requested
  48. here
  49. {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
  50. ^
  51. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:1595:14: note:
  52. in instantiation of function template specialization
  53. 'std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int,
  54. std::__1::variant<long, std::__1::basic_string<char> > >, void *> >
  55. >::__construct<std::__1::pair<const int, std::__1::variant<long,
  56. std::__1::basic_string<char> > >, int &, const unsigned long &>' requested
  57. here
  58. {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
  59. ^
  60. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:2544:20: note:
  61. in instantiation of function template specialization
  62. 'std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int,
  63. std::__1::variant<long, std::__1::basic_string<char> > >, void *> >
  64. >::construct<std::__1::pair<const int, std::__1::variant<long,
  65. std::__1::basic_string<char> > >, int &, const unsigned long &>' requested
  66. here
  67. __node_traits::construct(__na, _NodeTypes::__get_ptr(__h->__value_),
  68. ^
  69. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:2127:29: note:
  70. in instantiation of function template specialization
  71. 'std::__1::__hash_table<std::__1::__hash_value_type<int,
  72. std::__1::variant<long, std::__1::basic_string<char> > >,
  73. std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int,
  74. std::__1::variant<long, std::__1::basic_string<char> > >,
  75. std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int,
  76. std::__1::__hash_value_type<int, std::__1::variant<long,
  77. std::__1::basic_string<char> > >, std::__1::equal_to<int>, true>,
  78. std::__1::allocator<std::__1::__hash_value_type<int,
  79. std::__1::variant<long, std::__1::basic_string<char> > > >
  80. >::__construct_node_hash<int &, const unsigned long &>' requested here
  81. __node_holder __h = __construct_node_hash(__hash, _VSTD::forward...
  82. ^
  83. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:1091:16: note:
  84. in instantiation of function template specialization
  85. 'std::__1::__hash_table<std::__1::__hash_value_type<int,
  86. std::__1::variant<long, std::__1::basic_string<char> > >,
  87. std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int,
  88. std::__1::variant<long, std::__1::basic_string<char> > >,
  89. std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int,
  90. std::__1::__hash_value_type<int, std::__1::variant<long,
  91. std::__1::basic_string<char> > >, std::__1::equal_to<int>, true>,
  92. std::__1::allocator<std::__1::__hash_value_type<int,
  93. std::__1::variant<long, std::__1::basic_string<char> > > >
  94. >::__emplace_unique_key_args<int, int &, const unsigned long &>' requested
  95. here
  96. return __emplace_unique_key_args(__f, _VSTD::forward<_First>(__f),
  97. ^
  98. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:1084:25: note:
  99. in instantiation of function template specialization
  100. 'std::__1::__hash_table<std::__1::__hash_value_type<int,
  101. std::__1::variant<long, std::__1::basic_string<char> > >,
  102. std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int,
  103. std::__1::variant<long, std::__1::basic_string<char> > >,
  104. std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int,
  105. std::__1::__hash_value_type<int, std::__1::variant<long,
  106. std::__1::basic_string<char> > >, std::__1::equal_to<int>, true>,
  107. std::__1::allocator<std::__1::__hash_value_type<int,
  108. std::__1::variant<long, std::__1::basic_string<char> > > >
  109. >::__emplace_unique<int &, const unsigned long &>' requested here
  110. return __table_.__emplace_unique(_VSTD::forward<_Args>(__args)...);
  111. ^
  112. /Users/ilyatumenko/Downloads/clickhouse-odbc-2/driver/attributes.h:93:24: note:
  113. in instantiation of function template specialization
  114. 'std::__1::unordered_map<int, std::__1::variant<long,
  115. std::__1::basic_string<char> >, std::__1::hash<int>,
  116. std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<const int,
  117. std::__1::variant<long, std::__1::basic_string<char> > > > >::emplace<int
  118. &, const unsigned long &>' requested here
  119. attributes.emplace(attr, value);
  120. ^
  121. /Users/ilyatumenko/Downloads/clickhouse-odbc-2/driver/api/impl/impl.cpp:181:44: note:
  122. in instantiation of function template specialization
  123. 'AttributeContainer::setAttr<unsigned long>' requested here
  124. connection.getDriver().setAttr(CH_SQL_ATTR_DRIVERLOG...
  125. ^
  126. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:426:5: note:
  127. candidate constructor template not viable: no known conversion from
  128. 'const unsigned long' to 'const std::__1::variant<long,
  129. std::__1::basic_string<char> >' for 2nd argument
  130. pair(_T1 const& __t1, _T2 const& __t2)
  131. ^
  132. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:334:62: note:
  133. candidate template ignored: disabled by 'enable_if' [with _Dummy = true]
  134. using _EnableB _LIBCPP_NODEBUG_TYPE = typename enable_if<_Val, bool>::type;
  135. ^
  136. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:334:62: note:
  137. candidate template ignored: disabled by 'enable_if' [with _U1 = int &, _U2
  138. = const unsigned long &]
  139. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:334:62: note:
  140. candidate template ignored: disabled by 'enable_if' [with _U1 = int &, _U2
  141. = const unsigned long &]
  142. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:401:5: note:
  143. candidate constructor template not viable: requires 0 arguments, but 2
  144. were provided
  145. pair() _NOEXCEPT_(is_nothrow_default_constructible<first_type>::value &&
  146. ^
  147. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:409:5: note:
  148. candidate constructor template not viable: requires 0 arguments, but 2
  149. were provided
  150. pair() _NOEXCEPT_(is_nothrow_default_constructible<first_type>::value &&
  151. ^
  152. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:453:14: note:
  153. candidate constructor template not viable: requires single argument '__p',
  154. but 2 arguments were provided
  155. explicit pair(pair<_U1, _U2> const& __p)
  156. ^
  157. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:462:5: note:
  158. candidate constructor template not viable: requires single argument '__p',
  159. but 2 arguments were provided
  160. pair(pair<_U1, _U2> const& __p)
  161. ^
  162. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:471:14: note:
  163. candidate constructor template not viable: requires single argument '__p',
  164. but 2 arguments were provided
  165. explicit pair(pair<_U1, _U2>&&__p)
  166. ^
  167. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:480:5: note:
  168. candidate constructor template not viable: requires single argument '__p',
  169. but 2 arguments were provided
  170. pair(pair<_U1, _U2>&& __p)
  171. ^
  172. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:489:14: note:
  173. candidate constructor template not viable: requires single argument '__p',
  174. but 2 arguments were provided
  175. explicit pair(_Tuple&& __p)
  176. ^
  177. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:497:5: note:
  178. candidate constructor template not viable: requires single argument '__p',
  179. but 2 arguments were provided
  180. pair(_Tuple&& __p)
  181. ^
  182. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:503:5: note:
  183. candidate constructor template not viable: requires 3 arguments, but 2
  184. were provided
  185. pair(piecewise_construct_t __pc,
  186. ^
  187. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:562:9: note:
  188. candidate constructor template not viable: requires 5 arguments, but 2
  189. were provided
  190. pair(piecewise_construct_t,
  191. ^
  192. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:309:5: note:
  193. candidate constructor not viable: requires 1 argument, but 2 were provided
  194. pair(pair const&) = default;
  195. ^
  196. /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:310:5: note:
  197. candidate constructor not viable: requires 1 argument, but 2 were provided
  198. pair(pair&&) = default;
  199. ^
  200. 2 errors generated.
  201. gmake[2]: *** [driver/CMakeFiles/clickhouse-odbc-impl.dir/build.make:199: driver/CMakeFiles/clickhouse-odbc-impl.dir/api/impl/impl.cpp.o] Error 1
  202. gmake[1]: *** [CMakeFiles/Makefile2:2311: driver/CMakeFiles/clickhouse-odbc-impl.dir/all] Error 2
  203. gmake: *** [Makefile:182: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment