apache / apache/rocketmq-client-cpp

[Bug] Unit test compilation fails

未关闭
#496 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
393
派生
167
PR 合并指标
30 天内没有已合并 PR

描述

**BUG REPORT**

1. Please describe the issue you observed:

- What did you do (The steps to reproduce)?

1.1 set build.sh declare test=1

![Image](https://github.com/user-attachments/assets/d6399137-4c0f-484a-818b-cc6748ae50e5)

1.2 Execute `sh build.sh` in the root directory

1.3 find a problem:error: no matching constructor for initialization of 'SendResult'
![Image](https://github.com/user-attachments/assets/22d0f6f9-7a95-437d-b16a-3109520454ba)
1.4 when i fix this problem,another problem appear. error: reference to type 'const SendMessageRequestHeader' could not bind to an lvalue of type 'SendMessageRequestHeader *'
![Image](https://github.com/user-attachments/assets/82f9aec9-a358-4f7f-bea6-a475dda2f504)

2. Please tell us about your environment:

- What is your OS?
macos/arm

- What is your client version?
latest

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。