➜ build git:(master) ✗ make
/usr/local/Cellar/cmake/3.6.2/bin/cmake -H/Users/zcourts/projects/silicon/tests -B/Users/zcourts/projects/silicon/tests/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_progress_start /Users/zcourts/projects/silicon/tests/build/CMakeFiles /Users/zcourts/projects/silicon/tests/build/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/microhttpd_hello_world.dir/build.make CMakeFiles/microhttpd_hello_world.dir/depend
cd /Users/zcourts/projects/silicon/tests/build && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/zcourts/projects/silicon/tests /Users/zcourts/projects/silicon/tests /Users/zcourts/projects/silicon/tests/build /Users/zcourts/projects/silicon/tests/build /Users/zcourts/projects/silicon/tests/build/CMakeFiles/microhttpd_hello_world.dir/DependInfo.cmake --color=
Scanning dependencies of target microhttpd_hello_world
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/microhttpd_hello_world.dir/build.make CMakeFiles/microhttpd_hello_world.dir/build
[ 2%] Building CXX object CMakeFiles/microhttpd_hello_world.dir/microhttpd_hello_world.cc.o
clang++ -I/Users/zcourts/projects/silicon/tests/.. -I/Users/zcourts/local/include -I/Users/zcourts/projects/silicon/tests/../third_party/mimosa -I/Users/zcourts/projects/silicon/tests/../third_party/websocketpp -I/Users/zcourts/projects/silicon/tests/../third_party/install/include -I/usr/local/include -std=c++1y -std=c++14 -ftemplate-depth=1024 -g -o CMakeFiles/microhttpd_hello_world.dir/microhttpd_hello_world.cc.o -c /Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc
In file included from /Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc:2:
/Users/zcourts/projects/silicon/tests/../silicon/backends/mhd.hh:456:15: warning: Value MHD_USE_EPOLL_LINUX_ONLY is deprecated, use MHD_USE_EPOLL [-W#pragma-messages]
flags = MHD_USE_EPOLL_LINUX_ONLY;
^
/usr/local/include/microhttpd.h:626:3: note: expanded from macro 'MHD_USE_EPOLL_LINUX_ONLY'
_MHD_DEPR_IN_MACRO("Value MHD_USE_EPOLL_LINUX_ONLY is deprecated, use MHD_USE_EPOLL") \
^
/usr/local/include/microhttpd.h:221:33: note: expanded from macro '_MHD_DEPR_IN_MACRO'
#define _MHD_DEPR_IN_MACRO(msg) _MHD_DEPR_MACRO(msg)
^
/usr/local/include/microhttpd.h:220:30: note: expanded from macro '_MHD_DEPR_MACRO'
#define _MHD_DEPR_MACRO(msg) _MHD_GCC_PRAG(GCC warning msg)
^
/usr/local/include/microhttpd.h:214:26: note: expanded from macro '_MHD_GCC_PRAG'
#define _MHD_GCC_PRAG(x) _Pragma (#x)
^
<scratch space>:196:6: note: expanded from here
GCC warning "Value MHD_USE_EPOLL_LINUX_ONLY is deprecated, use MHD_USE_EPOLL"
^
In file included from /Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc:4:
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:276:43: error: base specifier must name a class
struct client_method_with_root : public R,
~~~~~~~^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:286:12: note: in instantiation of template class 'sl::client_method_with_root<int,
iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >, iod::sio<s::_message_t::variable_type<char const
(&)[13], iod::sio<> > > >, iod::sio<> > > >' requested here
return client_method_with_root<R, M>(root, methods);
^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:321:16: note: in instantiation of function template specialization 'sl::make_client_methods_with_root<int,
iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >, iod::sio<s::_message_t::variable_type<char const
(&)[13], iod::sio<> > > >, iod::sio<> > > >' requested here
return make_client_methods_with_root(res.root, res.methods);
^
/usr/local/include/iod/utils.hh:24:14: note: in instantiation of function template specialization 'sl::process_roots(iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get,
std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >, iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >)::(anonymous class)::operator()<iod::sio<s::_root_t::variable_type<int &, iod::sio<> >,
s::_methods_t::variable_type<iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >,
iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >, iod::sio<> > > >' requested here
return _else(std::forward<A>(args)...);
^
/usr/local/include/iod/utils.hh:31:12: note: in instantiation of function template specialization 'iod::static_if_<false>::operator()<(lambda at /Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:317:7), (lambda at
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:320:7), iod::sio<s::_root_t::variable_type<int &, iod::sio<> >,
s::_methods_t::variable_type<iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >,
iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >, iod::sio<> > > &>' requested here
return static_if_<C>()(_if, _else, std::forward<A>(args)...);
^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:316:12: note: in instantiation of function template specialization 'iod::static_if<false, (lambda at /Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:317:7), (lambda at
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:320:7), iod::sio<s::_root_t::variable_type<int &, iod::sio<> >,
s::_methods_t::variable_type<iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >,
iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >, iod::sio<> > > &>' requested here
return static_if<std::is_same<decltype(res.root), int>::value>(
^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:298:63: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
D(m.symbol() = process_roots(m.value()))));
^
/usr/local/include/iod/foreach.hh:347:16: note: in instantiation of function template specialization 'iod::sio_iterate_loop<0, 1, (lambda at /Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:292:71),
iod::sio<s::_http_get_t::variable_type<iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >,
iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >, iod::sio<> > >, iod::sio<s::_root_t::variable_type<int, iod::sio<> >, s::_methods_t::variable_type<iod::sio<>, iod::sio<> > > >' requested here
return sio_iterate_loop<0, size>(0, f, o_, init_);
^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:292:69: note: in instantiation of function template specialization
'iod::sio_iterate_caller<iod::sio<s::_http_get_t::variable_type<iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>,
iod::sio<> >, iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >, iod::sio<> > >, iod::sio<s::_root_t::variable_type<int, iod::sio<> >, s::_methods_t::variable_type<iod::sio<>, iod::sio<> > > >::operator|<(lambda at
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:292:71)>' requested here
auto res = sio_iterate(o, D(_root = int(), _methods = sio<>())) | [] (auto m, auto prev)
^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:363:12: note: in instantiation of function template specialization
'sl::process_roots<iod::sio<s::_http_get_t::variable_type<iod::sio<s::_test_t::variable_type<sl::generic_client_call<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >, sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>,
iod::sio<> >, iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > > >, iod::sio<> > >, iod::sio<> > > >' requested here
return process_roots(tu2);
^
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:388:12: note: in instantiation of function template specialization 'sl::generate_client_methods<std::__1::shared_ptr<sl::libcurl_http_client<s::_json_t> >,
std::__1::tuple<sl::api_node<sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >, sl::procedure<sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >, iod::sio<>,
iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > >, (lambda at /Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc:14:17)> > >, sl::http_route<sl::http_verb_any, std::__1::tuple<>, iod::sio<>, iod::sio<>, iod::sio<> > >' requested
here
return generate_client_methods(c, api, http_route<>());
^
/Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc:45:12: note: in instantiation of function template specialization 'sl::libcurl_json_client<std::__1::tuple<sl::api_node<sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>,
iod::sio<> >, sl::procedure<sl::http_route<sl::http_get, std::__1::tuple<s::_test_t>, iod::sio<>, iod::sio<>, iod::sio<> >, iod::sio<>, iod::sio<s::_message_t::variable_type<char const (&)[13], iod::sio<> > >,
(lambda at /Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc:14:17)> > >>' requested here
auto c = libcurl_json_client(hello_api, "127.0.0.1", 12345);
^
In file included from /Users/zcourts/projects/silicon/tests/microhttpd_hello_world.cc:4:
/Users/zcourts/projects/silicon/tests/../silicon/clients/libcurl_client.hh:279:11: error: type 'int' cannot be used prior to '::' because it has no members
using R::operator();
^
1 warning and 2 errors generated.
make[2]: *** [CMakeFiles/microhttpd_hello_world.dir/microhttpd_hello_world.cc.o] Error 1
make[1]: *** [CMakeFiles/microhttpd_hello_world.dir/all] Error 2
make: *** [all] Error 2