-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
OS: openSUSE Tumbleweed
Compiler: gcc13-13.1.1+git7364-1.2 / clang16-16.0.6-1.1
Protobuf: 22.5
After the update to Protobuf 22.5, the package android-tools fails to compile:
[ 128s] /home/abuild/rpmbuild/BUILD/android-tools-34.0.1/vendor/extras/libjsonpb/parse/jsonpb.cpp:43:27: warning: 'JsonOptions' is deprecated: use JsonPrintOptions instead [-Wdeprecated-declarations]
[ 128s] google::protobuf::util::JsonOptions options;
[ 128s] ^
[ 128s] /usr/include/google/protobuf/util/json_util.h:45:19: note: 'JsonOptions' has been explicitly marked deprecated here
[ 128s] using JsonOptions ABSL_DEPRECATED("use JsonPrintOptions instead") =
[ 128s] ^
[ 128s] /usr/include/absl/base/attributes.h:674:49: note: expanded from macro 'ABSL_DEPRECATED'
[ 128s] #define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
[ 128s] ^
[ 128s] /home/abuild/rpmbuild/BUILD/android-tools-34.0.1/vendor/extras/libjsonpb/parse/jsonpb.cpp:54:52: error: no member named 'as_string' in 'std::basic_string_view<char>'
[ 128s] return MakeError<std::string>(status.message().as_string());
[ 128s] ~~~~~~~~~~~~~~~~ ^
[ 128s] /home/abuild/rpmbuild/BUILD/android-tools-34.0.1/vendor/extras/libjsonpb/parse/jsonpb.cpp:71:55: error: no member named 'as_string' in 'std::basic_string_view<char>'
[ 128s] return MakeError<std::monostate>(status.message().as_string());
[ 128s] ~~~~~~~~~~~~~~~~ ^
[ 128s] 1 warning and 2 errors generated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working