=> Building xdelta3:standard (version 3.1.0) Started : Sunday,13 AUG 2023 at 09:11:26 UTC Platform: 6.4-RAVEN DragonFly 6.4-RAVEN #0 Sat Jul 29 09:00:00 CDT 2017 root@octavia.unreal.systems:/usr/obj/usr/src/sys/GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- PATH=/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin RAVENSW_CACHEDIR=/var/cache/pkg8 RAVENSW_DBDIR=/var/db/pkg8 SSL_VARIANT=libressl RAVENADM=building XML_CATALOG_FILES=/raven/share/xml/catalog SGML_CATALOG_FILES=/raven/share/sgml/docbook/catalog HOME=/root USER=root SHELL=/bin/sh TERM=dumb LANG=C -------------------------------------------------- -- Options -------------------------------------------------- This port has no build options. -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake CONFIG_SITE=/xports/Mk/Templates/config.site ADA_PROJECT_PATH="/raven/share/gpr" F77="gfortran" FC="gfortran" CCACHE_DIR="/ccache" PATH=/usr/libexec:/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/raven --disable-dependency-tracking ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" PREFIX=/raven LOCALBASE=/raven OPSYS="DragonFly" CC="cc" CFLAGS="-pipe -O2 -I/raven/include" CPP="cpp" CPPFLAGS="-I/raven/include" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-pipe -O2 -I/raven/include" STD_DOCDIR="/raven/share/doc/xdelta3" STD_EXAMPLESDIR="/raven/share/examples/xdelta3" MANPREFIX="/raven/share" ADA_PROJECT_PATH="/raven/share/gpr" F77="gfortran" FC="gfortran" CCACHE_DIR="/ccache" PATH=/usr/libexec:/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/xdelta3/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OPSYS=DragonFly ONLY-DRAGONFLY="" ASLIB="lib" EXCLUDE-DARWIN="" LIBEXT="so" SHARED_OBJECT="so" ONLY-FREEBSD="@comment " ONLY-NETBSD="@comment " ONLY-LINUX="@comment " ONLY-SUNOS="@comment " ONLY-DARWIN="@comment " ONLY-MIDNIGHTBSD="@comment " -------------------------------------------------- -- SUB_LIST -------------------------------------------------- LOCALBASE=/raven PREFIX=/raven ETCDIR=/raven/etc/xdelta3 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- RAVENPROFILE=release64 RAVENBASE=/raven WRKDIRPREFIX=/construction DISTDIR=/distfiles NUMBER_CPUS=24 MAKE_JOBS_NUMBER_LIMIT=10 BUILD_WITH_CCACHE=yes CCACHE_DIR=/ccache -------------------------------------------------------------------------------- -- Phase: dependencies -------------------------------------------------------------------------------- ===> Installing gmake-primary-standard package Installing gmake-primary-standard-4.4... `-- Installing indexinfo-single-standard-0.3.1... | `-- Installing zlib-primary-standard-1.2.13_2... | `-- Extracting zlib-primary-standard-1.2.13_2: .... done `-- Extracting indexinfo-single-standard-0.3.1: ... done Extracting gmake-primary-standard-4.4: ........ done ===> Installing autoconf-single-standard package Installing autoconf-single-standard-2.71... `-- Installing m4-primary-standard-1.4.19... `-- Extracting m4-primary-standard-1.4.19: ........ done `-- Installing perl-5.36-primary-standard-5.36.1... | `-- Installing ravensys-gcc-libs-standard-13.2.0... | `-- Extracting ravensys-gcc-libs-standard-13.2.0: .......... done | `-- Installing gdbm-primary-standard-1.23... | | `-- Installing gettext-primary-standard-0.22... | | `-- Extracting gettext-primary-standard-0.22: ....... done | `-- Extracting gdbm-primary-standard-1.23: ....... done | `-- Installing db5-primary-standard-5.3.28_5... | `-- Extracting db5-primary-standard-5.3.28_5: ........ done | `-- Installing autoselect-perl-single-standard-6... | `-- Extracting autoselect-perl-single-standard-6: .......... done `-- Extracting perl-5.36-primary-standard-5.36.1: .......... done `-- Installing autotools-wrappers-autoconf-standard-20131203... `-- Extracting autotools-wrappers-autoconf-standard-20131203: ........ done Extracting autoconf-single-standard-2.71: .......... done ===> Installing automake-single-standard package Installing automake-single-standard-1.16.5... `-- Installing autotools-wrappers-automake-standard-20131203... `-- Extracting autotools-wrappers-automake-standard-20131203: ... done Extracting automake-single-standard-1.16.5: .......... done ===> Installing libtool-single-standard package Installing libtool-single-standard-2.4.7... Extracting libtool-single-standard-2.4.7: .......... done -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching for xdelta3-standard -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching for xdelta3-standard ===> Extracting for xdelta3-standard => SHA256 Checksum OK for jmacd-xdelta-3.1.0.tar.gz. ===> Extracting license terms from /construction/xdelta3/xdelta-3.1.0/xdelta3/xdelta3.h ===> Creating package metadata (single) -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xdelta3-standard ===> Applying common patches for xdelta3-standard -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xdelta3-standard libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:8: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_check_aligned_access_required.m4:54: AX_CHECK_ALIGNED_ACCESS_REQUIRED is expanded from... configure.ac:8: the top level configure.ac:17: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:17: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:17: the top level configure.ac:5: installing './compile' configure.ac:5: installing './config.guess' configure.ac:5: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' Makefile.am:49: warning: variable 'GOLANG_SOURCES' is defined but no program or Makefile.am:49: library has 'GOLANG' as canonical name (possible typo) ==> cd /construction/xdelta3/xdelta-3.1.0/xdelta3 && /usr/bin/env CC="cc" CPP="cpp" CXX="c++" CFLAGS="-pipe -O2 -I/raven/include" CPPFLAGS="-I/raven/include" CXXFLAGS="-pipe -O2 -I/raven/include" LDFLAGS="" LIBS="" INSTALL="/usr/bin/install -c" INSTALL_DATA="install -m 0644" INSTALL_LIB="install -s -m 444" INSTALL_PROGRAM="install -s -m 555" INSTALL_SCRIPT="install -m 555" MAKE=gmake CONFIG_SITE=/xports/Mk/Templates/config.site ADA_PROJECT_PATH=/raven/share/gpr F77=gfortran FC=gfortran CCACHE_DIR=/ccache PATH=/usr/libexec:/bin:/usr/bin:/raven/toolchain/ravensys-gcc/bin:/raven/toolchain/bin:/raven/sbin:/raven/bin ./configure --prefix=/raven --disable-dependency-tracking configure: loading site script /xports/Mk/Templates/config.site checking build system type... x86_64-raven-dragonfly6.4 checking host system type... x86_64-raven-dragonfly6.4 checking how to print strings... printf checking for gcc... cc 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 the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/grep -E checking for fgrep... (cached) /usr/bin/grep -F checking for ld used by cc... /raven/toolchain/bin/ld checking if the linker (/raven/toolchain/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /raven/toolchain/bin/nm -B checking the name lister (/raven/toolchain/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64-raven-dragonfly6.4 file names to x86_64-raven-dragonfly6.4 format... func_convert_file_noop checking how to convert x86_64-raven-dragonfly6.4 file names to toolchain format... func_convert_file_noop checking for /raven/toolchain/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... (cached) /usr/bin/awk checking command to parse /raven/toolchain/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... checking how to truncate binary pipes... /usr/bin/sed -e 4q checking for mt... no checking if : is a manifest tool... no checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/raven/toolchain/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly6.4 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 race-free mkdir -p... (cached) /bin/mkdir -p checking whether gmake sets $(MAKE)... yes checking whether gmake supports the include directive... yes (GNU style) checking whether gmake supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... (cached) /usr/bin/tar checking dependency style of cc... none checking if pointers to integers require aligned access... no checking for gcc... (cached) cc checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /raven/toolchain/bin/ld checking if the linker (/raven/toolchain/bin/ld) is GNU ld... yes checking whether the c++ linker (/raven/toolchain/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/raven/toolchain/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly6.4 ld.so checking how to hardcode library paths into programs... immediate checking dependency style of c++... none 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 for lzma.h... no checking for lzma_easy_buffer_encode in -llzma... no 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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for xdelta3-standard ==> Set environment: BSD_INSTALL_PROGRAM=install -s -m 555 BSD_INSTALL_LIB=install -s -m 444 BSD_INSTALL_SCRIPT=install -m 555 BSD_INSTALL_DATA=install -m 0644 BSD_INSTALL_MAN=install -m 444 PREFIX=/raven LOCALBASE=/raven OPSYS=DragonFly CC=cc CFLAGS=-pipe -O2 -I/raven/include CPP=cpp CPPFLAGS=-I/raven/include LDFLAGS= LIBS= CXX=c++ CXXFLAGS=-pipe -O2 -I/raven/include STD_DOCDIR=/raven/share/doc/xdelta3 STD_EXAMPLESDIR=/raven/share/examples/xdelta3 MANPREFIX=/raven/share ==> cd /construction/xdelta3/xdelta-3.1.0/xdelta3; gmake -f Makefile -j10 all gmake[1]: Entering directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' gmake all-am gmake[2]: Entering directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' cc -DHAVE_CONFIG_H -I. -I/raven/include -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 -pipe -O2 -I/raven/include -c -o xdelta3-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c cc -DHAVE_CONFIG_H -I. -I/raven/include -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 -pipe -O2 -I/raven/include -c -o xdelta3decode-xdelta3.o `test -f 'xdelta3.c' || echo './'`xdelta3.c c++ -DHAVE_CONFIG_H -I. -I/raven/include -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 -pipe -O2 -I/raven/include -c -o testing/xdelta3regtest-regtest.o `test -f 'testing/regtest.cc' || echo './'`testing/regtest.cc cc -DHAVE_CONFIG_H -I. -I/raven/include -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 -pipe -O2 -I/raven/include -c -o testing/xdelta3regtest-regtest_c.o `test -f 'testing/regtest_c.c' || echo './'`testing/regtest_c.c c++ -DHAVE_CONFIG_H -I. -I/raven/include -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 -pipe -O2 -I/raven/include -c -o testing/xdelta3checksum-checksum_test.o `test -f 'testing/checksum_test.cc' || echo './'`testing/checksum_test.cc cc -DHAVE_CONFIG_H -I. -I/raven/include -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 -pipe -O2 -I/raven/include -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: | ^~~~ /bin/sh ./libtool --tag=CC --mode=link cc -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 -pipe -O2 -I/raven/include -o xdelta3decode xdelta3decode-xdelta3.o libtool: link: cc -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 -pipe -O2 -I/raven/include -o xdelta3decode xdelta3decode-xdelta3.o 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 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:408:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 408 | 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; } | ^~~~ 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); | ^ 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))) | ^ 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: | ^~~~ xdelta3-main.h: In function 'main': xdelta3-main.h:3752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 3752 | option_force2 = 1; | ~~~~~~~~~~~~~~^~~ xdelta3-main.h:3758:9: note: here 3758 | case 'v': option_verbose += 1; option_quiet = 0; break; | ^~~~ 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; } | ^~~~ /bin/sh ./libtool --tag=CC --mode=link cc -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 -pipe -O2 -I/raven/include -o xdelta3 xdelta3-xdelta3.o -lm libtool: link: cc -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 -pipe -O2 -I/raven/include -o xdelta3 xdelta3-xdelta3.o -lm 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); | ^ 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: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: | ^~~~ 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) | ^ 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; } | ^~~~ /bin/sh ./libtool --tag=CXX --mode=link c++ -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 -pipe -O2 -I/raven/include -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm libtool: link: c++ -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 -pipe -O2 -I/raven/include -o xdelta3regtest testing/xdelta3regtest-regtest.o testing/xdelta3regtest-regtest_c.o -lm 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*]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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]' 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]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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*]' 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*>]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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]' 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]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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]' 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]' 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]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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]' 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]' 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]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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*]' 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*>]' 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]' 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]' 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]' 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]' 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*]' 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]' testing/checksum_test.cc:521:8: required from here 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) | ^~~~~~~~~~~~~~ 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 /raven/toolchain/ravensys-gcc/include/c++/13.2.0/x86_64-raven-dragonfly6.4/bits/c++allocator.h:33, from /raven/toolchain/ravensys-gcc/include/c++/13.2.0/bits/allocator.h:46, from /raven/toolchain/ravensys-gcc/include/c++/13.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: /raven/toolchain/ravensys-gcc/include/c++/13.2.0/bits/new_allocator.h:147:55: note: object of size 384 allocated by 'operator new' 147 | 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: /raven/toolchain/ravensys-gcc/include/c++/13.2.0/bits/new_allocator.h:147:55: note: object of size 384 allocated by 'operator new' 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /bin/sh ./libtool --tag=CXX --mode=link c++ -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 -pipe -O2 -I/raven/include -o xdelta3checksum testing/xdelta3checksum-checksum_test.o testing/xdelta3checksum-checksum_test_c.o libtool: link: c++ -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 -pipe -O2 -I/raven/include -o xdelta3checksum testing/xdelta3checksum-checksum_test.o testing/xdelta3checksum-checksum_test_c.o gmake[2]: Leaving directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' gmake[1]: Leaving directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xdelta3-standard ===> Generating temporary packing list (single) gmake[1]: Entering directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' gmake[2]: Entering directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' /bin/mkdir -p '/construction/xdelta3/stage/raven/bin' /bin/sh ./libtool --mode=install install -s -m 555 xdelta3 '/construction/xdelta3/stage/raven/bin' libtool: install: install -m 555 -s xdelta3 /construction/xdelta3/stage/raven/bin/xdelta3 /bin/mkdir -p '/construction/xdelta3/stage/raven/share/man/man1' install -m 0644 xdelta3.1 '/construction/xdelta3/stage/raven/share/man/man1' gmake[2]: Leaving directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' gmake[1]: Leaving directory '/construction/xdelta3/xdelta-3.1.0/xdelta3' ====> Start compressing man pages ====> Man page compression complete ====> Install license terms (single) ====> Install GPLv2+ license (single) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building xdelta3-single-standard-3.1.0 subpackage file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Sunday,13 AUG 2023 at 09:12:10 UTC Duration: 00:00:44