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
/home/user/openwrt/build_dir/target-arm_xscale_musl_eabi/trojan-plus-10.0.3/src/core/service.cpp: In lambda function:
/home/user/openwrt/build_dir/target-arm_xscale_musl_eabi/trojan-plus-10.0.3/src/core/service.cpp:550:28: error: 'buffer_cast' is not a member of 'boost::asio'; did you mean 'buffer_copy'?
550 | boost::asio::buffer_cast<char*>(udp_read_buf.prepare(config.get_udp_recv_buf())), read_length, ttl);
| ^~~~~~~~~~~
| buffer_copy
/home/user/openwrt/build_dir/target-arm_xscale_musl_eabi/trojan-plus-10.0.3/src/core/service.cpp:550:40: error: expected primary-expression before 'char'
550 | boost::asio::buffer_cast<char*>(udp_read_buf.prepare(config.get_udp_recv_buf())), read_length, ttl);
| ^~~~
描述您遇到的bug
部分报错如下:
复现此Bug的步骤
无,编译失败问题。
您想要实现的目的
Trojan-Plus在boost1.87.0版本并兼容1.86.0以下版本的补丁已可编译可使用(补丁名:001-Fix-boost1.87-build.patch),boost1.87.0版本已移除了buffer_cast和error_code。
日志信息
编译报错,见上面。
截图
No response
系统相关信息
无。
其他信息
No response
The text was updated successfully, but these errors were encountered: