Snippets for libtorrent-rasterbar 2.1.0 from Alpine aarch64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-aarch64/community/libtorrent-rasterbar/libtorrent-rasterbar-2.1.0-r0.log.
-
/home/buildozer/aports/community/libtorrent-rasterbar/src/libtorrent-rasterbar-2.1.0/src/file.cpp:604:41: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148034049' to '-2146933247' [-Woverflow] 604 | if (ioctl(m_fd, FS_IOC_GETFLAGS, &attr) != -1) | ^~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/libtorrent-rasterbar/src/libtorrent-rasterbar-2.1.0/include/libtorrent/aux_/unique_ptr.hpp:66:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 66 | return unique_ptr<T, IndexType>(new std::remove_extent_t<T>[n]); | ^ -
/usr/include/c++/15.2.0/bits/char_traits.h:429:56: warning: '__builtin_memcpy' writing 21 bytes into a region of size 16 overflows the destination [-Wstringop-overflow=] 429 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ^