Guest User

Untitled

a guest
Nov 21st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.93 KB | None | 0 0
  1. In file included from currency_converter.cpp:17:
  2. In file included from C:/boost_1_68_0\boost/beast/core.hpp:15:
  3. In file included from C:/boost_1_68_0\boost/beast/core/bind_handler.hpp:14:
  4. In file included from C:/boost_1_68_0\boost/beast/core/type_traits.hpp:14:
  5. In file included from C:/boost_1_68_0\boost/beast/core/file_base.hpp:14:
  6. In file included from C:/boost_1_68_0\boost/beast/core/string.hpp:15:
  7. In file included from C:/boost_1_68_0\boost/utility/string_view.hpp:22:
  8. In file included from C:/boost_1_68_0\boost/utility/string_view_fwd.hpp:21:
  9. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string:477:
  10. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string_view:176:
  11. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\__string:56:
  12. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\algorithm:643:
  13. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4271:5: error: static_assert failed due to
  14. requirement 'is_constructible<listener>::value' "Can't construct object in make_shared"
  15. static_assert( is_constructible<_Tp, _Args...>::value, "Can't construct object in make_shared" );
  16. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4656:29: note: in instantiation of function
  18. template specialization 'std::__2::shared_ptr<listener>::make_shared<>' requested here
  19. return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
  20. ^
  21. currency_converter.cpp:231:44: note: in instantiation of function template specialization
  22. 'std::__2::make_shared<listener>' requested here
  23. .smart_ptr_constructor("listener", &std::make_shared<listener>);
  24. ^
  25. In file included from currency_converter.cpp:17:
  26. In file included from C:/boost_1_68_0\boost/beast/core.hpp:15:
  27. In file included from C:/boost_1_68_0\boost/beast/core/bind_handler.hpp:14:
  28. In file included from C:/boost_1_68_0\boost/beast/core/type_traits.hpp:14:
  29. In file included from C:/boost_1_68_0\boost/beast/core/file_base.hpp:14:
  30. In file included from C:/boost_1_68_0\boost/beast/core/string.hpp:15:
  31. In file included from C:/boost_1_68_0\boost/utility/string_view.hpp:22:
  32. In file included from C:/boost_1_68_0\boost/utility/string_view_fwd.hpp:21:
  33. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string:477:
  34. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string_view:176:
  35. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\__string:56:
  36. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\algorithm:643:
  37. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:2089:66: error: no matching constructor for
  38. initialization of 'listener'
  39. _LIBCPP_INLINE_VISIBILITY constexpr __compressed_pair_elem() : __value_() {}
  40. ^
  41. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:2187:41: note: in instantiation of member function
  42. 'std::__2::__compressed_pair_elem<listener, 1, false>::__compressed_pair_elem' requested here
  43. : _Base1(std::forward<_Tp>(__t)), _Base2() {}
  44. ^
  45. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:3613:12: note: in instantiation of function
  46. template specialization 'std::__2::__compressed_pair<std::__2::allocator<listener>,
  47. listener>::__compressed_pair<std::__2::allocator<listener>, true>' requested here
  48. : __data_(_VSTD::move(__a)) {}
  49. ^
  50. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4277:26: note: in instantiation of member function
  51. 'std::__2::__shared_ptr_emplace<listener, std::__2::allocator<listener> >::__shared_ptr_emplace' requested here
  52. ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
  53. ^
  54. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4656:29: note: in instantiation of function
  55. template specialization 'std::__2::shared_ptr<listener>::make_shared<>' requested here
  56. return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
  57. ^
  58. currency_converter.cpp:231:44: note: in instantiation of function template specialization
  59. 'std::__2::make_shared<listener>' requested here
  60. .smart_ptr_constructor("listener", &std::make_shared<listener>);
  61. ^
  62. currency_converter.cpp:92:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1
  63. argument, but 0 were provided
  64. class listener : public std::enable_shared_from_this<listener>
  65. ^
  66. currency_converter.cpp:92:7: note: candidate constructor (the implicit move constructor) not viable: requires 1
  67. argument, but 0 were provided
  68. currency_converter.cpp:448:11: note: candidate constructor not viable: requires 3 arguments, but 0 were provided
  69. listener::listener(boost::asio::io_context& ioc, tcp::endpoint endpoint, const std::shared_ptr<const std::string...
  70. ^
  71. In file included from currency_converter.cpp:38:
  72. In file included from C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:21:
  73. In file included from C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/val.h:15:
  74. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/wire.h:340:24: error: call to implicitly-deleted copy
  75. constructor of 'boost::asio::basic_stream_socket<boost::asio::ip::tcp>'
  76. return BindingType<T>::fromWireType(wt);
  77. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  78. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:338:54: note: in instantiation of member
  79. function 'emscripten::internal::BindingType<boost::asio::basic_stream_socket<boost::asio::ip::tcp>
  80. &&>::fromWireType' requested here
  81. internal::BindingType<Args>::fromWireType(args)...
  82. ^
  83. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1194:58: note: in instantiation of member
  84. function 'emscripten::internal::Invoker<server_session *, boost::asio::basic_stream_socket<boost::asio::ip::tcp>
  85. &&, const std::__2::shared_ptr<const std::__2::basic_string<char> > &>::invoke' requested here
  86. auto invoke = &Invoker<ReturnType, Args...>::invoke;
  87. ^
  88. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1183:20: note: in instantiation of function
  89. template specialization 'emscripten::class_<server_session,
  90. emscripten::internal::NoBaseClass>::constructor<boost::asio::basic_stream_socket<boost::asio::ip::tcp> &&, const
  91. std::__2::shared_ptr<const std::__2::basic_string<char> > &, server_session *>' requested here
  92. return constructor(
  93. ^
  94. currency_converter.cpp:234:4: note: in instantiation of function template specialization
  95. 'emscripten::class_<server_session,
  96. emscripten::internal::NoBaseClass>::constructor<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, const
  97. std::__2::shared_ptr<const std::__2::basic_string<char> > &>' requested here
  98. .constructor<tcp::socket, const std::shared_ptr<const std::string>&>()
  99. ^
  100. C:/boost_1_68_0\boost/asio/basic_stream_socket.hpp:152:3: note: copy constructor is implicitly deleted because
  101. 'basic_stream_socket<boost::asio::ip::tcp>' has a user-declared move constructor
  102. basic_stream_socket(basic_stream_socket&& other)
  103. ^
  104. In file included from currency_converter.cpp:17:
  105. In file included from C:/boost_1_68_0\boost/beast/core.hpp:15:
  106. In file included from C:/boost_1_68_0\boost/beast/core/bind_handler.hpp:14:
  107. In file included from C:/boost_1_68_0\boost/beast/core/type_traits.hpp:14:
  108. In file included from C:/boost_1_68_0\boost/beast/core/file_base.hpp:14:
  109. In file included from C:/boost_1_68_0\boost/beast/core/string.hpp:15:
  110. In file included from C:/boost_1_68_0\boost/utility/string_view.hpp:22:
  111. In file included from C:/boost_1_68_0\boost/utility/string_view_fwd.hpp:21:
  112. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string:477:
  113. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string_view:176:
  114. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\__string:56:
  115. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\algorithm:643:
  116. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4271:5: error: static_assert failed due to
  117. requirement 'is_constructible<server_session>::value' "Can't construct object in make_shared"
  118. static_assert( is_constructible<_Tp, _Args...>::value, "Can't construct object in make_shared" );
  119. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  120. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4656:29: note: in instantiation of function
  121. template specialization 'std::__2::shared_ptr<server_session>::make_shared<>' requested here
  122. return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
  123. ^
  124. currency_converter.cpp:235:50: note: in instantiation of function template specialization
  125. 'std::__2::make_shared<server_session>' requested here
  126. .smart_ptr_constructor("server_session", &std::make_shared<server_session>);
  127. ^
  128. In file included from currency_converter.cpp:17:
  129. In file included from C:/boost_1_68_0\boost/beast/core.hpp:15:
  130. In file included from C:/boost_1_68_0\boost/beast/core/bind_handler.hpp:14:
  131. In file included from C:/boost_1_68_0\boost/beast/core/type_traits.hpp:14:
  132. In file included from C:/boost_1_68_0\boost/beast/core/file_base.hpp:14:
  133. In file included from C:/boost_1_68_0\boost/beast/core/string.hpp:15:
  134. In file included from C:/boost_1_68_0\boost/utility/string_view.hpp:22:
  135. In file included from C:/boost_1_68_0\boost/utility/string_view_fwd.hpp:21:
  136. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string:477:
  137. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\string_view:176:
  138. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\__string:56:
  139. In file included from C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\algorithm:643:
  140. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:2089:66: error: no matching constructor for
  141. initialization of 'server_session'
  142. _LIBCPP_INLINE_VISIBILITY constexpr __compressed_pair_elem() : __value_() {}
  143. ^
  144. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:2187:41: note: in instantiation of member function
  145. 'std::__2::__compressed_pair_elem<server_session, 1, false>::__compressed_pair_elem' requested here
  146. : _Base1(std::forward<_Tp>(__t)), _Base2() {}
  147. ^
  148. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:3613:12: note: in instantiation of function
  149. template specialization 'std::__2::__compressed_pair<std::__2::allocator<server_session>,
  150. server_session>::__compressed_pair<std::__2::allocator<server_session>, true>' requested here
  151. : __data_(_VSTD::move(__a)) {}
  152. ^
  153. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4277:26: note: in instantiation of member function
  154. 'std::__2::__shared_ptr_emplace<server_session, std::__2::allocator<server_session> >::__shared_ptr_emplace'
  155. requested here
  156. ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
  157. ^
  158. C:\Users\Osman\emsdk\emscripten\1.38.18\system\include\libcxx\memory:4656:29: note: in instantiation of function
  159. template specialization 'std::__2::shared_ptr<server_session>::make_shared<>' requested here
  160. return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
  161. ^
  162. currency_converter.cpp:235:50: note: in instantiation of function template specialization
  163. 'std::__2::make_shared<server_session>' requested here
  164. .smart_ptr_constructor("server_session", &std::make_shared<server_session>);
  165. ^
  166. currency_converter.cpp:48:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1
  167. argument, but 0 were provided
  168. class server_session : public std::enable_shared_from_this<server_session>
  169. ^
  170. currency_converter.cpp:48:7: note: candidate constructor (the implicit move constructor) not viable: requires 1
  171. argument, but 0 were provided
  172. currency_converter.cpp:74:11: note: candidate constructor not viable: requires 2 arguments, but 0 were provided
  173. explicit server_session(tcp::socket socket, const std::shared_ptr<const std::string>& doc_root)
  174. ^
  175. In file included from currency_converter.cpp:38:
  176. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1393:26: error: implicit instantiation of
  177. undefined template 'emscripten::internal::GetterPolicy<std::__2::map<std::__2::map<std::__2::basic_string<char>,
  178. std::__2::basic_string<char>, std::__2::less<std::__2::basic_string<char> >,
  179. std::__2::allocator<std::__2::pair<const std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  180. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  181. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  182. bool, long long, unsigned long long, double, std::allocator, adl_serializer> >,
  183. std::__2::less<std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  184. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  185. std::__2::basic_string<char>, std::__2::basic_string<char> > > > >, std::__2::allocator<std::__2::pair<const
  186. std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  187. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  188. std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  189. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  190. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  191. bool, long long, unsigned long long, double, std::allocator, adl_serializer> > > > > cache_storage::*>'
  192. auto gter = &GP::template get<ClassType>;
  193. ^
  194. currency_converter.cpp:244:4: note: in instantiation of function template specialization
  195. 'emscripten::class_<cache_storage,
  196. emscripten::internal::NoBaseClass>::property<std::__2::map<std::__2::map<std::__2::basic_string<char>,
  197. std::__2::basic_string<char>, std::__2::less<std::__2::basic_string<char> >,
  198. std::__2::allocator<std::__2::pair<const std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  199. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  200. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  201. bool, long long, unsigned long long, double, std::allocator, adl_serializer> >,
  202. std::__2::less<std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  203. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  204. std::__2::basic_string<char>, std::__2::basic_string<char> > > > >, std::__2::allocator<std::__2::pair<const
  205. std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  206. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  207. std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  208. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  209. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  210. bool, long long, unsigned long long, double, std::allocator, adl_serializer> > > > > cache_storage::*,
  211. std::__2::map<std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  212. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  213. std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  214. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  215. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  216. bool, long long, unsigned long long, double, std::allocator, adl_serializer> >,
  217. std::__2::less<std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  218. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  219. std::__2::basic_string<char>, std::__2::basic_string<char> > > > >, std::__2::allocator<std::__2::pair<const
  220. std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  221. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  222. std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  223. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  224. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  225. bool, long long, unsigned long long, double, std::allocator, adl_serializer> > > > > &(cache_storage::*)()>'
  226. requested here
  227. .property("m_cache", &cache_storage::m_cache, &cache_storage::get_cache)
  228. ^
  229. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:569:16: note: template is declared here
  230. struct GetterPolicy;
  231. ^
  232. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1394:26: error: implicit instantiation of
  233. undefined template 'emscripten::internal::SetterPolicy<std::__2::map<std::__2::map<std::__2::basic_string<char>,
  234. std::__2::basic_string<char>, std::__2::less<std::__2::basic_string<char> >,
  235. std::__2::allocator<std::__2::pair<const std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  236. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  237. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  238. bool, long long, unsigned long long, double, std::allocator, adl_serializer> >,
  239. std::__2::less<std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  240. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  241. std::__2::basic_string<char>, std::__2::basic_string<char> > > > >, std::__2::allocator<std::__2::pair<const
  242. std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  243. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  244. std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  245. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  246. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  247. bool, long long, unsigned long long, double, std::allocator, adl_serializer> > > > > &(cache_storage::*)()>'
  248. auto ster = &SP::template set<ClassType>;
  249. ^
  250. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:608:16: note: template is declared here
  251. struct SetterPolicy;
  252. ^
  253. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1399:33: error: implicit instantiation of
  254. undefined template 'emscripten::internal::GetterPolicy<std::__2::map<std::__2::map<std::__2::basic_string<char>,
  255. std::__2::basic_string<char>, std::__2::less<std::__2::basic_string<char> >,
  256. std::__2::allocator<std::__2::pair<const std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  257. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  258. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  259. bool, long long, unsigned long long, double, std::allocator, adl_serializer> >,
  260. std::__2::less<std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  261. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  262. std::__2::basic_string<char>, std::__2::basic_string<char> > > > >, std::__2::allocator<std::__2::pair<const
  263. std::__2::map<std::__2::basic_string<char>, std::__2::basic_string<char>,
  264. std::__2::less<std::__2::basic_string<char> >, std::__2::allocator<std::__2::pair<const
  265. std::__2::basic_string<char>, std::__2::basic_string<char> > > >,
  266. std::__2::pair<std::__2::chrono::time_point<std::__2::chrono::steady_clock, std::__2::chrono::duration<long long,
  267. std::__2::ratio<1, 1000000000> > >, nlohmann::basic_json<std::map, std::vector, std::__2::basic_string<char>,
  268. bool, long long, unsigned long long, double, std::allocator, adl_serializer> > > > > cache_storage::*>'
  269. TypeID<typename GP::ReturnType>::get(),
  270. ^
  271. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:569:16: note: template is declared here
  272. struct GetterPolicy;
  273. ^
  274. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1393:26: error: implicit instantiation of
  275. undefined template 'emscripten::internal::GetterPolicy<std::__2::chrono::duration<long long, std::__2::ratio<1, 1>
  276. > cache_storage::*>'
  277. auto gter = &GP::template get<ClassType>;
  278. ^
  279. currency_converter.cpp:245:4: note: in instantiation of function template specialization
  280. 'emscripten::class_<cache_storage, emscripten::internal::NoBaseClass>::property<std::__2::chrono::duration<long
  281. long, std::__2::ratio<1, 1> > cache_storage::*, const std::__2::chrono::duration<long long, std::__2::ratio<1, 1>
  282. > &(cache_storage::*)() const>' requested here
  283. .property("m_duration", &cache_storage::m_duration, &cache_storage::get_duration)
  284. ^
  285. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:569:16: note: template is declared here
  286. struct GetterPolicy;
  287. ^
  288. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1394:26: error: implicit instantiation of
  289. undefined template 'emscripten::internal::SetterPolicy<const std::__2::chrono::duration<long long,
  290. std::__2::ratio<1, 1> > &(cache_storage::*)() const>'
  291. auto ster = &SP::template set<ClassType>;
  292. ^
  293. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:608:16: note: template is declared here
  294. struct SetterPolicy;
  295. ^
  296. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:1399:33: error: implicit instantiation of
  297. undefined template 'emscripten::internal::GetterPolicy<std::__2::chrono::duration<long long, std::__2::ratio<1, 1>
  298. > cache_storage::*>'
  299. TypeID<typename GP::ReturnType>::get(),
  300. ^
  301. C:/Users/Osman/emsdk/emscripten/1.38.18/system/include\emscripten/bind.h:569:16: note: template is declared here
  302. struct GetterPolicy;
  303. ^
  304. 4 warnings and 15 errors generated.
  305. ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
Add Comment
Please, Sign In to add comment