Subject: [Boost-bugs] [Boost C++ Libraries] #6837: asio doesn't compile on OpenSUSE 11.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-27 02:08:44
#6837: asio doesn't compile on OpenSUSE 11.4
--------------------------------------------------+-------------------------
Reporter: reza.jahanbakhshi@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.48.0 | Severity: Problem
Keywords: |
--------------------------------------------------+-------------------------
Compiling a trivial program fails on OpenSUSE 11.4:
#include <boost/asio.hpp>
int main(void) {
return 0;
}
In file included from
/usr/local/include/boost/asio/detail/reactor.hpp:21:0,
from
/usr/local/include/boost/asio/detail/impl/task_io_service.ipp:25,
from
/usr/local/include/boost/asio/detail/task_io_service.hpp:180,
from
/usr/local/include/boost/asio/impl/io_service.hpp:64,
from /usr/local/include/boost/asio/io_service.hpp:767,
from
/usr/local/include/boost/asio/basic_io_object.hpp:19,
from /usr/local/include/boost/asio/basic_socket.hpp:19,
from
/usr/local/include/boost/asio/basic_datagram_socket.hpp:20,
from /usr/local/include/boost/asio.hpp:20,
from function_proxy_test/tcp_server.hpp:9,
from function_proxy_test/test_server.cpp:4:
/usr/local/include/boost/asio/detail/epoll_reactor.hpp: In member function
âvoid
boost::asio::detail::epoll_reactor::descriptor_state::set_ready_events(uint32_t)â:
/usr/local/include/boost/asio/detail/epoll_reactor.hpp:68:46: error:
âtask_result_â was not declared in this scope
In file included from
/usr/local/include/boost/asio/detail/epoll_reactor.hpp:242:0,
from /usr/local/include/boost/asio/detail/reactor.hpp:21,
from
/usr/local/include/boost/asio/detail/impl/task_io_service.ipp:25,
from
/usr/local/include/boost/asio/detail/task_io_service.hpp:180,
from
/usr/local/include/boost/asio/impl/io_service.hpp:64,
from /usr/local/include/boost/asio/io_service.hpp:767,
from
/usr/local/include/boost/asio/basic_io_object.hpp:19,
from /usr/local/include/boost/asio/basic_socket.hpp:19,
from
/usr/local/include/boost/asio/basic_datagram_socket.hpp:20,
from /usr/local/include/boost/asio.hpp:20,
from function_proxy_test/tcp_server.hpp:9,
from function_proxy_test/test_server.cpp:4:
/usr/local/include/boost/asio/detail/impl/epoll_reactor.ipp: In
constructor
âboost::asio::detail::epoll_reactor::descriptor_state::descriptor_state()â:
/usr/local/include/boost/asio/detail/impl/epoll_reactor.ipp:609:60: error:
no matching function for call to
âboost::asio::detail::task_io_service_operation::task_io_service_operation(void
(*)(boost::asio::detail::io_service_impl*,
boost::asio::detail::operation*, const boost::system::error_code&,
size_t))â
/usr/local/include/boost/asio/detail/task_io_service_operation.hpp:49:3:
note: candidates are:
boost::asio::detail::task_io_service_operation::task_io_service_operation(void
(*)(boost::asio::detail::task_io_service*,
boost::asio::detail::task_io_service_operation*,
boost::system::error_code, size_t)) <near match>
/usr/local/include/boost/asio/detail/task_io_service_operation.hpp:32:1:
note:
boost::asio::detail::task_io_service_operation::task_io_service_operation(const
boost::asio::detail::task_io_service_operation&)
/usr/local/include/boost/asio/detail/impl/epoll_reactor.ipp: In static
member function âstatic void
boost::asio::detail::epoll_reactor::descriptor_state::do_complete(boost::asio::detail::io_service_impl*,
boost::asio::detail::operation*, const boost::system::error_code&,
size_t)â:
/usr/local/include/boost/asio/detail/impl/epoll_reactor.ipp:655:33: error:
no matching function for call to
âboost::asio::detail::task_io_service_operation::complete(boost::asio::detail::io_service_impl&,
const boost::system::error_code&, int)â
/usr/local/include/boost/asio/detail/task_io_service_operation.hpp:34:8:
note: candidate is: void
boost::asio::detail::task_io_service_operation::complete(boost::asio::detail::task_io_service&)
In file included from
/usr/local/include/boost/asio/detail/strand_service.hpp:137:0,
from /usr/local/include/boost/asio/strand.hpp:20,
from /usr/local/include/boost/asio.hpp:90,
from function_proxy_test/tcp_server.hpp:9,
from function_proxy_test/test_server.cpp:4:
/usr/local/include/boost/asio/detail/impl/strand_service.hpp: In
constructor
âboost::asio::detail::strand_service::strand_impl::strand_impl()â:
/usr/local/include/boost/asio/detail/impl/strand_service.hpp:32:18: error:
no matching function for call to
âboost::asio::detail::task_io_service_operation::task_io_service_operation(void
(*)(boost::asio::detail::io_service_impl*,
boost::asio::detail::operation*, const boost::system::error_code&,
size_t))â
/usr/local/include/boost/asio/detail/task_io_service_operation.hpp:49:3:
note: candidates are:
boost::asio::detail::task_io_service_operation::task_io_service_operation(void
(*)(boost::asio::detail::task_io_service*,
boost::asio::detail::task_io_service_operation*,
boost::system::error_code, size_t)) <near match>
/usr/local/include/boost/asio/detail/task_io_service_operation.hpp:32:1:
note:
boost::asio::detail::task_io_service_operation::task_io_service_operation(const
boost::asio::detail::task_io_service_operation&)
/usr/local/include/boost/asio/detail/impl/strand_service.hpp: In member
function âvoid
boost::asio::detail::strand_service::dispatch(boost::asio::detail::strand_service::strand_impl*&,
Handler)â:
/usr/local/include/boost/asio/detail/impl/strand_service.hpp:65:20: error:
âfullâ is not a member of âboost::asio::detail::fenced_blockâ
In file included from
/usr/local/include/boost/asio/detail/strand_service.hpp:139:0,
from /usr/local/include/boost/asio/strand.hpp:20,
from /usr/local/include/boost/asio.hpp:90,
from function_proxy_test/tcp_server.hpp:9,
from function_proxy_test/test_server.cpp:4:
/usr/local/include/boost/asio/detail/impl/strand_service.ipp: In member
function âbool
boost::asio::detail::strand_service::do_dispatch(boost::asio::detail::strand_service::strand_impl*&,
boost::asio::detail::operation*)â:
/usr/local/include/boost/asio/detail/impl/strand_service.ipp:92:35: error:
âclass boost::asio::detail::io_service_implâ has no member named
âcan_dispatchâ
/usr/local/include/boost/asio/detail/impl/strand_service.ipp: In static
member function âstatic void
boost::asio::detail::strand_service::do_complete(boost::asio::detail::io_service_impl*,
boost::asio::detail::operation*, const boost::system::error_code&,
size_t)â:
/usr/local/include/boost/asio/detail/impl/strand_service.ipp:160:32:
error: no matching function for call to
âboost::asio::detail::task_io_service_operation::complete(boost::asio::detail::io_service_impl&,
const boost::system::error_code&, int)â
/usr/local/include/boost/asio/detail/task_io_service_operation.hpp:34:8:
note: candidate is: void
boost::asio::detail::task_io_service_operation::complete(boost::asio::detail::task_io_service&)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6837> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC