Linux build fail with boost .... 1.55 and 1.66 #46

Open
opened 2018-07-23 21:49:00 +00:00 by red0bear · 0 comments
red0bear commented 2018-07-23 21:49:00 +00:00 (Migrated from github.com)

rpcclient.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
rpcclient.cpp:44:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’

rpcclient.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
rpcclient.cpp:44:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
ssl::context context(io_service, ssl::context::sslv23);
^
In file included from /usr/include/boost/asio/ssl/context.hpp:757:0,
from /usr/include/boost/asio/ssl.hpp:18,
from rpcprotocol.h:17,
from rpcclient.cpp:9:
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&)
context::context(context&& other)
^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)
context::context(context::method m)
^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided
In file included from util.h:16:0,
from rpcclient.cpp:10:
tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int)’:
tinyformat.h:785:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:786:9: note: here
case 'x': case 'p':
^~~~
tinyformat.h:791:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:792:9: note: here
case 'e':
^~~~
tinyformat.h:797:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:798:9: note: here
case 'f':
^~~~
tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:803:9: note: here
case 'g':
^~~~
make: *** [makefile.unix:178: obj/rpcclient.o] Error 1

rpcclient.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’: rpcclient.cpp:44:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ rpcclient.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’: rpcclient.cpp:44:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ ssl::context context(io_service, ssl::context::sslv23); ^ In file included from /usr/include/boost/asio/ssl/context.hpp:757:0, from /usr/include/boost/asio/ssl.hpp:18, from rpcprotocol.h:17, from rpcclient.cpp:9: /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&) context::context(context&& other) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) context::context(context::method m) ^~~~~~~ /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided In file included from util.h:16:0, from rpcclient.cpp:10: tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int)’: tinyformat.h:785:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:786:9: note: here case 'x': case 'p': ^~~~ tinyformat.h:791:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:792:9: note: here case 'e': ^~~~ tinyformat.h:797:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:798:9: note: here case 'f': ^~~~ tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:803:9: note: here case 'g': ^~~~ make: *** [makefile.unix:178: obj/rpcclient.o] Error 1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Core-Wallets/eMark#46
No description provided.