![]() |
Boost Users : |
From: Sebastian Koerner (seb_koerner_at_[hidden])
Date: 2025-06-02 11:18:15
From: Boost-users <boost-users-bounces_at_[hidden]> on behalf of Äìèòðèé Àðõèïîâ via Boost-users <boost-users_at_[hidden]>
> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net