Snippets for protobuf 35.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/mamck3vah4d0p82sx3kq7mbpap27dmqj-protobuf-35.1.drv.
-
/build/source/src/google/protobuf/arena.cc:703:31: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 703 | absl::MutexLock lock(&mutex_); | ^ -
/build/source/src/google/protobuf/arenastring.cc:60:10: warning: 'void absl::lts_20260107::Mutex::Lock()' is deprecated [-Wdeprecated-declarations] 60 | mu.Lock(); | ~~~~~~~^~ -
/build/source/src/google/protobuf/arenastring.cc:68:12: warning: 'void absl::lts_20260107::Mutex::Unlock()' is deprecated [-Wdeprecated-declarations] 68 | mu.Unlock(); | ~~~~~~~~~^~ -
/build/source/src/google/protobuf/message_lite.h:1474:28: warning: 'this' pointer is null [-Wnonnull] 1474 | return msg.GetClassData(); | ~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/message_lite.cc:788:45: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 788 | absl::MutexLock lock(&shutdown_data->mutex); | ^ -
/build/source/src/google/protobuf/descriptor.cc:1985:44: warning: 'absl::lts_20260107::ReaderMutexLock::ReaderMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 1985 | absl::ReaderMutexLock lock(pool->mutex_); | ^ -
/build/source/src/google/protobuf/descriptor.cc:2142:53: warning: 'absl::lts_20260107::ReaderMutexLock::ReaderMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 2142 | absl::ReaderMutexLock l(&unknown_enum_values_mu_); | ^ -
/build/source/src/google/protobuf/descriptor.cc:2151:53: warning: 'absl::lts_20260107::WriterMutexLock::WriterMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 2151 | absl::WriterMutexLock l(&unknown_enum_values_mu_); | ^ -
/build/source/src/google/protobuf/descriptor.cc:2652:38: warning: 'absl::lts_20260107::ReaderMutexLock::ReaderMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 2652 | absl::ReaderMutexLock lock(mutex_); | ^ -
/build/source/src/google/protobuf/descriptor.cc:8005:65: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 8005 | bool is_weak = !pool_->enforce_weak_ && proto.options().weak(); | ~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/descriptor.cc:10707:62: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations]
-
/build/source/src/google/protobuf/dynamic_message.cc:845:31: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 845 | !field->options().weak() && !InRealOneof(field) && | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/dynamic_message.cc:880:42: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 880 | absl::MutexLock lock(&prototypes_mutex_); | ^ -
/build/source/src/google/protobuf/generated_message_reflection.cc:2518:29: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 2518 | !field->options().weak() && !IsLazyField(field) && | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_reflection.cc:3228:37: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 3228 | ABSL_DCHECK(!field->options().weak()); | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_reflection.cc:3261:37: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 3261 | ABSL_DCHECK(!field->options().weak()); | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_reflection.cc:3270:37: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 3270 | ABSL_DCHECK(!field->options().weak()); | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_reflection.cc:3279:37: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 3279 | ABSL_DCHECK(!field->options().weak()); | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/descriptor.h:2702:29: warning: 'absl::lts_20260107::ReaderMutexLock::ReaderMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 2702 | absl::ReaderMutexLock lock(&pool->field_memo_table_mutex_); | ^~~~ -
/build/source/src/google/protobuf/descriptor.h:2711:23: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 2711 | absl::MutexLock lock(&pool->field_memo_table_mutex_); | ^~~~ -
/build/source/src/google/protobuf/generated_message_reflection.cc:3935:12: warning: 'void absl::lts_20260107::Mutex::Lock()' is deprecated [-Wdeprecated-declarations] 3935 | mu.Lock(); | ~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_reflection.cc:3937:14: warning: 'void absl::lts_20260107::Mutex::Unlock()' is deprecated [-Wdeprecated-declarations] 3937 | mu.Unlock(); | ~~~~~~~~~^~ -
/build/source/src/google/protobuf/reflection_visit_fields.h:109:39: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 109 | ABSL_DCHECK(!field->options().weak()) << "weak fields are not supported"; | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_tctable_gen.cc:668:45: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 668 | if (descriptor->field(i)->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_tctable_gen.cc:707:28: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 707 | field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_tctable_gen.cc:742:54: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 742 | !field->is_map() && !field->options().weak() && | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/generated_message_tctable_gen.cc:782:39: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 782 | } else if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/map_field.cc:269:37: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 269 | absl::MutexLock lock(&p->mutex()); | ^ -
/build/source/src/google/protobuf/map_field.cc:319:39: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 319 | absl::MutexLock lock(&p->mutex()); | ^ -
/build/source/src/google/protobuf/map_field.cc:428:38: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 428 | absl::MutexLock lock(&p.mutex()); | ^ -
/build/source/src/google/protobuf/message.cc:612:41: warning: 'absl::lts_20260107::WriterMutexLock::WriterMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 612 | absl::WriterMutexLock lock(&mutex_); | ^ -
/build/source/src/google/protobuf/message.cc:627:39: warning: 'absl::lts_20260107::ReaderMutexLock::ReaderMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 627 | absl::ReaderMutexLock lock(&mutex_); | ^ -
/build/source/src/google/protobuf/message.cc:649:39: warning: 'absl::lts_20260107::WriterMutexLock::WriterMutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 649 | absl::WriterMutexLock lock(&mutex_); | ^ -
/build/source/src/google/protobuf/text_format.cc:260:26: warning: 'google::protobuf::TextFormat::ParseLocationRange google::protobuf::TextFormat::ParseInfoTree::GetLocationRange(const google::protobuf::FieldDescriptor*, int) const' is deprecated: Please use GetFieldLocation() [-Wdeprecated-declarations] 260 | return GetLocationRange(field, index).start; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format.cc:795:54: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 795 | if (consumed_semicolon && field->options().weak() && | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/helpers.h:359:28: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 359 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/helpers.cc:1736:32: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 1736 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/helpers.cc:2001:46: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 2001 | absl::MutexLock lock(&bootstrap_cache.mutex); | ^ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:172:29: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 172 | if (!field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:757:66: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 757 | if (!field->real_containing_oneof() && !field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:1129:28: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 1129 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:1344:28: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 1344 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:1377:59: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 1377 | if (!HasHasbit(field, options_) || field->options().weak()) return; | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:2114:64: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 2114 | if (!field->is_repeated() && !field->options().weak() && | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:2595:30: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 2595 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:4188:39: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 4188 | } else if (field->options().weak() || | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:4528:28: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 4528 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/cpp/message.cc:4834:43: warning: 'bool google::protobuf::FieldOptions::weak() const' is deprecated [-Wdeprecated-declarations] 4834 | if (field->options().weak()) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/compiler/python/generator.cc:240:31: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 240 | absl::MutexLock lock(&mutex_); | ^ -
/build/source/src/google/protobuf/compiler/python/pyi_generator.cc:609:31: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 609 | absl::MutexLock lock(&mutex_); | ^ -
/build/source/upb/mem/arena_test.cc:449:33: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 449 | absl::MutexLock lock(&mutex_); | ^ -
/build/source/upb/mem/arena_test.cc:478:33: warning: 'absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations] 478 | absl::MutexLock lock(&mutex_); | ^ -
/build/source/src/google/protobuf/repeated_field_unittest.cc:1591:38: warning: 'void google::protobuf::RepeatedField< <template-parameter-1-1> >::Resize(int, const Element&) [with Element = bool]' is deprecated [-Wdeprecated-declarations] 1591 | msg.mutable_repeated_bool()->Resize(std::numeric_limits<int>::max(), false); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/repeated_field_unittest.cc:1608:36: warning: 'void google::protobuf::RepeatedField< <template-parameter-1-1> >::Resize(int, const Element&) [with Element = bool]' is deprecated [-Wdeprecated-declarations] 1608 | msg.mutable_packed_bool()->Resize(std::numeric_limits<int>::max(), false); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/wqqb6mbnrnm380adc0ry5hdm449xix4f-gcc-15.3.0/include/c++/15.3.0/bits/stl_algobase.h:407:16: warning: 'void* __builtin_memmove(void*, const void*, long unsigned int)' reading 4 or more bytes from a region of size 0 [-Wstringop-overread] 407 | *__out = *__in; | ~~~~~~~^~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:706:38: warning: 'void google::protobuf::TextFormat::Printer::SetDefaultFieldValuePrinter(const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 706 | printer.SetDefaultFieldValuePrinter(new CustomUInt32FieldValuePrinter()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:728:48: warning: 'bool google::protobuf::TextFormat::Printer::RegisterFieldValuePrinter(const google::protobuf::FieldDescriptor*, const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 728 | EXPECT_TRUE(printer.RegisterFieldValuePrinter( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 729 | message.GetDescriptor()->FindFieldByName("optional_int32"), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 730 | new CustomInt32FieldValuePrinter())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:741:48: warning: 'bool google::protobuf::TextFormat::Printer::RegisterFieldValuePrinter(const google::protobuf::FieldDescriptor*, const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 741 | ASSERT_TRUE(printer.RegisterFieldValuePrinter( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 742 | field, new CustomInt32FieldValuePrinter())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:745:49: warning: 'bool google::protobuf::TextFormat::Printer::RegisterFieldValuePrinter(const google::protobuf::FieldDescriptor*, const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 745 | ASSERT_FALSE(printer.RegisterFieldValuePrinter(field, rejected)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:753:49: warning: 'bool google::protobuf::TextFormat::Printer::RegisterFieldValuePrinter(const google::protobuf::FieldDescriptor*, const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 753 | EXPECT_FALSE(printer.RegisterFieldValuePrinter( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 754 | message.GetDescriptor()->FindFieldByName("optional_int32"), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | static_cast<const TextFormat::FieldValuePrinter*>(nullptr))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:762:49: warning: 'bool google::protobuf::TextFormat::Printer::RegisterFieldValuePrinter(const google::protobuf::FieldDescriptor*, const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 762 | EXPECT_FALSE(printer.RegisterFieldValuePrinter(nullptr, &my_field_printer)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:793:38: warning: 'void google::protobuf::TextFormat::Printer::SetDefaultFieldValuePrinter(const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 793 | printer.SetDefaultFieldValuePrinter(new CustomMessageFieldValuePrinter()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:878:38: warning: 'void google::protobuf::TextFormat::Printer::SetDefaultFieldValuePrinter(const google::protobuf::TextFormat::FieldValuePrinter*)' is deprecated: Please use FastFieldValuePrinter [-Wdeprecated-declarations] 878 | printer.SetDefaultFieldValuePrinter(new CustomMultilineCommentPrinter()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:2214:30: warning: 'google::protobuf::TextFormat::ParseLocationRange google::protobuf::TextFormat::ParseInfoTree::GetLocationRange(const google::protobuf::FieldDescriptor*, int) const' is deprecated: Please use GetFieldLocation() [-Wdeprecated-declarations] 2214 | tree.GetLocationRange(singular_field, -1); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:2216:25: warning: 'google::protobuf::TextFormat::ParseLocation google::protobuf::TextFormat::ParseInfoTree::GetLocation(const google::protobuf::FieldDescriptor*, int) const' is deprecated: Please use GetFieldLocation() [-Wdeprecated-declarations] 2216 | tree.GetLocation(singular_field, -1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:2236:30: warning: 'google::protobuf::TextFormat::ParseLocationRange google::protobuf::TextFormat::ParseInfoTree::GetLocationRange(const google::protobuf::FieldDescriptor*, int) const' is deprecated: Please use GetFieldLocation() [-Wdeprecated-declarations] 2236 | tree.GetLocationRange(repeated_field, 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/text_format_unittest.cc:2238:25: warning: 'google::protobuf::TextFormat::ParseLocation google::protobuf::TextFormat::ParseInfoTree::GetLocation(const google::protobuf::FieldDescriptor*, int) const' is deprecated: Please use GetFieldLocation() [-Wdeprecated-declarations] 2238 | tree.GetLocation(repeated_field, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
/build/source/src/google/protobuf/repeated_ptr_field.h:300:3: warning: function may return address of local variable [-Wreturn-local-addr] 300 | } | ^ -
/build/source/src/google/protobuf/io/zero_copy_stream_unittest.cc:1451:20: warning: 'void absl::lts_20260107::Mutex::Lock()' is deprecated [-Wdeprecated-declarations] 1451 | go_write.Lock(); | ~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/io/zero_copy_stream_unittest.cc:1456:22: warning: 'void absl::lts_20260107::Mutex::Lock()' is deprecated [-Wdeprecated-declarations] 1456 | go_write.Lock(); | ~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/io/zero_copy_stream_unittest.cc:1457:24: warning: 'void absl::lts_20260107::Mutex::Unlock()' is deprecated [-Wdeprecated-declarations] 1457 | go_write.Unlock(); | ~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/io/zero_copy_stream_unittest.cc:1476:22: warning: 'void absl::lts_20260107::Mutex::Unlock()' is deprecated [-Wdeprecated-declarations] 1476 | go_write.Unlock(); | ~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1575:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1575 | msg1.add_rm()->set_a(1); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1576:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1576 | msg1.add_rm()->set_a(2); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1577:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1577 | msg1.add_rm()->set_a(3); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1578:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1578 | msg1.add_rm()->set_a(4); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1579:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1579 | msg1.add_rm()->set_a(5); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1580:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1580 | msg2.add_rm()->set_a(2); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1581:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1581 | msg2.add_rm()->set_a(6); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1582:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1582 | msg2.add_rm()->set_a(4); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1624:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1624 | *msg1.add_rm() = elem1_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1625:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1625 | *msg1.add_rm() = elem2_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1626:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1626 | *msg1.add_rm() = elem3_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1628:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1628 | *msg2.add_rm() = elem3_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1629:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1629 | *msg2.add_rm() = elem1_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1630:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1630 | *msg2.add_rm() = elem2_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1655:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1655 | *msg1.add_rm() = elem; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1656:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1656 | *msg1.add_rm() = elem; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1657:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1657 | *msg2.add_rm() = elem; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1658:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1658 | *msg2.add_rm() = elem; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1687:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1687 | *msg1.add_rm() = elem1_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1688:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1688 | *msg1.add_rm() = elem2_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1689:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1689 | *msg2.add_rm() = elem1_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1690:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1690 | *msg2.add_rm() = elem2_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1730:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1730 | *msg1.add_rm() = elem1_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1731:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1731 | *msg1.add_rm() = elem2_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1732:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1732 | *msg1.add_rm() = elem3_1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1733:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1733 | *msg2.add_rm() = elem2_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1734:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1734 | *msg2.add_rm() = elem3_2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1758:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1758 | *msg1.add_rm() = elem1; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1759:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1759 | *msg1.add_rm() = elem2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1760:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1760 | *msg1.add_rm() = elem3; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1761:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1761 | *msg2.add_rm() = elem2; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1762:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1762 | *msg2.add_rm() = elem3; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:1763:15: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 1763 | *msg2.add_rm() = elem4; | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2070:11: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2070 | a.add_rm()->set_c(1); | ~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2071:11: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2071 | a.add_rm()->set_c(0); | ~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2076:11: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2076 | b.add_rm()->set_c(1); | ~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2077:11: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2077 | b.add_rm(); | ~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2082:11: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2082 | c.add_rm(); | ~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2083:11: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2083 | c.add_rm()->set_c(1); | ~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2098:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2098 | msg1.add_rm()->set_a(1); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2099:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2099 | msg1.add_rm()->set_b(2); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2100:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2100 | msg1.add_rm()->set_c(3); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2106:50: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2106 | proto2_unittest::TestField* field = msg2.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2109:22: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2109 | field = msg2.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2112:22: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2112 | field = msg2.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2586:22: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2586 | field = msg1.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2589:22: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2589 | field = msg2.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2674:22: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2674 | field = msg1.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2678:22: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2678 | field = msg2.add_rm(); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2906:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2906 | msg1.add_rm()->set_c(1); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:2908:14: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 2908 | msg2.add_rm()->set_c(1); | ~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3553:20: warning: 'void proto2_unittest::TestDiffMessage::set_v(int32_t)' is deprecated [-Wdeprecated-declarations] 3553 | proto1diff_.set_v(3); | ~~~~~~~~~~~~~~~~~^~~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3554:20: warning: 'void proto2_unittest::TestDiffMessage::set_v(int32_t)' is deprecated [-Wdeprecated-declarations] 3554 | proto2diff_.set_v(3); | ~~~~~~~~~~~~~~~~~^~~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3566:20: warning: 'void proto2_unittest::TestDiffMessage::set_v(int32_t)' is deprecated [-Wdeprecated-declarations] 3566 | proto2diff_.set_v(3); | ~~~~~~~~~~~~~~~~~^~~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3578:20: warning: 'void proto2_unittest::TestDiffMessage::set_v(int32_t)' is deprecated [-Wdeprecated-declarations] 3578 | proto1diff_.set_v(3); | ~~~~~~~~~~~~~~~~~^~~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3590:20: warning: 'void proto2_unittest::TestDiffMessage::set_v(int32_t)' is deprecated [-Wdeprecated-declarations] 3590 | proto1diff_.set_v(3); | ~~~~~~~~~~~~~~~~~^~~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3591:20: warning: 'void proto2_unittest::TestDiffMessage::set_v(int32_t)' is deprecated [-Wdeprecated-declarations] 3591 | proto2diff_.set_v(4); | ~~~~~~~~~~~~~~~~~^~~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3684:21: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 3684 | proto1diff_.add_rm()->set_c(0); | ~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3685:21: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 3685 | proto1diff_.add_rm()->set_c(1); | ~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3686:21: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 3686 | proto2diff_.add_rm()->set_c(2); | ~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/google/protobuf/util/message_differencer_unittest.cc:3687:21: warning: 'proto2_unittest::TestField* proto2_unittest::TestDiffMessage::add_rm()' is deprecated [-Wdeprecated-declarations] 3687 | proto2diff_.add_rm()->set_c(3); | ~~~~~~~~~~~~~~~~~~^~