>>> xdelta3: Building community/xdelta3 3.1.0-r2 (using abuild 3.14.1-r1) started Thu, 07 Nov 2024 10:27:56 +0000 >>> xdelta3: Validating /home/buildozer/aports/community/xdelta3/APKBUILD... >>> xdelta3: Analyzing dependencies... >>> xdelta3: Installing for build: build-base xz-dev (1/4) Installing xz-libs (5.6.3-r0) (2/4) Installing xz (5.6.3-r0) (3/4) Installing xz-dev (5.6.3-r0) (4/4) Installing .makedepends-xdelta3 (20241107.102824) Executing busybox-1.37.0-r6.trigger OK: 395 MiB in 105 packages >>> xdelta3: Cleaning up srcdir >>> xdelta3: Cleaning up pkgdir >>> xdelta3: Cleaning up tmpdir >>> xdelta3: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/xdelta3-3.1.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/xdelta3-3.1.0.tar.gz.part' xdelta3-3.1.0.tar.gz 100% |********************************| 710k 0:00:00 ETA '/var/cache/distfiles/v3.21/xdelta3-3.1.0.tar.gz.part' saved >>> xdelta3: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/xdelta3-3.1.0.tar.gz >>> xdelta3: Checking sha512sums... xdelta3-3.1.0.tar.gz: OK >>> xdelta3: Unpacking /var/cache/distfiles/v3.21/xdelta3-3.1.0.tar.gz... >>> xdelta3: Updating ./config.sub configure: WARNING: unrecognized options: --with-lzma checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking how to print strings... printf checking for x86_64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-alpine-linux-musl file names to x86_64-alpine-linux-musl format... func_convert_file_noop checking how to convert x86_64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for x86_64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking for x86_64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of gcc... gcc3 checking if pointers to integers require aligned access... no checking for x86_64-alpine-linux-musl-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking dependency style of g++... gcc3 checking size of size_t... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_easy_buffer_encode in -llzma... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands configure: WARNING: unrecognized options: --with-lzma make all-am make[1]: Entering directory '/home/buildozer/aports/community/xdelta3/src/xdelta3-3.1.0' gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -MT xdelta3-xdelta3.o -MD -MP -MF .deps/xdelta3-xdelta3.Tpo -c -o xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -MT xdelta3decode-xdelta3.o -MD -MP -MF .deps/xdelta3decode-xdelta3.Tpo -c -o xdelta3decode-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c g++ -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -MT testing/xdelta3regtest-regtest.o -MD -MP -MF testing/.deps/xdelta3regtest-regtest.Tpo -c -o testing/xdelta3regtest-regtest.o `test -f 'testing/regtest.cc' || echo './'`testing/regtest.cc gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -MT testing/xdelta3regtest-regtest_c.o -MD -MP -MF testing/.deps/xdelta3regtest-regtest_c.Tpo -c -o testing/xdelta3regtest-regtest_c.o `test -f 'testing/regtest_c.c' || echo './'`testing/regtest_c.c g++ -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_MAIN=1 -std=c++11 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -MT testing/xdelta3checksum-checksum_test.o -MD -MP -MF testing/.deps/xdelta3checksum-checksum_test.Tpo -c -o testing/xdelta3checksum-checksum_test.o `test -f 'testing/checksum_test.cc' || echo './'`testing/checksum_test.cc gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_MAIN=1 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -MT testing/xdelta3checksum-checksum_test_c.o -MD -MP -MF testing/.deps/xdelta3checksum-checksum_test_c.Tpo -c -o testing/xdelta3checksum-checksum_test_c.o `test -f 'testing/checksum_test_c.c' || echo './'`testing/checksum_test_c.c In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ In file included from xdelta3.c:718: xdelta3-main.h: In function 'main_file_read': xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ xdelta3-main.h: In function 'main_file_write': xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ In file included from testing/../xdelta3.c:718, from testing/checksum_test_c.c:1: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ testing/../xdelta3-main.h: In function 'main_file_write': testing/../xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ xdelta3-main.h: In function 'main_pipe_write': xdelta3-main.h:2118:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 2118 | (xd3_posix_func*) &write, NULL))) | ^ testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 2118 | (xd3_posix_func*) &write, NULL))) | ^ In file included from testing/../xdelta3.c:718, from testing/regtest_c.c:2: testing/../xdelta3-main.h: In function 'main_file_read': testing/../xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1063 | ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread); | ^ testing/../xdelta3-main.h: In function 'main_file_write': testing/../xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 1097 | ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL); | ^ testing/../xdelta3-main.h: In function 'main_pipe_write': testing/../xdelta3-main.h:2118:28: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type] 2118 | (xd3_posix_func*) &write, NULL))) | ^ In file included from xdelta3.c:2065, from xdelta3.c:658: xdelta3-decode.h: In function 'xd3_decode_input': xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ xdelta3-decode.h: In function 'xd3_decode_sections': xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ xdelta3.c: In function 'xd3_encode_input': xdelta3.c:3151:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3151 | if (stream->avail_in > 0) | ^ xdelta3.c:3166:13: note: here 3166 | case MATCH_FORWARD: | ^~~~ xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3090 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3092:5: note: here 3092 | case ENC_INPUT: | ^~~~ xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3201 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3203:5: note: here 3203 | case ENC_INSTR: | ^~~~ xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3215 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3.c:3217:5: note: here 3217 | case ENC_FLUSH: | ^~~~ xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3247 | if (stream->avail_out > 0) | ^ xdelta3.c:3253:5: note: here 3253 | case ENC_POSTOUT: | ^~~~ In file included from testing/../xdelta3.c:2065, from testing/../xdelta3.c:658: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ testing/../xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ testing/../xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ testing/../xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ testing/../xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ testing/../xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ testing/../xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ testing/../xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ testing/../xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ testing/../xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ testing/../xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ testing/../xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ xdelta3-main.h: In function 'main': testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.c:3151:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 3151 | if (stream->avail_in > 0) | ^ xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3.c:3166:13: note: here 3166 | case MATCH_FORWARD: | ^~~~ testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3090 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3092:5: note: here 3092 | case ENC_INPUT: | ^~~~ testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3201 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ testing/../xdelta3.c:3203:5: note: here 3203 | case ENC_INSTR: | ^~~~ testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3215 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3217:5: note: here 3217 | case ENC_FLUSH: | ^~~~ testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3247 | if (stream->avail_out > 0) | ^ testing/../xdelta3.c:3253:5: note: here 3253 | case ENC_POSTOUT: | ^~~~ xdelta3-main.h: In function 'main_input': xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] 3025 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 3026 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ xdelta3-main.h:3027:21: note: here 3027 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] 3025 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 3026 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ testing/../xdelta3-main.h:3027:21: note: here 3027 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ In file included from testing/../xdelta3.c:2065, from testing/../xdelta3.c:658: testing/../xdelta3-decode.h: In function 'xd3_decode_input': testing/../xdelta3-decode.h:867:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 867 | stream->dec_state = DEC_HDRIND; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:869:5: note: here 869 | case DEC_HDRIND: | ^~~~ testing/../xdelta3-decode.h:882:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | stream->dec_state = DEC_SECONDID; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ testing/../xdelta3-decode.h:885:5: note: here 885 | case DEC_SECONDID: | ^~~~ testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 887 | if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0) | ^ testing/../xdelta3-decode.h:905:5: note: here 905 | case DEC_TABLEN: | ^~~~ testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) { | ^ testing/../xdelta3-decode.h:918:5: note: here 918 | case DEC_NEAR: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE' 920 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:922:5: note: here 922 | case DEC_SAME: | ^~~~ testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE' 924 | BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:926:5: note: here 926 | case DEC_TABDAT: | ^~~~ testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 944 | stream->dec_state = DEC_APPLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:946:5: note: here 946 | case DEC_APPLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE' 948 | SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0, | ^~~~~~~~~ testing/../xdelta3-decode.h:951:5: note: here 951 | case DEC_APPDAT: | ^~~~ testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | stream->dec_state = DEC_WININD; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:985:5: note: here 985 | case DEC_WININD: | ^~~~ testing/../xdelta3-decode.h:1011:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | stream->dec_state = DEC_CPYLEN; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ testing/../xdelta3-decode.h:1017:5: note: here 1017 | case DEC_CPYLEN: | ^~~~ testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1026 | stream->dec_position = stream->dec_cpylen; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1028:5: note: here 1028 | case DEC_CPYOFF: | ^~~~ testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | if ((stream->dec_win_ind & VCD_TARGET) && | ^ testing/../xdelta3-decode.h:1050:5: note: here 1050 | case DEC_ENCLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE' 1052 | SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1053:5: note: here 1053 | case DEC_TGTLEN: | ^~~~ testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../xdelta3-decode.h:1075:5: note: here 1075 | case DEC_DELIND: | ^~~~ testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1086 | if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL)) | ^ testing/../xdelta3-decode.h:1093:5: note: here 1093 | case DEC_DATALEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE' 1094 | SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1095:5: note: here 1095 | case DEC_INSTLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE' 1096 | SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN); | ^~~~~~~~~ testing/../xdelta3-decode.h:1097:5: note: here 1097 | case DEC_ADDRLEN: | ^~~~ testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | stream->dec_state = (nstate); \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE' 1098 | SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM); | ^~~~~~~~~ testing/../xdelta3-decode.h:1100:5: note: here 1100 | case DEC_CKSUM: | ^~~~ testing/../xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1149 | if ((ret = xd3_decode_sections (stream))) { return ret; } | ^ testing/../xdelta3-decode.h:1151:5: note: here 1151 | case DEC_EMIT: | ^~~~ testing/../xdelta3-decode.h: In function 'xd3_decode_sections': testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 702 | if ((ret = xd3_decode_section (stream, & stream->data_sect, | ^ testing/../xdelta3-decode.h:704:5: note: here 704 | case DEC_INST: | ^~~~ testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 705 | if ((ret = xd3_decode_section (stream, & stream->inst_sect, | ^ testing/../xdelta3-decode.h:707:5: note: here 707 | case DEC_ADDR: | ^~~~ In file included from testing/../xdelta3.c:267: testing/../xdelta3.c: In function 'xd3_encode_input': testing/../xdelta3.h:406:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 406 | if (! (x)) { \ | ^ testing/../xdelta3.c:3164:15: note: in expansion of macro 'XD3_ASSERT' 3164 | XD3_ASSERT (stream->match_fwd == 0); | ^~~~~~~~~~ testing/../xdelta3.c:3166:13: note: here 3166 | case MATCH_FORWARD: | ^~~~ testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3090 | stream->enc_state = ENC_INPUT; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3092:5: note: here 3092 | case ENC_INPUT: | ^~~~ testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3201 | stream->enc_state = ENC_INSTR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3203:5: note: here 3203 | case ENC_INSTR: | ^~~~ testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3215 | stream->enc_state = ENC_FLUSH; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../xdelta3.c:3217:5: note: here 3217 | case ENC_FLUSH: | ^~~~ testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3247 | if (stream->avail_out > 0) | ^ testing/../xdelta3.c:3253:5: note: here 3253 | case ENC_POSTOUT: | ^~~~ testing/../xdelta3-main.h: In function 'xd3_main_cmdline': testing/../xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ testing/../xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ testing/../xdelta3-main.h: In function 'main_input': testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable] 3025 | if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; } | ^ testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 3026 | else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; } | ^ testing/../xdelta3-main.h:3027:21: note: here 3027 | else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; } | ^~~~ mv -f .deps/xdelta3decode-xdelta3.Tpo .deps/xdelta3decode-xdelta3.Po /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o xdelta3decode xdelta3decode-xdelta3.o -llzma libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=0 -DSECONDARY_DJW=0 -DSECONDARY_FGK=0 -DSECONDARY_LZMA=0 -DXD3_MAIN=1 -DXD3_ENCODER=0 -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o xdelta3decode xdelta3decode-xdelta3.o -llzma In file included from testing/../cpp-btree/btree_map.h:31, from testing/checksum_test.cc:9: testing/../cpp-btree/btree.h: In instantiation of 'btree::btree_node::reference btree::btree_node::value(int) [with Params = btree::btree_map_params, std::allocator >, 256>; reference = std::pair&]': testing/../cpp-btree/btree.h:809:24: required from 'btree::btree_iterator::pointer btree::btree_iterator::operator->() const [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; pointer = std::pair*]' 809 | return &node->value(position); | ~~~~~~~~~~~^~~~~~~~~~ testing/checksum_test.cc:270:27: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 270 | p_i != table.end() && p_i->first == word; | ^~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:557:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 557 | return reinterpret_cast(fields_.values[i]); | ~~~~~~~~~~~~~~^ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_find_multi(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:1075:28: required from 'btree::btree::iterator btree::btree::find_multi(const key_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' 1075 | internal_find_multi(key, iterator(root(), 0))); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree_container.h:311:34: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::find(const key_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' 311 | return this->tree_.find_multi(key); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ testing/checksum_test.cc:264:36: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 264 | table_iterator t_i = table.find(word); | ~~~~~~~~~~^~~~~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:2319:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2319 | iter = internal_lower_bound(key, iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:2321:12: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2321 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'void btree::btree_iterator::increment_slow() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]': testing/../cpp-btree/btree.h:781:5: required from 'void btree::btree_iterator::increment() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]' 781 | increment_slow(); | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:813:5: required from 'btree::btree_iterator::self_type& btree::btree_iterator::operator++() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; self_type = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 813 | increment(); | ^~~~~~~~~ testing/checksum_test.cc:271:5: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 271 | ++p_i) { | ^~~~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:1673:13: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1673 | *this = save; | ~~~~~~^~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:1032:24: required from 'btree::btree::iterator btree::btree::insert_multi(const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 1032 | return insert_multi(params_type::key(v), &v); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 322 | return this->tree_.insert_multi(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ testing/checksum_test.cc:286:17: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 286 | table.insert(std::make_pair(word, ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:1805:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1805 | iter = end(); | ~~~~~^~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_lower_bound(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:2319:32: required from 'IterType btree::btree::internal_find_multi(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]' 2319 | iter = internal_lower_bound(key, iter); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ testing/../cpp-btree/btree.h:1075:28: required from 'btree::btree::iterator btree::btree::find_multi(const key_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' 1075 | internal_find_multi(key, iterator(root(), 0))); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree_container.h:311:34: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::find(const key_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' 311 | return this->tree_.find_multi(key); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ testing/checksum_test.cc:264:36: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 264 | table_iterator t_i = table.find(word); | ~~~~~~~~~~^~~~~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:2276:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2276 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'IterType btree::btree::internal_upper_bound(const key_type&, IterType) const [with IterType = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; Params = btree::btree_map_params, std::allocator >, 256>; key_type = long unsigned int]': testing/../cpp-btree/btree.h:1803:39: required from 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' 1803 | iterator iter = internal_upper_bound(key, iterator(root(), 0)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:1032:24: required from 'btree::btree::iterator btree::btree::insert_multi(const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 1032 | return insert_multi(params_type::key(v), &v); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 322 | return this->tree_.insert_multi(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ testing/checksum_test.cc:286:17: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 286 | table.insert(std::make_pair(word, ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:2292:10: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 2292 | iter = internal_last(iter); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h: In instantiation of 'void btree::btree_iterator::decrement_slow() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]': testing/../cpp-btree/btree.h:790:5: required from 'void btree::btree_iterator::decrement() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*]' 790 | decrement_slow(); | ^~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:817:5: required from 'btree::btree_iterator::self_type& btree::btree_iterator::operator--() [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; self_type = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 817 | decrement(); | ^~~~~~~~~ testing/../cpp-btree/btree.h:2203:5: required from 'btree::btree::iterator btree::btree::internal_insert(iterator, const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 2203 | --iter; | ^~~~~~ testing/../cpp-btree/btree.h:1807:10: required from 'btree::btree::iterator btree::btree::insert_multi(const key_type&, ValuePointer) [with ValuePointer = const std::pair*; Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; key_type = long unsigned int]' 1807 | return internal_insert(iter, *value); | ^~~~~~~~~~~~~~~ testing/../cpp-btree/btree.h:1032:24: required from 'btree::btree::iterator btree::btree::insert_multi(const value_type&) [with Params = btree::btree_map_params, std::allocator >, 256>; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 1032 | return insert_multi(params_type::key(v), &v); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ testing/../cpp-btree/btree_container.h:322:36: required from 'btree::btree_multi_container::iterator btree::btree_multi_container::insert(const value_type&) [with Tree = btree::btree, std::allocator >, 256> >; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>; value_type = std::pair]' 322 | return this->tree_.insert_multi(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ testing/checksum_test.cc:286:17: required from 'void file_stats::update(word_type, ptr_type) [with Word = long unsigned int; word_type = long unsigned int; ptr_type = const unsigned char*]' 286 | table.insert(std::make_pair(word, ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:548:17: required from 'void test_result::get(const uint8_t*, size_t, usize_t) [with Checksum = large_cksum_old, 2>; uint8_t = unsigned char; size_t = long unsigned int; usize_t = long unsigned int]' 548 | fstats.update(hash(cksum.step(buf + i), s_bits, s_mask), buf + i); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testing/checksum_test.cc:521:8: required from here 521 | void get(const uint8_t* buf, const size_t buf_size, usize_t test_iters) { | ^~~ testing/../cpp-btree/btree.h:1713:13: warning: implicitly-declared 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>& btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>::operator=(const btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>&)' is deprecated [-Wdeprecated-copy] 1713 | *this = save; | ~~~~~~^~~~~~ testing/../cpp-btree/btree.h:771:3: note: because 'btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>' has user-provided 'btree::btree_iterator::btree_iterator(const iterator&) [with Node = btree::btree_node, std::allocator >, 256> >; Reference = std::pair&; Pointer = std::pair*; iterator = btree::btree_iterator, std::allocator >, 256> >, std::pair&, std::pair*>]' 771 | btree_iterator(const iterator &x) | ^~~~~~~~~~~~~~ mv -f testing/.deps/xdelta3checksum-checksum_test_c.Tpo testing/.deps/xdelta3checksum-checksum_test_c.Po mv -f .deps/xdelta3-xdelta3.Tpo .deps/xdelta3-xdelta3.Po /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o xdelta3 xdelta3-xdelta3.o -lm -llzma mv -f testing/.deps/xdelta3regtest-regtest_c.Tpo testing/.deps/xdelta3regtest-regtest_c.Po libtool: link: gcc -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c99 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o xdelta3 xdelta3-xdelta3.o -lm -llzma mv -f testing/.deps/xdelta3regtest-regtest.Tpo testing/.deps/xdelta3regtest-regtest.Po /bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma libtool: link: g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_DEBUG=1 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm -llzma In member function 'void btree::btree_node::set_child(int, btree::btree_node*) [with Params = btree::btree_map_params, std::allocator >, 256>]', inlined from 'void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]' at testing/../cpp-btree/btree.h:2068:24: testing/../cpp-btree/btree.h:575:23: warning: array subscript 'btree::btree_node, std::allocator >, 256> >[0]' is partly outside array bounds of 'unsigned char [384]' [-Warray-bounds=] 575 | *mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/14.2.0/x86_64-alpine-linux-musl/bits/c++allocator.h:33, from /usr/include/c++/14.2.0/bits/allocator.h:46, from /usr/include/c++/14.2.0/string:43, from testing/test.h:10, from testing/checksum_test.cc:3: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]', inlined from 'btree::btree::node_type* btree::btree::new_internal_node(node_type*) [with Params = btree::btree_map_params, std::allocator >, 256>]' at testing/../cpp-btree/btree.h:1244:47, inlined from 'void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]' at testing/../cpp-btree/btree.h:2067:33: /usr/include/c++/14.2.0/bits/new_allocator.h:151:55: note: object of size 384 allocated by 'operator new' 151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::btree_node::set_child(int, btree::btree_node*) [with Params = btree::btree_map_params, std::allocator >, 256>]', inlined from 'void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]' at testing/../cpp-btree/btree.h:2068:24: testing/../cpp-btree/btree.h:576:23: warning: array subscript 'btree::btree_node, std::allocator >, 256> >[0]' is partly outside array bounds of 'unsigned char [384]' [-Warray-bounds=] 576 | c->fields_.parent = this; | ~~~~~~~~~~~~~~~~~~^~~~~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]', inlined from 'btree::btree::node_type* btree::btree::new_internal_node(node_type*) [with Params = btree::btree_map_params, std::allocator >, 256>]' at testing/../cpp-btree/btree.h:1244:47, inlined from 'void btree::btree::rebalance_or_split(iterator*) [with Params = btree::btree_map_params, std::allocator >, 256>]' at testing/../cpp-btree/btree.h:2067:33: /usr/include/c++/14.2.0/bits/new_allocator.h:151:55: note: object of size 384 allocated by 'operator new' 151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ mv -f testing/.deps/xdelta3checksum-checksum_test.Tpo testing/.deps/xdelta3checksum-checksum_test.Po /bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_MAIN=1 -std=c++11 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o xdelta3checksum testing/xdelta3checksum-checksum_test.o testing/xdelta3checksum-checksum_test_c.o -llzma libtool: link: g++ -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare -Wformat=2 -Wno-format-nonliteral -Wno-unused-parameter -Wno-unused-function -pedantic -std=c++11 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DNOT_MAIN=1 -DXD3_MAIN=1 -std=c++11 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o xdelta3checksum testing/xdelta3checksum-checksum_test.o testing/xdelta3checksum-checksum_test_c.o -llzma make[1]: Leaving directory '/home/buildozer/aports/community/xdelta3/src/xdelta3-3.1.0' >>> xdelta3: Entering fakeroot... make[1]: Entering directory '/home/buildozer/aports/community/xdelta3/src/xdelta3-3.1.0' ./install-sh -c -d '/home/buildozer/aports/community/xdelta3/pkg/xdelta3/usr/share/man/man1' ./install-sh -c -d '/home/buildozer/aports/community/xdelta3/pkg/xdelta3/usr/bin' /usr/bin/install -c -m 644 xdelta3.1 '/home/buildozer/aports/community/xdelta3/pkg/xdelta3/usr/share/man/man1' /bin/sh ./libtool --mode=install /usr/bin/install -c xdelta3 '/home/buildozer/aports/community/xdelta3/pkg/xdelta3/usr/bin' libtool: install: /usr/bin/install -c xdelta3 /home/buildozer/aports/community/xdelta3/pkg/xdelta3/usr/bin/xdelta3 make[1]: Leaving directory '/home/buildozer/aports/community/xdelta3/src/xdelta3-3.1.0' >>> xdelta3-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/community/xdelta3/pkg/xdelta3-doc/usr/share/man' >>> xdelta3-doc*: Preparing subpackage xdelta3-doc... >>> xdelta3-doc*: Running postcheck for xdelta3-doc >>> xdelta3*: Running postcheck for xdelta3 >>> xdelta3*: Preparing package xdelta3... >>> xdelta3*: Stripping binaries >>> xdelta3-doc*: Scanning shared objects >>> xdelta3*: Scanning shared objects >>> xdelta3-doc*: Tracing dependencies... >>> xdelta3-doc*: Package size: 1.1 KB >>> xdelta3-doc*: Compressing data... >>> xdelta3-doc*: Create checksum... >>> xdelta3-doc*: Create xdelta3-doc-3.1.0-r2.apk >>> xdelta3*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:liblzma.so.5 >>> xdelta3*: Package size: 122.2 KB >>> xdelta3*: Compressing data... >>> xdelta3*: Create checksum... >>> xdelta3*: Create xdelta3-3.1.0-r2.apk >>> xdelta3: Build complete at Thu, 07 Nov 2024 10:29:12 +0000 elapsed time 0h 1m 16s >>> xdelta3: Cleaning up srcdir >>> xdelta3: Cleaning up pkgdir >>> xdelta3: Uninstalling dependencies... (1/4) Purging .makedepends-xdelta3 (20241107.102824) (2/4) Purging xz-dev (5.6.3-r0) (3/4) Purging xz (5.6.3-r0) (4/4) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 395 MiB in 101 packages >>> xdelta3: Updating the community/x86_64 repository index... >>> xdelta3: Signing the index...