apache / apache/rocketmq-client-cpp

v5.0 compile error

Ouverte
#502 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
393
Forks
167
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

The issue tracker is **ONLY** used for the CPP/C client (feature request of RocketMQ need to follow [RIP process](https://github.com/apache/rocketmq/wiki/RocketMQ-Improvement-Proposal)). Keep in mind, please check whether there is an existing same report before your raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our [mailing lists](http://rocketmq.apache.org/about/contact/). We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as to the following:

**BUG REPORT**

1. Please describe the issue you observed:
use clang 17.0.1 compile , cmake

```
src/main/cpp/base/include/HttpClientImpl.h:42:78: error: expected ';' at end of declaration list
42 | absl::flat_hash_map> clients_ GUARDED_BY(clients_mtx_);

```

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

- What did you expect to see?

- What did you see instead?

2. Please tell us about your environment:
rock linx
compiler clang 17.0.1
client v5.0-rc2

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with src/main/cpp/base/include/HttpClientImpl.h at line 42 and reproduce the CMake build using Clang 17.0.1 on the reported Rock Linux environment. Confirm the cause of the declaration error and verify that the v5.0-rc2 client compiles successfully afterward.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cmake, cpp
Domaine
build-system
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.