From: Boost-users <boost-users-boun...@lists.boost.org> on behalf of Дмитрий 
Архипов via Boost-users <boost-users@lists.boost.org>

> I understand that boost process has v2 and v1 is deprecated, but I thought v1 
> will at least work on for existing stuff.
> Between 1_87 and 1_88 process v1 stopped working with v1 code. Something 
> changed v1-incompatible with the includes, like:
> boost::process::child is unknown.
> error: ‘child’ is not a member of ‘boost::process’
>    73 |     std::vector<boost::process::child> m_processes;

This looks like a missing include. What headers do you include in that
file? I can see that class in `<boost/process/v1/child.hpp>` (the last
place it was documented to be in) in my local copy of Boost. There are
tests that use that class and they pass locally.


That helped. The v1/v2 auto Selection is gone from process.hpp
Including the v1/*.hpp files explicitly (and changing the namespace to 
boost::process::v1) made the code compile again.
Thanks!
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to