See the following complete program. No dependency on ASIO or SSL:

https://coliru.stacked-crooked.com/a/5f8e619db6afdd41


On Mon, 11 Mar 2019 at 14:51, james <dirtydroog@gmail.com> wrote:


On Sunday, March 10, 2019, Richard Hodges <hodges.r@gmail.com> wrote:


On Sun, 10 Mar 2019 at 15:40, james <dirtydroog@gmail.com> wrote:


On Sunday, March 10, 2019, Richard Hodges via Boost-users <boost-users@lists.boost.org> wrote:
AFAIR boost.log does not depend on boost.asio at all. 

It appears it does: 

With respect, the linked question seems to be about a crash when combining boost.log and boost.asio with each from different versions of boost . This is unsurprising since both libraries will depend on boost.core.

I am very sure that boost.log has no direct dependency on boost.asio. I use these libraries a lot.

R

If you followed the links to https://stackoverflow.com/questions/35225234/linking-libboost-log-so-makes-boostasioio-servicerun-exit-immediately/35241050#35241050, there is


"Boost.Log does indeed use Boost.ASIO to implement some of its features (network-based syslog sink, in particular). Boost.ASIO marks its symbols as externally visible, so they are exported from Boost.Log shared object."

Note that the crashing code does not use network based syslog. Boost.log may not intend to always have a dependency on boost.asio, but it appears it does.
 
 


 


boost.asio optionally depends on OpenSSL if you use the ssl stream or context types, and not otherwise.


On Sun, 10 Mar 2019 at 04:52, Macumber, Daniel via Boost-users <boost-users@lists.boost.org> wrote:
Hello, I am using Boost Log but not using any of the ASIO related functionality (that I know of).  It seems that Boost ASIO depends on OpenSSL which is giving me some problems.  Is there any way to either:

* use Boost Log without ASIO
* use Boost ASIO without OpenSSL

Thanks a lot,
Dan
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users


--
Richard Hodges




--
Richard Hodges



--
Richard Hodges
hodges.r@gmail.com
office: +442032898513
home: +376841522
mobile: +376380212