Skip to content

Compile errors VS2013 with ASIO standalone #448

Open
@mjsp

Description

@mjsp

Fabulous library.
After defining the necessary macros for asio-standalone compilation, I had two issues:

transport/asio/security/tls.hpp still referred to the boost-specific error code:
'lib::error_code translate_ec(boost::system::error_code ec) {'
Changing 'boost::system::error_code' to 'lib::asio::error_code' resolves this for me.

common/asio_ssl.hpp refers to 'asio/asio/ssl.hpp':

ifdef ASIO_STANDALONE

#include <asio/asio/ssl.hpp>

but I believe this needs to be 'asio/ssl.hpp', consistent with everywhere else.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions