apache / apache/rocketmq-client-cpp
[Bug] Unit test compilation fails
- Vorherrschende Sprache
- C++
- Sterne
- 393
- Forks
- 167
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**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

1.2 Execute `sh build.sh` in the root directory
1.3 find a problem:error: no matching constructor for initialization of 'SendResult'

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

2. Please tell us about your environment:
- What is your OS?
macos/arm
- What is your client version?
latest
Beitragsleitfaden
Rechercherichtung
Start with build.sh in the repository root, set test=1, and run it on macOS/ARM to reproduce the compilation errors. Trace the SendResult constructor error and the SendMessageRequestHeader binding error; done means the unit-test build completes successfully.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- build-system, testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100