| Issue |
244397
|
| Summary |
[clangd] Build failure with -DCLANGD_ENABLE_REMOTE=On and new gRPC/protobuf
|
| Labels |
clangd,
build-problem
|
| Assignees |
|
| Reporter |
ArcsinX
|
Previously, I had no problem with such a build, but after gRPC and protobuf update, I face compilation errors:
```
.../llvm-project/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp:64:11: error: no member named 'always_print_primitive_fields' in 'google::protobuf::json::PrintOptions'
64 | Options.always_print_primitive_fields = true;
| ~~~~~~~ ^
.../llvm-project/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp:72:46: error: no member named 'as_string' in 'std::string_view'
72 | JsonStatus.message().as_string());
| ~~~~~~~~~~~~~~~~~~~~ ^
```
I guess there are some API changes in protobuf
My current setup:
cmake 4.3.2, gRPC 1.85.3, protobuf 36.2.0
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs