-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Description
Environment:
Linux 4.4.38 x86_64
gcc-5.3.0
glibc-2.23
Libraries:
boost-1.59.0
libwebsocketpp-0.7.0
msgpack-c-2.0.0
openssl-1.0.2j
Build settings:
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="-O2 -fPIC" \
-DCMAKE_CXX_FLAGS:STRING="-O2 -fPIC -std=c++11" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
Error:
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:45:87: error: no matching function for call to 'msgpack::v2::object::object(std::array<msgpack::v2::object, 0ul>, std::nullptr_t)'
static const msgpack::object EMPTY_ARGUMENTS(std::array<msgpack::object, 0>(), nullptr);
^
In file included from /usr/include/msgpack/object_fwd.hpp:17:0,
from /usr/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14,
from /usr/include/msgpack/adaptor/adaptor_base_decl.hpp:13,
from /usr/include/msgpack/adaptor/adaptor_base.hpp:13,
from /usr/include/msgpack/v1/object_decl.hpp:16,
from /usr/include/msgpack/object_decl.hpp:14,
from /usr/include/msgpack/object.hpp:13,
from /usr/include/msgpack.hpp:10,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/object_fwd.hpp:49:5: note: candidate: template<class T> msgpack::v2::object::object(const T&, msgpack::v1::zone&)
object(const T& v, msgpack::zone& z):v1::object(v, z) {}
^
/usr/include/msgpack/v2/object_fwd.hpp:49:5: note: template argument deduction/substitution failed:
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:45:87: note: cannot convert 'nullptr' (type 'std::nullptr_t') to type 'msgpack::v1::zone&'
static const msgpack::object EMPTY_ARGUMENTS(std::array<msgpack::object, 0>(), nullptr);
^
In file included from /usr/include/msgpack/object_fwd.hpp:17:0,
from /usr/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14,
from /usr/include/msgpack/adaptor/adaptor_base_decl.hpp:13,
from /usr/include/msgpack/adaptor/adaptor_base.hpp:13,
from /usr/include/msgpack/v1/object_decl.hpp:16,
from /usr/include/msgpack/object_decl.hpp:14,
from /usr/include/msgpack/object.hpp:13,
from /usr/include/msgpack.hpp:10,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/object_fwd.hpp:35:14: note: candidate: template<class T> msgpack::v2::object::object(const T&)
explicit object(const T& v) {
^
/usr/include/msgpack/v2/object_fwd.hpp:35:14: note: template argument deduction/substitution failed:
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:45:87: note: candidate expects 1 argument, 2 provided
static const msgpack::object EMPTY_ARGUMENTS(std::array<msgpack::object, 0>(), nullptr);
^
In file included from /usr/include/msgpack/object_fwd.hpp:17:0,
from /usr/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14,
from /usr/include/msgpack/adaptor/adaptor_base_decl.hpp:13,
from /usr/include/msgpack/adaptor/adaptor_base.hpp:13,
from /usr/include/msgpack/v1/object_decl.hpp:16,
from /usr/include/msgpack/object_decl.hpp:14,
from /usr/include/msgpack/object.hpp:13,
from /usr/include/msgpack.hpp:10,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/object_fwd.hpp:25:5: note: candidate: msgpack::v2::object::object(const msgpack::v1::object&)
object(v1::object const& o):v1::object(o) {}
^
/usr/include/msgpack/v2/object_fwd.hpp:25:5: note: candidate expects 1 argument, 2 provided
/usr/include/msgpack/v2/object_fwd.hpp:24:5: note: candidate: msgpack::v2::object::object()
object() {}
^
/usr/include/msgpack/v2/object_fwd.hpp:24:5: note: candidate expects 0 arguments, 2 provided
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate: constexpr msgpack::v2::object::object(const msgpack::v2::object&)
struct object : v1::object {
^
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate expects 1 argument, 2 provided
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate: constexpr msgpack::v2::object::object(msgpack::v2::object&&)
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate expects 1 argument, 2 provided
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:46:77: error: no matching function for call to 'msgpack::v2::object::object(autobahn::wamp_kw_arguments, std::nullptr_t)'
static const msgpack::object EMPTY_KW_ARGUMENTS(wamp_kw_arguments(), nullptr);
^
In file included from /usr/include/msgpack/object_fwd.hpp:17:0,
from /usr/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14,
from /usr/include/msgpack/adaptor/adaptor_base_decl.hpp:13,
from /usr/include/msgpack/adaptor/adaptor_base.hpp:13,
from /usr/include/msgpack/v1/object_decl.hpp:16,
from /usr/include/msgpack/object_decl.hpp:14,
from /usr/include/msgpack/object.hpp:13,
from /usr/include/msgpack.hpp:10,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/object_fwd.hpp:49:5: note: candidate: template<class T> msgpack::v2::object::object(const T&, msgpack::v1::zone&)
object(const T& v, msgpack::zone& z):v1::object(v, z) {}
^
/usr/include/msgpack/v2/object_fwd.hpp:49:5: note: template argument deduction/substitution failed:
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:46:77: note: cannot convert 'nullptr' (type 'std::nullptr_t') to type 'msgpack::v1::zone&'
static const msgpack::object EMPTY_KW_ARGUMENTS(wamp_kw_arguments(), nullptr);
^
In file included from /usr/include/msgpack/object_fwd.hpp:17:0,
from /usr/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14,
from /usr/include/msgpack/adaptor/adaptor_base_decl.hpp:13,
from /usr/include/msgpack/adaptor/adaptor_base.hpp:13,
from /usr/include/msgpack/v1/object_decl.hpp:16,
from /usr/include/msgpack/object_decl.hpp:14,
from /usr/include/msgpack/object.hpp:13,
from /usr/include/msgpack.hpp:10,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/object_fwd.hpp:35:14: note: candidate: template<class T> msgpack::v2::object::object(const T&)
explicit object(const T& v) {
^
/usr/include/msgpack/v2/object_fwd.hpp:35:14: note: template argument deduction/substitution failed:
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:46:77: note: candidate expects 1 argument, 2 provided
static const msgpack::object EMPTY_KW_ARGUMENTS(wamp_kw_arguments(), nullptr);
^
In file included from /usr/include/msgpack/object_fwd.hpp:17:0,
from /usr/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14,
from /usr/include/msgpack/adaptor/adaptor_base_decl.hpp:13,
from /usr/include/msgpack/adaptor/adaptor_base.hpp:13,
from /usr/include/msgpack/v1/object_decl.hpp:16,
from /usr/include/msgpack/object_decl.hpp:14,
from /usr/include/msgpack/object.hpp:13,
from /usr/include/msgpack.hpp:10,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/object_fwd.hpp:25:5: note: candidate: msgpack::v2::object::object(const msgpack::v1::object&)
object(v1::object const& o):v1::object(o) {}
^
/usr/include/msgpack/v2/object_fwd.hpp:25:5: note: candidate expects 1 argument, 2 provided
/usr/include/msgpack/v2/object_fwd.hpp:24:5: note: candidate: msgpack::v2::object::object()
object() {}
^
/usr/include/msgpack/v2/object_fwd.hpp:24:5: note: candidate expects 0 arguments, 2 provided
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate: constexpr msgpack::v2::object::object(const msgpack::v2::object&)
struct object : v1::object {
^
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate expects 1 argument, 2 provided
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate: constexpr msgpack::v2::object::object(msgpack::v2::object&&)
/usr/include/msgpack/v2/object_fwd.hpp:23:8: note: candidate expects 1 argument, 2 provided
In file included from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_rawsocket_transport.hpp:230:0,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_tcp_transport.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:43,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_rawsocket_transport.ipp: In member function 'void autobahn::wamp_rawsocket_transport<Socket>::receive_message_body(const boost::system::error_code&, std::size_t)':
/tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_rawsocket_transport.ipp:355:47: error: no matching function for call to 'msgpack::v2::unpacker::next(msgpack::v1::unpacked*)'
while (m_message_unpacker.next(&result)) {
^
In file included from /usr/include/msgpack/unpack.hpp:16:0,
from /usr/include/msgpack.hpp:14,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_arguments.hpp:35,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/wamp_event.hpp:34,
from /tmp/SBo/autobahn-cpp-0.2.1/autobahn/autobahn.hpp:40,
from /tmp/SBo/autobahn-cpp-0.2.1/examples/caller.cpp:33:
/usr/include/msgpack/v2/unpack.hpp:1320:13: note: candidate: bool msgpack::v2::unpacker::next(msgpack::v1::object_handle&, bool&)
inline bool unpacker::next(msgpack::object_handle& result, bool& referenced) {
^
/usr/include/msgpack/v2/unpack.hpp:1320:13: note: candidate expects 2 arguments, 1 provided
/usr/include/msgpack/v2/unpack.hpp:1335:13: note: candidate: bool msgpack::v2::unpacker::next(msgpack::v1::object_handle&)
inline bool unpacker::next(msgpack::object_handle& result) {
^
/usr/include/msgpack/v2/unpack.hpp:1335:13: note: no known conversion for argument 1 from 'msgpack::v1::unpacked* {aka msgpack::v1::object_handle*}' to 'msgpack::v1::object_handle&'
examples/CMakeFiles/caller.dir/build.make:62: recipe for target 'examples/CMakeFiles/caller.dir/caller.cpp.o' failed
make[2]: *** [examples/CMakeFiles/caller.dir/caller.cpp.o] Error 1
CMakeFiles/Makefile2:101: recipe for target 'examples/CMakeFiles/caller.dir/all' failed
make[1]: *** [examples/CMakeFiles/caller.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Metadata
Metadata
Assignees
Labels
No labels