apache / brpc

brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc. "brpc" means "better RPC".
https://brpc.apache.org
Apache License 2.0
16.56k stars 3.98k forks source link

按照官网的操作在centos上编译报错了 #2779

Open mykittylover opened 1 month ago

mykittylover commented 1 month ago

Describe the bug (描述bug)

To Reproduce (复现方法)

Expected behavior (期望行为)

Versions (各种版本) OS: Compiler: brpc: protobuf:

Additional context/screenshots (更多上下文/截图)

src/bthread/key.cpp:37:14: error: expected constructor, destructor, or type conversion before ‘(’ token DEFINE_uint32(key_table_list_size, 5000, ^ src/bthread/key.cpp:42:14: error: expected constructor, destructor, or type conversion before ‘(’ token DEFINE_uint32(borrow_from_globle_size, 100,

Huixxi commented 2 weeks ago

是用什么编译的,现在解决了么