Adam Crain
2013-07-27 22:27:51 UTC
Hi,
I am looking to move opendnp3 (dnp3.github.io) from BoostASIO to the header
only distribution of ASIO. I have a few questions about the status of ASIO.
1) I checked out the most recent and the 1.8.3 tag
In 1.8.3, it looks like the boost headers version.hpp/config.hpp are still
required to be present.
On master, I got a bit further. I started adding preprocessor defines as
boost headers were missing:
ASIO_STANDALONE
ASIO_HAS_STD_ADDRESSOF
ASIO_HAS_VARIADIC_TEMPLATES
ASIO_HAS_CSTDINT
_WIN32_WINNT=0x0501
ASIO_HAS_STD_TYPE_TRAITS
ASIO_HAS_STD_FUNCTION
I'm using VS 2012 btw. I finally encountered an issue where I didn't know
how to proceed:
1> Demo.cpp
1>c:\users\jadamcrain\documents\github\asio\asio\include\asio\basic_socket_streambuf.hpp(120):
error C2143: syntax error : missing ';' before '<'
1>
c:\users\jadamcrain\documents\github\asio\asio\include\asio\basic_socket_streambuf.hpp(565)
: see reference to class template instantiation
'asio::basic_socket_streambuf<Protocol,StreamSocketService,Time,TimeTraits,TimerService>'
being compiled
I went poking through the commit history and noticed that Chris Kohlhoff
said that this was only testing on linux/osx:
https://github.com/chriskohlhoff/asio/commit/5a083802f04de71f71fe2e8de1c9be41b3e64a6a
Has anyone had any success with boost-independent implementation on Windows?
Regards,
Adam
--
J Adam Crain
Owner - Automatak <http://www.automatak.com>, LLC
pub 4096R/E2984A0C
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9B78643BE2984A0C>
2013-05-03 John Adam Crain (Business PGP key)
<***@automatak.com>
<http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x9B78643BE2984A0C>
I am looking to move opendnp3 (dnp3.github.io) from BoostASIO to the header
only distribution of ASIO. I have a few questions about the status of ASIO.
1) I checked out the most recent and the 1.8.3 tag
In 1.8.3, it looks like the boost headers version.hpp/config.hpp are still
required to be present.
On master, I got a bit further. I started adding preprocessor defines as
boost headers were missing:
ASIO_STANDALONE
ASIO_HAS_STD_ADDRESSOF
ASIO_HAS_VARIADIC_TEMPLATES
ASIO_HAS_CSTDINT
_WIN32_WINNT=0x0501
ASIO_HAS_STD_TYPE_TRAITS
ASIO_HAS_STD_FUNCTION
I'm using VS 2012 btw. I finally encountered an issue where I didn't know
how to proceed:
1> Demo.cpp
1>c:\users\jadamcrain\documents\github\asio\asio\include\asio\basic_socket_streambuf.hpp(120):
error C2143: syntax error : missing ';' before '<'
1>
c:\users\jadamcrain\documents\github\asio\asio\include\asio\basic_socket_streambuf.hpp(565)
: see reference to class template instantiation
'asio::basic_socket_streambuf<Protocol,StreamSocketService,Time,TimeTraits,TimerService>'
being compiled
I went poking through the commit history and noticed that Chris Kohlhoff
said that this was only testing on linux/osx:
https://github.com/chriskohlhoff/asio/commit/5a083802f04de71f71fe2e8de1c9be41b3e64a6a
Has anyone had any success with boost-independent implementation on Windows?
Regards,
Adam
--
J Adam Crain
Owner - Automatak <http://www.automatak.com>, LLC
pub 4096R/E2984A0C
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9B78643BE2984A0C>
2013-05-03 John Adam Crain (Business PGP key)
<***@automatak.com>
<http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x9B78643BE2984A0C>