You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "windflowerly (via GitHub)" <gi...@apache.org> on 2025/08/22 02:06:02 UTC

[I] v5.0 compile error [rocketmq-client-cpp]

windflowerly opened a new issue, #502:
URL: https://github.com/apache/rocketmq-client-cpp/issues/502

   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<std::string, std::shared_ptr<httplib::Client>> 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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] v5.0 compile error [rocketmq-client-cpp]

Posted by "takagi906 (via GitHub)" <gi...@apache.org>.
takagi906 commented on issue #502:
URL: https://github.com/apache/rocketmq-client-cpp/issues/502#issuecomment-3213780602

   这个问题是因为absl库的版本太高,有两种解决方案:1. 将GUARDED_BY 改为 ABSL_GUARDED_BY,之后还有一些报错也需要改成ABSL_XXX。2. 降低absl版本


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org