Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors VS2013 with ASIO standalone #448

Open
mjsp opened this issue Jul 15, 2015 · 1 comment
Open

Compile errors VS2013 with ASIO standalone #448

mjsp opened this issue Jul 15, 2015 · 1 comment

Comments

@mjsp
Copy link

mjsp commented Jul 15, 2015

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.

@zaphoyd
Copy link
Owner

zaphoyd commented Aug 20, 2015

I've pushed an update to the develop branch that may address this. I'll do some more testing, but if you are able to as well that would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants