chriskohlhoff / urdl

Urdl C++ Library - Urdl is a cross-platform C++ library for downloading web content using a URL. It provides an easy-to-use extension to standard C++ iostreams and an asynchronous interface for use with Boost.Asio.

Home Page:http://think-async.com/Urdl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile urdl.cpp

ruslo opened this issue · comments

clang++ -I./include -I${BOOST_ROOT}/include -c src/urdl.cpp

Error:

In file included from src/urdl.cpp:8:
In file included from ./include/urdl/impl/istreambuf.ipp:15:
In file included from .../include/boost/asio/io_service.hpp:24:
In file included from .../include/boost/asio/detail/wrapped_handler.hpp:18:
In file included from .../include/boost/asio/detail/bind_handler.hpp:21:
.../include/boost/asio/detail/handler_invoke_helpers.hpp:37:3: error: call to 'asio_handler_invoke' is
      ambiguous
  asio_handler_invoke(function, boost::asio::detail::addressof(context));
  ^~~~~~~~~~~~~~~~~~~

Full error log: http://pastebin.com/RTxfkJvE
boost 1.55