So URDL (https://github.com/chriskohlhoff/urdl ) is not part of boost, I
know. But a nasty MSVC 2013 compiler error prevents the most simple code to
compile.
#define _WIN32_WINNT 0x0601
#define URDL_HEADER_ONLY 1
#define URDL_DISABLE_SSL 1
#include
#include
#include <iostream>
#include <fstream>
int main(int argc, char* argv[])
{
return 0;
}
The fix is relatively simple but it would change code is asio's
handler_invoke_helpers.hpp. Basically change:
using boost::asio::asio_handler_invoke;
asio_handler_invoke(function, boost::asio::detail::addressof(context));
to
boost::asio::asio_handler_invoke(function,
boost::asio::detail::addressof(context));
I'm using VC2013. I'm using master branch of boost.
Regards,
Christian