Snippets for android-tools-nmeum 37.0.0 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/7w60gbi1ckah91gvq4fl0lby6sqk71l5-android-tools-37.0.0.drv.
-
/build/android-tools-37.0.0/vendor/libbase/include/android-base/process.h:53:45: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes] 53 | std::unique_ptr<DIR, decltype(&closedir)> dir_; | ^ -
/nix/store/r7qf82zlzc2dly3nrdran1qxgzjj7626-glibc-2.42-67-dev/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/client/auth.cpp:81:44: warning: ignoring attributes on template argument 'int (*)(FILE*)' [-Wignored-attributes] 81 | std::unique_ptr<FILE, decltype(&fclose)> f(nullptr, &fclose); | ^ -
/build/android-tools-37.0.0/vendor/adb/client/auth.cpp:121:44: warning: ignoring attributes on template argument 'int (*)(FILE*)' [-Wignored-attributes] 121 | std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(file.c_str(), "r"), fclose); | ^ -
/build/android-tools-37.0.0/vendor/adb/client/auth.cpp:176:49: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes] 176 | std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); | ^ -
/build/android-tools-37.0.0/vendor/adb/client/commandline.cpp:1408:37: warning: ignoring return value of 'bool google::protobuf::MessageLite::ParseFromString(std::string_view)', declared with attribute 'nodiscard' [-Wunused-result] 1408 | binary_proto.ParseFromString(binary_proto_bytes); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/client/commandline.cpp:1411:52: warning: ignoring return value of 'static bool google::protobuf::TextFormat::PrintToString(const google::protobuf::Message&, std::string*)', declared with attribute 'nodiscard' [-Wunused-result] 1411 | google::protobuf::TextFormat::PrintToString(binary_proto, &string_proto); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/client/commandline.h:163:37: warning: ignoring return value of 'bool google::protobuf::MessageLite::ParseFromString(std::string_view)', declared with attribute 'nodiscard' [-Wunused-result] 163 | binary_proto.ParseFromString(std::string(buffer_.data() + kHeader_size, expected_size)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/client/commandline.h:165:52: warning: ignoring return value of 'static bool google::protobuf::TextFormat::PrintToString(const google::protobuf::Message&, std::string*)', declared with attribute 'nodiscard' [-Wunused-result] 165 | google::protobuf::TextFormat::PrintToString(binary_proto, &string_proto); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/client/commandline.h:61:32: warning: argument 4 null where non-null expected [-Wnonnull] 61 | bool okay = (fwrite(buffer, 1, length, stream) == length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/compression_utils.h:172:5: warning: control reaches end of non-void function [-Wreturn-type] 172 | } | ^ -
/build/android-tools-37.0.0/vendor/adb/client/file_sync_client.cpp:177:83: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] 177 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%", | ^~ -
/build/android-tools-37.0.0/vendor/adb/client/mdns_tracker.cpp:92:31: warning: ignoring return value of 'bool google::protobuf::MessageLite::SerializeToString(std::string*) const', declared with attribute 'nodiscard' [-Wunused-result] 92 | services.SerializeToString(&proto); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/pairing_connection/pairing_connection.cpp:448:1: warning: control reaches end of non-void function [-Wreturn-type] 448 | } | ^ -
/build/android-tools-37.0.0/vendor/core/libcutils/ashmem-host.cpp:72:44: warning: ignoring attributes on template argument 'int (*)(FILE*)' [-Wignored-attributes] 72 | std::unique_ptr<FILE, decltype(&fclose)> tmp(tmpfile(), &fclose); | ^ -
/build/android-tools-37.0.0/vendor/adb/adb.cpp:1379:33: warning: ignoring return value of 'bool google::protobuf::MessageLite::SerializeToString(std::string*) const', declared with attribute 'nodiscard' [-Wunused-result] 1379 | status.SerializeToString(&server_status_string); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/adb.cpp:173:1: warning: control reaches end of non-void function [-Wreturn-type] 173 | } | ^ -
/build/android-tools-37.0.0/vendor/adb/transport.cpp:1398:52: warning: ignoring return value of 'static bool google::protobuf::TextFormat::PrintToString(const google::protobuf::Message&, std::string*)', declared with attribute 'nodiscard' [-Wunused-result] 1398 | google::protobuf::TextFormat::PrintToString(devices, &proto); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/transport.cpp:1400:34: warning: ignoring return value of 'bool google::protobuf::MessageLite::SerializeToString(std::string*) const', declared with attribute 'nodiscard' [-Wunused-result] 1400 | devices.SerializeToString(&proto); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
/build/android-tools-37.0.0/vendor/adb/transport.cpp:1473:1: warning: control reaches end of non-void function [-Wreturn-type] 1473 | } | ^ -
/build/android-tools-37.0.0/vendor/adb/transport.cpp:1376:1: warning: control reaches end of non-void function [-Wreturn-type] 1376 | } | ^ -
/build/android-tools-37.0.0/vendor/core/fastboot/usb_linux.cpp:381:45: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes] 381 | std::unique_ptr<DIR, decltype(&closedir)> busdir(opendir(base), closedir); | ^ -
/build/android-tools-37.0.0/vendor/core/fastboot/usb_linux.cpp:252:63: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 252 [-Wformat-truncation=] 252 | snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name); | ^~