apache / apache/rocketmq-client-cpp

[Bug] Unit test compilation fails

Open
#496 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
393
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.