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.
http://think-async.com/Urdl/
Other
110 stars 46 forks source link

Can't compile urdl.cpp #2

Closed ruslo closed 10 years ago

ruslo commented 10 years ago

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

chriskohlhoff commented 10 years ago

Fixed by 9f7ee4570d2a3d8948b7e4e0c94a15cdad0da7b5.