You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to complie the examples on the library and i am getting this error
error: incomplete type ‘boost::asio::execution::is_executor<_0xdead4ead::http::base::strand_stream>’ used in nested name specifier
476 | struct is_valid_target_executor :
| ^~~~~~~~~~~~~~~~~~~~~~~~
I happens then there is a reference to router or listener in the file. I have tried to solve it but failed. Thank you.
The text was updated successfully, but these errors were encountered:
I think this problem comes from asio not beastHttp. The compiler thinks there are two is_executor definitions, one under the asio::execution namespace, and another under the asio::detail namespace. But in reality there is only one which is under the detail namespace.
The solution; add boost::asio::detail, to every is_executor. This is in only flies that beasthttp touches so it's not a lot of flies.
I am trying to complie the examples on the library and i am getting this error
error: incomplete type ‘boost::asio::execution::is_executor<_0xdead4ead::http::base::strand_stream>’ used in nested name specifier
476 | struct is_valid_target_executor :
| ^~~~~~~~~~~~~~~~~~~~~~~~
I happens then there is a reference to router or listener in the file. I have tried to solve it but failed. Thank you.
The text was updated successfully, but these errors were encountered: