cho-m opened a new issue, #2829:
URL: https://github.com/apache/brpc/issues/2829

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   When updating to Protobuf 29.0 in Homebrew 
(https://github.com/Homebrew/homebrew-core/pull/199285), the build failed 
probably due to 
https://github.com/protocolbuffers/protobuf/commit/49bb305147392ecdc65234b4b03b51de66e02e48.
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   
   Successful build with Protobuf 29.0.
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   Build/link brpc to Protobuf 25.x (C++ 4.25.x) which is the only other 
supported version https://protobuf.dev/support/version-support/#cpp
   
   **Additional context/screenshots (更多上下文/截图)**
   
   Error message
   ```
     In file included from 
/tmp/brpc-20241127-14800-on3md9/apache-brpc-1.11.0-src/src/brpc/serialized_request.h:22:
     
/tmp/brpc-20241127-14800-on3md9/apache-brpc-1.11.0-src/src/brpc/nonreflectable_message.h:55:11:
 error: unknown type name 'ClassData'; did you mean 
'google::protobuf::internal::ClassData'?
        55 |     const ClassData* GetClassData() const override {
           |           ^~~~~~~~~
           |           google::protobuf::internal::ClassData
   ```
   


-- 
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: dev-unsubscr...@brpc.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to