Diff of the two buildlogs: -- --- b1/build.log 2024-04-14 17:03:47.143379953 +0000 +++ b2/build.log 2024-04-14 17:06:09.389311508 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 14 04:58:36 -12 2024 -I: pbuilder-time-stamp: 1713113916 +I: Current time: Sun May 18 13:26:55 +14 2025 +I: pbuilder-time-stamp: 1747524415 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -40,54 +40,86 @@ dpkg-source: info: applying fix-pthread-hurd.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/31285/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 17 23:27 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='1754f7c8d7ff4071993c4d646881946a' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='31285' - PS1='# ' - PS2='> ' + INVOCATION_ID=3f691537f8f84b1ab3880bfb58dceded + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2870 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.acU0nr6X/pbuilderrc_pLAM --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.acU0nr6X/b1 --logfile b1/build.log sphinxsearch_2.2.11-8.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.acU0nr6X/pbuilderrc_kASQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.acU0nr6X/b2 --logfile b2/build.log sphinxsearch_2.2.11-8.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 10 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/31285/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 17 17:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -210,7 +242,7 @@ Get: 67 http://deb.debian.org/debian trixie/main i386 pkgconf-bin i386 1.8.1-1+b2 [30.2 kB] Get: 68 http://deb.debian.org/debian trixie/main i386 pkgconf i386 1.8.1-1+b2 [26.2 kB] Get: 69 http://deb.debian.org/debian trixie/main i386 unixodbc-dev i386 2.3.12-1+b1 [254 kB] -Fetched 28.6 MB in 1s (41.5 MB/s) +Fetched 28.6 MB in 0s (57.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19874 files and directories currently installed.) @@ -512,7 +544,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/sphinxsearch-2.2.11/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../sphinxsearch_2.2.11-8_source.changes +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sphinxsearch-2.2.11/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sphinxsearch_2.2.11-8_source.changes dpkg-buildpackage: info: source package sphinxsearch dpkg-buildpackage: info: source version 2.2.11-8 dpkg-buildpackage: info: source distribution unstable @@ -915,7 +951,7 @@ make[1]: Leaving directory '/build/reproducible-path/sphinxsearch-2.2.11' dh_auto_build - make -j11 + make -j21 make[1]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11' Making all in src make[2]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11/src' @@ -933,32 +969,52 @@ g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemcz.o sphinxstemcz.cpp g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemar.o sphinxstemar.cpp g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxutils.o sphinxutils.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstd.o sphinxstd.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsort.o sphinxsort.cpp In file included from sphinx.h:42, - from sphinxsoundex.cpp:16: + from indexer.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxexpr.o sphinxexpr.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxfilter.o sphinxfilter.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsearch.o sphinxsearch.cpp In file included from sphinx.h:42, - from sphinxstemar.cpp:30: + from sphinxquery.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxrt.o sphinxrt.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxjson.o sphinxjson.cpp In file included from sphinx.h:42, from sphinxstemen.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxudf.o sphinxudf.c In file included from sphinx.h:42, - from sphinxmetaphone.cpp:16: + from sphinxstemru.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxaot.o sphinxaot.cpp +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxplugin.o sphinxplugin.cpp In file included from sphinx.h:42, - from sphinxquery.cpp:16: + from sphinxexcerpt.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinx.h:42, + from sphinxsoundex.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; @@ -970,25 +1026,21 @@ 2110 | sphSafeInfo ( iFD, "Host OS is "OS_UNAME ); | ^ In file included from sphinx.h:42, - from indexer.cpp:16: + from sphinxstd.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ In file included from sphinx.h:42, - from sphinxstemru.cpp:16: + from sphinxmetaphone.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ In file included from sphinx.h:42, from sphinxstemcz.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': @@ -996,6 +1048,12 @@ 277 | register DWORD tmp; | ^~~ In file included from sphinx.h:42, + from sphinxstemar.cpp:30: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinx.h:42, from sphinxutils.cpp:19: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -1005,16 +1063,12 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ +sphinxrt.cpp:4799:48: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 4799 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT + | ^ In file included from sphinx.h:42, - from sphinxexcerpt.cpp:16: + from sphinxfilter.h:19, + from sphinxfilter.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; @@ -1023,27 +1077,76 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ +In file included from indexer.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ sphinx.cpp:27894:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27894 | "docid="DOCID_FMT, SqlFieldName(iIndex), iPackedLen, m_tDocInfo.m_uDocID ); | ^ sphinx.cpp:27910:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 27910 | " docid="DOCID_FMT, SqlFieldName(iIndex), (int)uSize, m_tDocInfo.m_uDocID ); | ^ +In file included from sphinx.h:42, + from sphinxrt.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinx.h:42, + from sphinxsearch.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ +In file included from sphinx.h:42, + from sphinxexpr.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstd.o sphinxstd.cpp +In file included from sphinx.h:42, + from sphinxaot.cpp:19: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinxsearch.h:21, + from sphinxexcerpt.cpp:19: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ sphinxstemen.cpp: In function 'int stem_en_id(unsigned char)': sphinxstemen.cpp:50:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 50 | register unsigned char * v = stem_en_doubles; | ^ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ In file included from sphinx.h:42, - from sphinx.cpp:16: + from sphinxjson.h:19, + from sphinxjson.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; @@ -1052,14 +1155,14 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -In file included from sphinxmetaphone.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ In file included from sphinxstemru.cpp:109: sphinxstemru.inl: In function 'int stem_ru_adjectival_utf8(short unsigned int*, int)': sphinxstemru.inl:416:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -1069,10 +1172,30 @@ sphinxstemru.inl:425:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 425 | register int i = LOC_PREFIX(stem_ru_verb_i) ( word, len ); | ^ +In file included from sphinx.h:42, + from sphinx.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ +In file included from sphinxstd.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +In file included from sphinx.h:42, + from sphinxplugin.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ sphinxquery.cpp: In function 'CSphString sphReconstructNode(const XQNode_t*, const CSphSchema*)': sphinxquery.cpp:1916:67: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 1916 | sFields.SetSprintf ( "%s,%d", sFields.cstr(), pNode->m_dSpec.m_dFieldMask.GetMask32() ); @@ -1080,7 +1203,25 @@ | | | | int DWORD {aka long unsigned int} | %ld -In file included from indexer.cpp:17: +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinx.h:42, + from sphinxsort.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinxmetaphone.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1088,7 +1229,16 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -In file included from sphinxutils.cpp:21: +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from sphinxsearch.h:21, + from sphinxsearch.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1100,8 +1250,7 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -In file included from sphinxsearch.h:21, - from sphinxexcerpt.cpp:19: +In file included from sphinxutils.cpp:21: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1109,15 +1258,7 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -In file included from sphinx.h:42, - from sphinxstd.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsort.o sphinxsort.cpp -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxexpr.o sphinxexpr.cpp -In file included from sphinx.cpp:22: +In file included from sphinxfilter.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1125,12 +1266,7 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxfilter.o sphinxfilter.cpp -In file included from sphinxstd.cpp:17: +In file included from sphinxexpr.cpp:21: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1138,34 +1274,12 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -In file included from sphinx.h:42, - from sphinxexpr.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from sphinxsort.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinx.h:42, - from sphinxfilter.h:19, - from sphinxfilter.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -In file included from sphinxexpr.cpp:21: +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o searchd.o searchd.cpp +In file included from sphinxaot.cpp:20: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1177,7 +1291,12 @@ sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; | ^~~~~~ -In file included from sphinxsort.cpp:17: +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o spelldump.o spelldump.cpp +sphinxaot.cpp: In function 'int Utf8ToWin1251(BYTE*, const BYTE*)': +sphinxaot.cpp:1136:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1136 | register BYTE uWin = dTable [ ( pWord[1] & 0x7F ) + ( ( pWord[0] & 1 )<<6 ) ]; + | ^~~~ +In file included from sphinx.cpp:22: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1185,8 +1304,7 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsearch.o sphinxsearch.cpp -In file included from sphinxfilter.cpp:17: +In file included from sphinxrt.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1194,370 +1312,7 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -In file included from sphinx.h:42, - from sphinxsearch.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinxsort.cpp: In static member function 'static bool MatchGeneric2_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3430 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3430 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3430 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3430 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3431 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3431 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3431 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3431 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp: In static member function 'static bool MatchGeneric3_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3446 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3446 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3446 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3446 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3447 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3447 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3447 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3447 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3448 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3448 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3448 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3448 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp: In static member function 'static bool MatchGeneric4_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3463 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3463 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3463 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3463 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3464 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3464 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3464 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3464 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3465 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3465 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3465 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3465 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3466 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3466 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3466 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3466 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp: In static member function 'static bool MatchGeneric5_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3481 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3481 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3481 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3481 | SPH_TEST_KEYPART(0); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3482 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3482 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3482 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3482 | SPH_TEST_KEYPART(1); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3483 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3483 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3483 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3483 | SPH_TEST_KEYPART(2); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3484 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3484 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3484 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3484 | SPH_TEST_KEYPART(3); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3485 | SPH_TEST_KEYPART(4); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3485 | SPH_TEST_KEYPART(4); - | ^~~~~~~~~~~~~~~~ -sphinxexpr.cpp: In member function 'virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const': -sphinxexpr.cpp:628:80: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] - 628 | m_sBuilder.Appendf ( "%u", *pValues++ ); - | ~^ ~~~~~~~~~~ - | | | - | | long unsigned int - | unsigned int - | %lu -sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3485 | SPH_TEST_KEYPART(4); - | ^~~~~~~~~~~~~~~~ -sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ - | ^~ -sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' - 3485 | SPH_TEST_KEYPART(4); - | ^~~~~~~~~~~~~~~~ -sphinxstd.cpp: In constructor 'CSphProcessSharedMutex::CSphProcessSharedMutex(int)': -sphinxstd.cpp:841:76: warning: '%s' directive argument is null [-Wformat-overflow=] - 841 | m_sError.SetSprintf ( "storage.alloc, error='%s', warning='%s'", sError.cstr(), sWarning.cstr() ); - | ^~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinxsearch.h:21, - from sphinxsearch.cpp:17: +In file included from sphinxsort.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1565,181 +1320,71 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -sphinxexpr.cpp: In member function 'int ExprParser_t::AddNodeUdf(int, int)': -sphinxexpr.cpp:6081:128: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 6081 | m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); - | ~^ - | | - | int - | %ld -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxrt.o sphinxrt.cpp -sphinx.cpp: In function 'DWORD ReadVersion(const char*, CSphString&)': -sphinx.cpp:1330:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:1330:63: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] - 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld -sphinxrt.cpp:4799:48: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 4799 | LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT - | ^ -sphinxsearch.cpp: In member function 'DWORD RankerState_Export_fn::Finalize(const CSphMatch&)': -sphinxsearch.cpp:8882:67: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", - | ~^ - | | - | int - | %ld - 8883 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); - | ~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinxsearch.cpp:8882:92: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", - | ~^ - | | - | int - | %ld - 8883 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinxsearch.cpp:8882:111: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", - | ~^ - | | - | int - | %ld - 8883 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); - | ~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinxsearch.cpp:8892:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 8892 | "(lcs=%d, hit_count=%d, word_count=%d, " - | ~^ - | | - | int - | %ld -...... - 8896 | m_uLCS[i], m_uHitCount[i], m_uWordCount[i], - | ~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -sphinxsearch.cpp:8892:69: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 8892 | "(lcs=%d, hit_count=%d, word_count=%d, " - | ~^ - | | - | int - | %ld -...... - 8896 | m_uLCS[i], m_uHitCount[i], m_uWordCount[i], - | ~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -In file included from sphinx.h:42, - from sphinxrt.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.cpp: In function 'DWORD sphUnzipInt(const BYTE*&)': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' - 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' - 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In function 'SphOffset_t sphUnzipOffset(const BYTE*&)': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' - 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' - 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In member function 'DWORD CSphReader::UnzipInt()': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' - 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' - 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp: In member function 'uint64_t CSphReader::UnzipOffset()': -sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8361 | register DWORD b = _getexpr; \ - | ^ -sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' - 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8362 | register _type res = 0; \ - | ^~~ -sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' - 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } - | ^~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxjson.o sphinxjson.cpp -sphinx.cpp: In member function 'DWORD CSphBin::UnzipInt()': -sphinx.cpp:8727:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8727 | register int b = 0; - | ^ -sphinx.cpp:8728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8728 | register DWORD v = 0; - | ^ -sphinx.cpp: In member function 'SphOffset_t CSphBin::UnzipOffset()': -sphinx.cpp:8741:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8741 | register int b = 0; - | ^ -sphinx.cpp:8742:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8742 | register SphOffset_t v = 0; - | ^ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const': -sphinx.cpp:10488:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -10488 | sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); - | ~^ ~~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:10605:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -10605 | sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), *m_pAttrsStatus ); - | ~^ ~~~~~~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp: In function 'int encodeVLB(BYTE*, DWORD)': -sphinx.cpp:11541:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -11541 | register BYTE b; +In file included from sphinxjson.cpp:17: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; | ^ -sphinx.cpp:11542:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -11542 | register int n = 0; +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; | ^ -In file included from sphinxrt.cpp:17: +sphinxjson.cpp: In member function 'void JsonParser_c::DebugDump(ESphJsonType, const BYTE**, int)': +sphinxjson.cpp:442:42: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 442 | printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ + | | + | DWORD {aka long unsigned int} +In file included from sphinxjson.cpp:542: +llsphinxjson.c: In function 'int my_lex(JsonNode_t*, void*, JsonParser_c*)': +llsphinxjson.c:727:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 727 | register yy_state_type yy_current_state; + | ^~~~~~~~~~~~~~~~ +llsphinxjson.c:728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 728 | register char *yy_cp, *yy_bp; + | ^~~~~ +llsphinxjson.c:728:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 728 | register char *yy_cp, *yy_bp; + | ^~~~~ +llsphinxjson.c:729:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 729 | register int yy_act; + | ^~~~~~ +llsphinxjson.c:779:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 779 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + | ^~~~ +llsphinxjson.c: In function 'int yy_get_next_buffer(yyscan_t)': +llsphinxjson.c:1056:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1056 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + | ^~~~ +llsphinxjson.c:1057:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1057 | register char *source = yyg->yytext_ptr; + | ^~~~~~ +llsphinxjson.c:1058:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1058 | register int number_to_move, i; + | ^~~~~~~~~~~~~~ +llsphinxjson.c:1058:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1058 | register int number_to_move, i; + | ^ +llsphinxjson.c: In function 'yy_state_type yy_get_previous_state(yyscan_t)': +llsphinxjson.c:1190:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1190 | register yy_state_type yy_current_state; + | ^~~~~~~~~~~~~~~~ +llsphinxjson.c:1191:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1191 | register char *yy_cp; + | ^~~~~ +llsphinxjson.c:1198:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1198 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + | ^~~~ +llsphinxjson.c: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)': +llsphinxjson.c:1223:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1223 | register int yy_is_jam; + | ^~~~~~~~~ +llsphinxjson.c:1225:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1225 | register char *yy_cp = yyg->yy_c_buf_p; + | ^~~~~ +llsphinxjson.c:1227:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1227 | register YY_CHAR yy_c = 1; + | ^~~~ +In file included from sphinxplugin.cpp:17: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -1747,19 +1392,28 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o indextool.o indextool.cpp +sphinxexpr.cpp: In member function 'virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const': +sphinxexpr.cpp:628:80: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] + 628 | m_sBuilder.Appendf ( "%u", *pValues++ ); + | ~^ ~~~~~~~~~~ + | | | + | | long unsigned int + | unsigned int + | %lu +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o wordbreaker.o wordbreaker.cpp In file included from sphinx.h:42, - from sphinxjson.h:19, - from sphinxjson.cpp:16: + from spelldump.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinx.h:42, + from searchd.cpp:16: sphinxstd.h: In function 'int sphBitCount(DWORD)': sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register DWORD tmp; | ^~~ -sphinx.cpp: In function 'bool CopyFile(const char*, const char*, CSphString&, ThrottleState_t*, volatile bool*, volatile bool*)': -sphinx.cpp:14098:54: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -14098 | sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ - | | - | DWORD {aka long unsigned int} sphinxrt.cpp: In member function 'virtual bool RtIndex_t::Prealloc(bool, bool, CSphString&)': sphinxrt.cpp:4086:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4086 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sMeta.cstr(), uVersion, META_VERSION ); @@ -1773,10 +1427,17 @@ | | | | int long unsigned int | %ld -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ +In file included from sphinx.h:42, + from indextool.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinxstd.cpp: In constructor 'CSphProcessSharedMutex::CSphProcessSharedMutex(int)': +sphinxstd.cpp:841:76: warning: '%s' directive argument is null [-Wformat-overflow=] + 841 | m_sError.SetSprintf ( "storage.alloc, error='%s', warning='%s'", sError.cstr(), sWarning.cstr() ); + | ^~ +g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o tests.o tests.cpp sphinxrt.cpp: In member function 'virtual int RtIndex_t::DebugCheck(FILE*)': sphinxrt.cpp:4739:64: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4739 | LOC_FAIL(( fp, "embedded zero in a word list string (segment=%d, offset=%u, string=%s)", @@ -1852,6 +1513,31 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp: In static member function 'static bool MatchGeneric2_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3430 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3430 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3430 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3430:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3430 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4821:48: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4821 | LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1878,6 +1564,12 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3431 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4830:48: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4830 | LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1904,6 +1596,73 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3431 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3431 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3431:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3431 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp: In static member function 'static bool MatchGeneric3_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3446 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3446 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3446 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3446:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3446 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3447 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3447 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3447 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3447:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3447 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4837:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4837 | LOC_FAIL(( fp, "doclist offset pointing past doclist (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1923,6 +1682,18 @@ | | | unsigned int | %lu +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3448 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3448 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4862:56: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4862 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1936,6 +1707,18 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3448 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3448:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3448 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4874:56: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4874 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1975,6 +1758,19 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp: In static member function 'static bool MatchGeneric4_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3463 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3463 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4910:64: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4910 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1988,19 +1784,18 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ -sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)': -sphinx.cpp:16497:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld -sphinx.cpp:16497:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] -16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3463 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3463:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3463 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4923:64: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4923 | LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2014,6 +1809,85 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3464 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3464 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3464 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3464:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3464 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3465 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3465 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3465 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3465:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3465 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3466 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3466 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3466 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3466:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3466 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp: In static member function 'static bool MatchGeneric5_fn::IsLess(const CSphMatch&, const CSphMatch&, const CSphMatchComparatorState&)': +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3481 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4963:64: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4963 | LOC_FAIL(( fp, "invalid field id in an embedded hit (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2027,6 +1901,18 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3481 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3481 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4971:64: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4971 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2040,6 +1926,12 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3481:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3481 | SPH_TEST_KEYPART(0); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4971:64: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4971 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2066,6 +1958,12 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3482 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4981:64: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4981 | LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2079,6 +1977,18 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3482 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3482 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4989:64: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4989 | LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2089,6 +1999,12 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3482:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3482 | SPH_TEST_KEYPART(1); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:4989:64: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 4989 | LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2099,6 +2015,18 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3483 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3483 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:5018:72: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5018 | LOC_FAIL(( fp, "invalid field id in a hitlist (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2112,6 +2040,66 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3483 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3483:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3483 | SPH_TEST_KEYPART(2); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3484 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3484 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3484 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3484:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3484 | SPH_TEST_KEYPART(3); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3398:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3398 | register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3485 | SPH_TEST_KEYPART(4); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3399:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3399 | register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3485 | SPH_TEST_KEYPART(4); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3405:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3405 | register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3485 | SPH_TEST_KEYPART(4); + | ^~~~~~~~~~~~~~~~ +sphinxsort.cpp:3406:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 3406 | register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \ + | ^~ +sphinxsort.cpp:3485:17: note: in expansion of macro 'SPH_TEST_KEYPART' + 3485 | SPH_TEST_KEYPART(4); + | ^~~~~~~~~~~~~~~~ sphinxrt.cpp:5026:72: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5026 | LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2138,13 +2126,6 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ -sphinx.cpp: In member function 'virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)': -sphinx.cpp:16812:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -16812 | fprintf ( fp, "version: %d\n", m_uVersion ); - | ~^ ~~~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld sphinxrt.cpp:5040:72: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5040 | LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2155,6 +2136,13 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinxexpr.cpp: In member function 'int ExprParser_t::AddNodeUdf(int, int)': +sphinxexpr.cpp:6081:128: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 6081 | m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); + | ~^ + | | + | int + | %ld sphinxrt.cpp:5040:72: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5040 | LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2165,6 +2153,10 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ sphinxrt.cpp:5061:56: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5061 | LOC_FAIL(( fp, "wrong document field mask (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", mask=%u, total_fields=%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2208,13 +2200,6 @@ | | | unsigned int | %lu -sphinx.cpp:16901:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -16901 | fprintf ( fp, "killlist-size: %u\n", m_uKillListSize ); - | ~^ ~~~~~~~~~~~~~~~ - | | | - | | DWORD {aka long unsigned int} - | unsigned int - | %lu sphinxrt.cpp:5184:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5184 | LOC_FAIL(( fp, "empty attribute string found (segment=%d, offset=%u)", iSegment, (DWORD)(pCurStr-pBaseStr) )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2479,6 +2464,10 @@ | | | unsigned int | %lu +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ sphinxrt.cpp:5372:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 5372 | LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2549,7 +2538,79 @@ sphinxrt.cpp:4560:17: note: in definition of macro 'LOC_FAIL' 4560 | fprintf _args; \ | ^~~~~ -In file included from sphinxjson.cpp:17: +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from wordbreaker.cpp:25: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +In file included from sphinx.h:42, + from tests.cpp:16: +sphinxstd.h: In function 'int sphBitCount(DWORD)': +sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 277 | register DWORD tmp; + | ^~~ +sphinxsearch.cpp: In member function 'DWORD RankerState_Export_fn::Finalize(const CSphMatch&)': +sphinxsearch.cpp:8882:67: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", + | ~^ + | | + | int + | %ld + 8883 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); + | ~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinxsearch.cpp:8882:92: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", + | ~^ + | | + | int + | %ld + 8883 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinxsearch.cpp:8882:111: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 8882 | snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", + | ~^ + | | + | int + | %ld + 8883 | m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); + | ~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinxsearch.cpp:8892:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 8892 | "(lcs=%d, hit_count=%d, word_count=%d, " + | ~^ + | | + | int + | %ld +...... + 8896 | m_uLCS[i], m_uHitCount[i], m_uWordCount[i], + | ~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinxsearch.cpp:8892:69: warning: format '%d' expects argument of type 'int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 8892 | "(lcs=%d, hit_count=%d, word_count=%d, " + | ~^ + | | + | int + | %ld +...... + 8896 | m_uLCS[i], m_uHitCount[i], m_uWordCount[i], + | ~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': +sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; + | ^~~~~~ +In file included from indextool.cpp:18: sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1077 | register BYTE b; @@ -2557,17 +2618,410 @@ sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1078 | register int n = 0; | ^ -sphinxjson.cpp: In member function 'void JsonParser_c::DebugDump(ESphJsonType, const BYTE**, int)': -sphinxjson.cpp:442:42: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 442 | printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ - | | - | DWORD {aka long unsigned int} -In file included from sphinxjson.cpp:542: -llsphinxjson.c: In function 'int my_lex(JsonNode_t*, void*, JsonParser_c*)': -llsphinxjson.c:727:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 727 | register yy_state_type yy_current_state; +In file included from searchd.cpp:20: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +In file included from tests.cpp:21: +sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': +sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1077 | register BYTE b; + | ^ +sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1078 | register int n = 0; + | ^ +sphinxrt.cpp: In member function 'void RtBinlog_c::LoadMeta()': +sphinxrt.cpp:9357:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 9357 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", + | ~^ + | | + | int + | %ld + 9358 | sMeta.cstr(), uVersion, BINLOG_VERSION ); + | ~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinxrt.cpp:9357:69: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 9357 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", + | ~^ + | | + | int + | %ld + 9358 | sMeta.cstr(), uVersion, BINLOG_VERSION ); + | ~~~~~~~~~~~~~~ + | | + | long unsigned int +sphinxrt.cpp:9369:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 9369 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", + | ~^ + | | + | int + | %ld + 9370 | sMeta.cstr(), uVersion, BINLOG_VERSION ); + | ~~~~~~~~ + | | + | DWORD {aka long unsigned int} +sphinxrt.cpp:9369:69: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 9369 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", + | ~^ + | | + | int + | %ld + 9370 | sMeta.cstr(), uVersion, BINLOG_VERSION ); + | ~~~~~~~~~~~~~~ + | | + | long unsigned int +sphinxrt.cpp: In member function 'int RtBinlog_c::ReplayBinlog(const SmallStringHash_T&, DWORD, int)': +sphinxrt.cpp:9565:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 9565 | sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); + | ~^ ~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinxrt.cpp:9565:64: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 9565 | sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); + | ~^ ~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +tests.cpp: In function 'void BenchStemmer()': +tests.cpp:3149:68: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 3149 | printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", + | ~~~^ + | | + | unsigned int + | %08lx + 3150 | iToks, iBytes, (int)(tmStem/1000), + 3151 | (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +tests.cpp:3149:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 3149 | printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", + | ~~~^ + | | + | unsigned int + | %08lx + 3150 | iToks, iBytes, (int)(tmStem/1000), + 3151 | (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In member function 'virtual bool SearchReplyParser_t::ParseReply(MemInputBuffer_c&, AgentConn_t&) const': +searchd.cpp:6166:104: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 6166 | default: tAgent.m_sFailure.SetSprintf ( "internal error: unknown status %d", eStatus ); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In function 'void LogQueryPlain(const CSphQuery&, const CSphQueryResult&)': +searchd.cpp:7064:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] + 7064 | tBuf.Appendf ( "ios=%d kb=%d.%d ioms=%d.%d", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 7065 | IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, + | ~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp: In function 'void FormatOption(const CSphQuery&, CSphStringBuilder&)': +searchd.cpp:7374:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] + 7374 | tBuf.Appendf ( "max_query_time=%u", tQuery.m_uMaxQueryMsec ); + | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp: In function 'void LogQuerySphinxql(const CSphQuery&, const CSphQueryResult&, const CSphVector&)': +searchd.cpp:7555:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] + 7555 | tBuf.Appendf ( " ios=%d kb=%d.%d ioms=%d.%d", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 7556 | IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, + | ~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp: In member function 'bool GenericMatchSort_fn::IsLess(const CSphMatch*, const CSphMatch*) const': +searchd.cpp:8583:52: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8583 | register SphAttr_t aa = a->GetAttr ( m_tLocator[i] ); + | ^~ +searchd.cpp:8584:52: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8584 | register SphAttr_t bb = b->GetAttr ( m_tLocator[i] ); + | ^~ +searchd.cpp:8591:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8591 | register float aa = a->GetAttrFloat ( m_tLocator[i] ); + | ^~ +searchd.cpp:8592:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8592 | register float bb = b->GetAttrFloat ( m_tLocator[i] ); + | ^~ +sphinx.cpp: In function 'DWORD ReadVersion(const char*, CSphString&)': +sphinx.cpp:1330:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] + 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:1330:63: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] + 1330 | sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +In file included from searchd.cpp:12035: +llsphinxql.c: In function 'int my_lex(SqlNode_t*, void*, SqlParser_c*)': +llsphinxql.c:1145:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1145 | register yy_state_type yy_current_state; | ^~~~~~~~~~~~~~~~ +llsphinxql.c:1146:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1146 | register char *yy_cp, *yy_bp; + | ^~~~~ +llsphinxql.c:1146:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1146 | register char *yy_cp, *yy_bp; + | ^~~~~ +llsphinxql.c:1147:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1147 | register int yy_act; + | ^~~~~~ +llsphinxql.c:1197:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1197 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + | ^~~~ +llsphinxql.c: In function 'int yy_get_next_buffer(yyscan_t)': +llsphinxql.c:2083:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2083 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + | ^~~~ +llsphinxql.c:2084:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2084 | register char *source = yyg->yytext_ptr; + | ^~~~~~ +llsphinxql.c:2085:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2085 | register int number_to_move, i; + | ^~~~~~~~~~~~~~ +llsphinxql.c:2085:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2085 | register int number_to_move, i; + | ^ +llsphinxql.c: In function 'yy_state_type yy_get_previous_state(yyscan_t)': +llsphinxql.c:2217:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2217 | register yy_state_type yy_current_state; + | ^~~~~~~~~~~~~~~~ +llsphinxql.c:2218:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2218 | register char *yy_cp; + | ^~~~~ +llsphinxql.c:2225:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2225 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + | ^~~~ +llsphinxql.c: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)': +llsphinxql.c:2250:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2250 | register int yy_is_jam; + | ^~~~~~~~~ +llsphinxql.c:2252:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2252 | register char *yy_cp = yyg->yy_c_buf_p; + | ^~~~~ +llsphinxql.c:2254:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 2254 | register YY_CHAR yy_c = 1; + | ^~~~ +sphinx.cpp: In function 'DWORD sphUnzipInt(const BYTE*&)': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' + 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8373:67: note: in expansion of macro 'SPH_VARINT_DECODE' + 8373 | DWORD sphUnzipInt ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( DWORD, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In function 'SphOffset_t sphUnzipOffset(const BYTE*&)': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' + 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8374:59: note: in expansion of macro 'SPH_VARINT_DECODE' + 8374 | SphOffset_t sphUnzipOffset ( const BYTE * & pBuf ) { SPH_VARINT_DECODE ( SphOffset_t, *pBuf++ ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In member function 'DWORD CSphReader::UnzipInt()': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' + 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8376:51: note: in expansion of macro 'SPH_VARINT_DECODE' + 8376 | DWORD CSphReader::UnzipInt () { SPH_VARINT_DECODE ( DWORD, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In member function 'uint64_t CSphReader::UnzipOffset()': +sphinx.cpp:8361:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8361 | register DWORD b = _getexpr; \ + | ^ +sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' + 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp:8362:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8362 | register _type res = 0; \ + | ^~~ +sphinx.cpp:8377:43: note: in expansion of macro 'SPH_VARINT_DECODE' + 8377 | uint64_t CSphReader::UnzipOffset () { SPH_VARINT_DECODE ( uint64_t, GetByte() ); } + | ^~~~~~~~~~~~~~~~~ +sphinx.cpp: In member function 'DWORD CSphBin::UnzipInt()': +sphinx.cpp:8727:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8727 | register int b = 0; + | ^ +sphinx.cpp:8728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8728 | register DWORD v = 0; + | ^ +sphinx.cpp: In member function 'SphOffset_t CSphBin::UnzipOffset()': +sphinx.cpp:8741:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8741 | register int b = 0; + | ^ +sphinx.cpp:8742:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 8742 | register SphOffset_t v = 0; + | ^ +sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const': +sphinx.cpp:10488:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +10488 | sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); + | ~^ ~~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:10605:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +10605 | sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), *m_pAttrsStatus ); + | ~^ ~~~~~~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +searchd.cpp: In function 'void BuildStatus(VectorLike&)': +searchd.cpp:14171:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +14171 | dStatus.Add().SetSprintf ( "%u", (DWORD)time(NULL)-g_pStats->m_uStarted ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In function 'void BuildDistIndexStatus(VectorLike&, const CSphString&)': +searchd.cpp:14430:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +14430 | dStatus.Add().SetSprintf ( "%d", (DWORD)(tAgents.GetWeights()[j]) ); // FIXME! IPC unsafe, if critical need to be locked. + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In function 'void BuildAgentStatus(VectorLike&, const CSphString&)': +searchd.cpp:14462:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +14462 | dStatus.Add().SetSprintf ( "%d", g_uHAPeriodKarma ); + | ^~~~ ~~~~~~~~~~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In function 'void AddIOStatsToMeta(VectorLike&, const CSphIOStats&, const char*)': +searchd.cpp:14493:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] +14493 | dStatus.Add().SetSprintf ( "%u", tStats.m_iReadOps ); + | ^~~~ ~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +sphinx.cpp: In function 'int encodeVLB(BYTE*, DWORD)': +sphinx.cpp:11541:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +11541 | register BYTE b; + | ^ +sphinx.cpp:11542:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +11542 | register int n = 0; + | ^ +searchd.cpp:14502:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] +14502 | dStatus.Add().SetSprintf ( "%u", tStats.m_iWriteOps ); + | ^~~~ ~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp: In function 'void BuildMeta(VectorLike&, const CSphQueryResultMeta&)': +searchd.cpp:14543:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +14543 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp:14545:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +14545 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp:14547:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +14547 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp:14556:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +14556 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs + tMeta.m_iAgentFetchedDocs ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp:14558:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +14558 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits + tMeta.m_iAgentFetchedHits ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp:14560:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] +14560 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips + tMeta.m_iAgentFetchedSkips ); + | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp: In function 'void SendMysqlSelectResult(SqlRowBuffer_c&, const AggrResult_t&, bool)': +searchd.cpp:16981:133: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] +16981 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); + | ^~~~~ ~~~~~~~~~~ + | | + | long unsigned int +searchd.cpp:16981:141: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] +16981 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); + | ^~~~ ~~~~~~~~~~ + | | + | long unsigned int +sphinx.cpp: In function 'bool CopyFile(const char*, const char*, CSphString&, ThrottleState_t*, volatile bool*, volatile bool*)': +sphinx.cpp:14098:54: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +14098 | sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In function 'void CheckPipes()': +searchd.cpp:20432:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20432 | sphWarning ( "INTERNAL ERROR: pipe status mismatch (handler=%d, status=%d)", iHandler, uStatus ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp:20443:111: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +20443 | default: if ( !bFailure ) sphWarning ( "INTERNAL ERROR: unknown pipe handler (handler=%d, status=%d)", iHandler, uStatus ); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | DWORD {aka long unsigned int} +searchd.cpp: In function 'void QueryStatus(CSphVariant*)': +searchd.cpp:22455:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +22455 | sphFatal ( "handshake failure (unexpected protocol version=%d)", uVer ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | DWORD {aka long unsigned int} +sphinx.cpp: In member function 'virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)': +sphinx.cpp:16497:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:16497:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] +16497 | m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +sphinx.cpp: In member function 'virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)': +sphinx.cpp:16812:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +16812 | fprintf ( fp, "version: %d\n", m_uVersion ); + | ~^ ~~~~~~~~~~ + | | | + | int DWORD {aka long unsigned int} + | %ld +sphinx.cpp:16901:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] +16901 | fprintf ( fp, "killlist-size: %u\n", m_uKillListSize ); + | ~^ ~~~~~~~~~~~~~~~ + | | | + | | DWORD {aka long unsigned int} + | unsigned int + | %lu sphinx.cpp: In member function 'virtual int CSphIndex_VLN::DebugCheck(FILE*)': sphinx.cpp:19988:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 19988 | LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" @@ -2585,33 +3039,6 @@ | | | int | %ld -llsphinxjson.c:728:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 728 | register char *yy_cp, *yy_bp; - | ^~~~~ -llsphinxjson.c:728:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 728 | register char *yy_cp, *yy_bp; - | ^~~~~ -llsphinxjson.c:729:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 729 | register int yy_act; - | ^~~~~~ -llsphinxjson.c:779:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 779 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - | ^~~~ -sphinxrt.cpp: In member function 'void RtBinlog_c::LoadMeta()': -sphinxrt.cpp:9357:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 9357 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", - | ~^ - | | - | int - | %ld - 9358 | sMeta.cstr(), uVersion, BINLOG_VERSION ); - | ~~~~~~~~ - | | - | DWORD {aka long unsigned int} -llsphinxjson.c: In function 'int yy_get_next_buffer(yyscan_t)': -llsphinxjson.c:1056:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1056 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - | ^~~~ sphinx.cpp:20170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20170 | LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2633,55 +3060,6 @@ sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' 19859 | fprintf _args; \ | ^~~~~ -llsphinxjson.c:1057:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1057 | register char *source = yyg->yytext_ptr; - | ^~~~~~ -sphinxrt.cpp:9357:69: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 9357 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", - | ~^ - | | - | int - | %ld - 9358 | sMeta.cstr(), uVersion, BINLOG_VERSION ); - | ~~~~~~~~~~~~~~ - | | - | long unsigned int -llsphinxjson.c:1058:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1058 | register int number_to_move, i; - | ^~~~~~~~~~~~~~ -llsphinxjson.c:1058:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1058 | register int number_to_move, i; - | ^ -llsphinxjson.c: In function 'yy_state_type yy_get_previous_state(yyscan_t)': -llsphinxjson.c:1190:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1190 | register yy_state_type yy_current_state; - | ^~~~~~~~~~~~~~~~ -llsphinxjson.c:1191:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1191 | register char *yy_cp; - | ^~~~~ -sphinxrt.cpp:9369:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 9369 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", - | ~^ - | | - | int - | %ld - 9370 | sMeta.cstr(), uVersion, BINLOG_VERSION ); - | ~~~~~~~~ - | | - | DWORD {aka long unsigned int} -llsphinxjson.c:1198:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1198 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - | ^~~~ -llsphinxjson.c: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)': -llsphinxjson.c:1223:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1223 | register int yy_is_jam; - | ^~~~~~~~~ -llsphinxjson.c:1225:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1225 | register char *yy_cp = yyg->yy_c_buf_p; - | ^~~~~ -llsphinxjson.c:1227:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1227 | register YY_CHAR yy_c = 1; - | ^~~~ sphinx.cpp:20421:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'Hitpos_t' {aka 'long unsigned int'} [-Wformat=] 20421 | LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2732,16 +3110,6 @@ sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' 19859 | fprintf _args; \ | ^~~~~ -sphinxrt.cpp:9369:69: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 9369 | sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", - | ~^ - | | - | int - | %ld - 9370 | sMeta.cstr(), uVersion, BINLOG_VERSION ); - | ~~~~~~~~~~~~~~ - | | - | long unsigned int sphinx.cpp:20681:64: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 20681 | LOC_FAIL(( fp, "MVA index out of bounds (row=" INT64_FMT ", mvaattr=%d, docid=" DOCID_FMT ", index=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2762,13 +3130,6 @@ sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' 19859 | fprintf _args; \ | ^~~~~ -sphinxrt.cpp: In member function 'int RtBinlog_c::ReplayBinlog(const SmallStringHash_T&, DWORD, int)': -sphinxrt.cpp:9565:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 9565 | sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); - | ~^ ~~~~~~~~ - | | | - | int DWORD {aka long unsigned int} - | %ld sphinx.cpp:20764:72: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] 20764 | LOC_FAIL(( fp, "MVA count out of bounds (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", count=%u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2809,12 +3170,6 @@ sphinx.cpp:19859:25: note: in definition of macro 'LOC_FAIL' 19859 | fprintf _args; \ | ^~~~~ -sphinxrt.cpp:9565:64: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 9565 | sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); - | ~^ ~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld sphinx.cpp:20834:56: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] 20834 | LOC_FAIL(( fp, "float attribute is infinity (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3086,325 +3441,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | Hitpos_t {aka long unsigned int} -gcc -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxudf.o sphinxudf.c -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxaot.o sphinxaot.cpp -In file included from sphinx.h:42, - from sphinxaot.cpp:19: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinxaot.cpp:20: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -sphinxaot.cpp: In function 'int Utf8ToWin1251(BYTE*, const BYTE*)': -sphinxaot.cpp:1136:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1136 | register BYTE uWin = dTable [ ( pWord[1] & 0x7F ) + ( ( pWord[0] & 1 )<<6 ) ]; - | ^~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxplugin.o sphinxplugin.cpp -In file included from sphinx.h:42, - from sphinxplugin.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from sphinxplugin.cpp:17: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o searchd.o searchd.cpp -In file included from sphinx.h:42, - from searchd.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o spelldump.o spelldump.cpp -In file included from searchd.cpp:20: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o indextool.o indextool.cpp -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -In file included from sphinx.h:42, - from spelldump.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -In file included from sphinx.h:42, - from indextool.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -searchd.cpp: In member function 'virtual bool SearchReplyParser_t::ParseReply(MemInputBuffer_c&, AgentConn_t&) const': -searchd.cpp:6166:104: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 6166 | default: tAgent.m_sFailure.SetSprintf ( "internal error: unknown status %d", eStatus ); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | DWORD {aka long unsigned int} -searchd.cpp: In function 'void LogQueryPlain(const CSphQuery&, const CSphQueryResult&)': -searchd.cpp:7064:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] - 7064 | tBuf.Appendf ( "ios=%d kb=%d.%d ioms=%d.%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 7065 | IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, - | ~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp: In function 'void FormatOption(const CSphQuery&, CSphStringBuilder&)': -searchd.cpp:7374:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] - 7374 | tBuf.Appendf ( "max_query_time=%u", tQuery.m_uMaxQueryMsec ); - | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp: In function 'void LogQuerySphinxql(const CSphQuery&, const CSphQueryResult&, const CSphVector&)': -searchd.cpp:7555:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] - 7555 | tBuf.Appendf ( " ios=%d kb=%d.%d ioms=%d.%d", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 7556 | IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, - | ~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -In file included from indextool.cpp:18: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -searchd.cpp: In member function 'bool GenericMatchSort_fn::IsLess(const CSphMatch*, const CSphMatch*) const': -searchd.cpp:8583:52: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8583 | register SphAttr_t aa = a->GetAttr ( m_tLocator[i] ); - | ^~ -searchd.cpp:8584:52: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8584 | register SphAttr_t bb = b->GetAttr ( m_tLocator[i] ); - | ^~ -searchd.cpp:8591:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8591 | register float aa = a->GetAttrFloat ( m_tLocator[i] ); - | ^~ -searchd.cpp:8592:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 8592 | register float bb = b->GetAttrFloat ( m_tLocator[i] ); - | ^~ -In file included from searchd.cpp:12035: -llsphinxql.c: In function 'int my_lex(SqlNode_t*, void*, SqlParser_c*)': -llsphinxql.c:1145:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1145 | register yy_state_type yy_current_state; - | ^~~~~~~~~~~~~~~~ -llsphinxql.c:1146:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1146 | register char *yy_cp, *yy_bp; - | ^~~~~ -llsphinxql.c:1146:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1146 | register char *yy_cp, *yy_bp; - | ^~~~~ -llsphinxql.c:1147:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1147 | register int yy_act; - | ^~~~~~ -llsphinxql.c:1197:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1197 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - | ^~~~ -llsphinxql.c: In function 'int yy_get_next_buffer(yyscan_t)': -llsphinxql.c:2083:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2083 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - | ^~~~ -llsphinxql.c:2084:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2084 | register char *source = yyg->yytext_ptr; - | ^~~~~~ -llsphinxql.c:2085:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2085 | register int number_to_move, i; - | ^~~~~~~~~~~~~~ -llsphinxql.c:2085:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2085 | register int number_to_move, i; - | ^ -llsphinxql.c: In function 'yy_state_type yy_get_previous_state(yyscan_t)': -llsphinxql.c:2217:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2217 | register yy_state_type yy_current_state; - | ^~~~~~~~~~~~~~~~ -llsphinxql.c:2218:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2218 | register char *yy_cp; - | ^~~~~ -llsphinxql.c:2225:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2225 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - | ^~~~ -llsphinxql.c: In function 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)': -llsphinxql.c:2250:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2250 | register int yy_is_jam; - | ^~~~~~~~~ -llsphinxql.c:2252:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2252 | register char *yy_cp = yyg->yy_c_buf_p; - | ^~~~~ -llsphinxql.c:2254:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 2254 | register YY_CHAR yy_c = 1; - | ^~~~ -searchd.cpp: In function 'void BuildStatus(VectorLike&)': -searchd.cpp:14171:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -14171 | dStatus.Add().SetSprintf ( "%u", (DWORD)time(NULL)-g_pStats->m_uStarted ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -searchd.cpp: In function 'void BuildDistIndexStatus(VectorLike&, const CSphString&)': -searchd.cpp:14430:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -14430 | dStatus.Add().SetSprintf ( "%d", (DWORD)(tAgents.GetWeights()[j]) ); // FIXME! IPC unsafe, if critical need to be locked. - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -searchd.cpp: In function 'void BuildAgentStatus(VectorLike&, const CSphString&)': -searchd.cpp:14462:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -14462 | dStatus.Add().SetSprintf ( "%d", g_uHAPeriodKarma ); - | ^~~~ ~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -searchd.cpp: In function 'void AddIOStatsToMeta(VectorLike&, const CSphIOStats&, const char*)': -searchd.cpp:14493:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] -14493 | dStatus.Add().SetSprintf ( "%u", tStats.m_iReadOps ); - | ^~~~ ~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:14502:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] -14502 | dStatus.Add().SetSprintf ( "%u", tStats.m_iWriteOps ); - | ^~~~ ~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp: In function 'void BuildMeta(VectorLike&, const CSphQueryResultMeta&)': -searchd.cpp:14543:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -14543 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:14545:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -14545 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:14547:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -14547 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:14556:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -14556 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs + tMeta.m_iAgentFetchedDocs ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:14558:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -14558 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits + tMeta.m_iAgentFetchedHits ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:14560:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] -14560 | dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips + tMeta.m_iAgentFetchedSkips ); - | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp: In function 'void SendMysqlSelectResult(SqlRowBuffer_c&, const AggrResult_t&, bool)': -searchd.cpp:16981:133: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] -16981 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); - | ^~~~~ ~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp:16981:141: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] -16981 | int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); - | ^~~~ ~~~~~~~~~~ - | | - | long unsigned int -searchd.cpp: In function 'void CheckPipes()': -searchd.cpp:20432:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20432 | sphWarning ( "INTERNAL ERROR: pipe status mismatch (handler=%d, status=%d)", iHandler, uStatus ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | DWORD {aka long unsigned int} -searchd.cpp:20443:111: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -20443 | default: if ( !bFailure ) sphWarning ( "INTERNAL ERROR: unknown pipe handler (handler=%d, status=%d)", iHandler, uStatus ); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | DWORD {aka long unsigned int} -searchd.cpp: In function 'void QueryStatus(CSphVariant*)': -searchd.cpp:22455:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] -22455 | sphFatal ( "handshake failure (unexpected protocol version=%d)", uVer ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | DWORD {aka long unsigned int} -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o wordbreaker.o wordbreaker.cpp -In file included from wordbreaker.cpp:25: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -g++ -DHAVE_CONFIG_H -I. -I../config -pthread -DSYSCONFDIR="\"/etc/sphinxsearch\"" -DDATADIR="\"/var/lib/sphinxsearch/data\"" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/sphinxsearch-2.2.11=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o tests.o tests.cpp -In file included from sphinx.h:42, - from tests.cpp:16: -sphinxstd.h: In function 'int sphBitCount(DWORD)': -sphinxstd.h:277:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 277 | register DWORD tmp; - | ^~~ -sphinx.h: In member function 'int CSphLowercaser::ToLower(int) const': -sphinx.h:436:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 436 | register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ]; - | ^~~~~~ -In file included from tests.cpp:21: -sphinxint.h: In function 'int sphEncodeVLB8(BYTE*, uint64_t)': -sphinxint.h:1077:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1077 | register BYTE b; - | ^ -sphinxint.h:1078:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1078 | register int n = 0; - | ^ -tests.cpp: In function 'void BenchStemmer()': -tests.cpp:3149:68: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 3149 | printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", - | ~~~^ - | | - | unsigned int - | %08lx - 3150 | iToks, iBytes, (int)(tmStem/1000), - 3151 | (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} -tests.cpp:3149:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'DWORD' {aka 'long unsigned int'} [-Wformat=] - 3149 | printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", - | ~~~^ - | | - | unsigned int - | %08lx - 3150 | iToks, iBytes, (int)(tmStem/1000), - 3151 | (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | DWORD {aka long unsigned int} indextool.cpp: In function 'int main(int, char**)': indextool.cpp:1161:81: warning: '%s' directive argument is null [-Wformat-overflow=] 1161 | sphDie ( "index '%s': failed to create (%s)", sIndex.cstr(), sError.cstr() ); @@ -3454,7 +3490,7 @@ install -m0755 -d debian/sphinxsearch/etc/sphinxsearch debian/sphinxsearch/var/lib/sphinxsearch/ debian/sphinxsearch/var/lib/sphinxsearch/data/ debian/sphinxsearch/var/log/sphinxsearch/ dh_auto_install --destdir=debian/sphinxsearch/ install -m0755 -d /build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch - make -j11 install DESTDIR=/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch AM_UPDATE_INFO_DIR=no + make -j21 install DESTDIR=/build/reproducible-path/sphinxsearch-2.2.11/debian/sphinxsearch AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11' Making install in src make[2]: Entering directory '/build/reproducible-path/sphinxsearch-2.2.11/src' @@ -3507,13 +3543,13 @@ install -p -m0644 debian/.debhelper/generated/sphinxsearch/dh_installchangelogs.dch.trimmed debian/sphinxsearch/usr/share/doc/sphinxsearch/changelog.Debian dh_installman man-recode --to-code UTF-8 --suffix .dh-new debian/sphinxsearch/usr/share/man/man1/indexer.1 - man-recode --to-code UTF-8 --suffix .dh-new debian/sphinxsearch/usr/share/man/man1/spelldump.1 man-recode --to-code UTF-8 --suffix .dh-new debian/sphinxsearch/usr/share/man/man1/indextool.1 man-recode --to-code UTF-8 --suffix .dh-new debian/sphinxsearch/usr/share/man/man1/searchd.1 - mv debian/sphinxsearch/usr/share/man/man1/indexer.1.dh-new debian/sphinxsearch/usr/share/man/man1/indexer.1 - chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/indexer.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/sphinxsearch/usr/share/man/man1/spelldump.1 mv debian/sphinxsearch/usr/share/man/man1/indextool.1.dh-new debian/sphinxsearch/usr/share/man/man1/indextool.1 chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/indextool.1 + mv debian/sphinxsearch/usr/share/man/man1/indexer.1.dh-new debian/sphinxsearch/usr/share/man/man1/indexer.1 + chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/indexer.1 mv debian/sphinxsearch/usr/share/man/man1/searchd.1.dh-new debian/sphinxsearch/usr/share/man/man1/searchd.1 chmod 0644 -- debian/sphinxsearch/usr/share/man/man1/searchd.1 mv debian/sphinxsearch/usr/share/man/man1/spelldump.1.dh-new debian/sphinxsearch/usr/share/man/man1/spelldump.1 @@ -3558,36 +3594,36 @@ chmod 0644 -- debian/sphinxsearch/usr/lib/debug/.dwz/i386-linux-gnu/sphinxsearch.debug chown 0:0 -- debian/sphinxsearch/usr/lib/debug/.dwz/i386-linux-gnu/sphinxsearch.debug dh_strip -a - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f7 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/wordbreaker debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f7/125833a91c3f15b40032ea8ca0e57d6c66898d.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f7/125833a91c3f15b40032ea8ca0e57d6c66898d.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f7/125833a91c3f15b40032ea8ca0e57d6c66898d.debug - strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/wordbreaker - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/f7/125833a91c3f15b40032ea8ca0e57d6c66898d.debug debian/sphinxsearch/usr/bin/wordbreaker - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/94 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/searchd debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/94/0e8d3131d38a60c90f611168ed2529ec740a16.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/94/0e8d3131d38a60c90f611168ed2529ec740a16.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/94/0e8d3131d38a60c90f611168ed2529ec740a16.debug + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7d + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/searchd debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7d/db70cfd54ea80100efd1963f77b3ee6cae4baa.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7d/db70cfd54ea80100efd1963f77b3ee6cae4baa.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7d/db70cfd54ea80100efd1963f77b3ee6cae4baa.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/searchd - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/94/0e8d3131d38a60c90f611168ed2529ec740a16.debug debian/sphinxsearch/usr/bin/searchd - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indexer debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/805109bac95139dd36d71ab2844c2efa51f012.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/805109bac95139dd36d71ab2844c2efa51f012.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/805109bac95139dd36d71ab2844c2efa51f012.debug + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/7d/db70cfd54ea80100efd1963f77b3ee6cae4baa.debug debian/sphinxsearch/usr/bin/searchd + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/b0 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indexer debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/b0/87d4392215591ef9f3b9f313a16c2c14a9da7f.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/b0/87d4392215591ef9f3b9f313a16c2c14a9da7f.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/b0/87d4392215591ef9f3b9f313a16c2c14a9da7f.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/indexer - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/805109bac95139dd36d71ab2844c2efa51f012.debug debian/sphinxsearch/usr/bin/indexer - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/05 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indextool debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/05/3eebb9033c9770f81269dbf3d3dc22b8168ae3.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/05/3eebb9033c9770f81269dbf3d3dc22b8168ae3.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/05/3eebb9033c9770f81269dbf3d3dc22b8168ae3.debug + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/b0/87d4392215591ef9f3b9f313a16c2c14a9da7f.debug debian/sphinxsearch/usr/bin/indexer + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/wordbreaker debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/b10aec2f777225498a841bd14953fe38f4d71d.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/b10aec2f777225498a841bd14953fe38f4d71d.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/b10aec2f777225498a841bd14953fe38f4d71d.debug + strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/wordbreaker + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/a9/b10aec2f777225498a841bd14953fe38f4d71d.debug debian/sphinxsearch/usr/bin/wordbreaker + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/65 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/indextool debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/65/31fcd44b9485132bcdc69d9af07cca1954d6ab.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/65/31fcd44b9485132bcdc69d9af07cca1954d6ab.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/65/31fcd44b9485132bcdc69d9af07cca1954d6ab.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/indextool - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/05/3eebb9033c9770f81269dbf3d3dc22b8168ae3.debug debian/sphinxsearch/usr/bin/indextool - install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/12 - objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/spelldump debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/12/90842100324c8641975735616de61bd9903654.debug - chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/12/90842100324c8641975735616de61bd9903654.debug - chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/12/90842100324c8641975735616de61bd9903654.debug + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/65/31fcd44b9485132bcdc69d9af07cca1954d6ab.debug debian/sphinxsearch/usr/bin/indextool + install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/03 + objcopy --only-keep-debug --compress-debug-sections debian/sphinxsearch/usr/bin/spelldump debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/03/7cbc211c0714a53edb23824bfde8f0ad265a5e.debug + chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/03/7cbc211c0714a53edb23824bfde8f0ad265a5e.debug + chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/03/7cbc211c0714a53edb23824bfde8f0ad265a5e.debug strip --remove-section=.comment --remove-section=.note debian/sphinxsearch/usr/bin/spelldump - objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/12/90842100324c8641975735616de61bd9903654.debug debian/sphinxsearch/usr/bin/spelldump + objcopy --add-gnu-debuglink debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.build-id/03/7cbc211c0714a53edb23824bfde8f0ad265a5e.debug debian/sphinxsearch/usr/bin/spelldump install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/sphinxsearch/usr/lib/debug/.dwz/i386-linux-gnu debian/.debhelper/sphinxsearch/dbgsym-root/usr/lib/debug/.dwz rm -fr debian/sphinxsearch/usr/lib/debug/.dwz @@ -3599,7 +3635,7 @@ rm -f debian/sphinxsearch/DEBIAN/shlibs dh_shlibdeps -a install -m0755 -d debian/sphinxsearch/DEBIAN - dpkg-shlibdeps -Tdebian/sphinxsearch.substvars debian/sphinxsearch/usr/bin/wordbreaker debian/sphinxsearch/usr/bin/searchd debian/sphinxsearch/usr/bin/indexer debian/sphinxsearch/usr/bin/indextool debian/sphinxsearch/usr/bin/spelldump + dpkg-shlibdeps -Tdebian/sphinxsearch.substvars debian/sphinxsearch/usr/bin/searchd debian/sphinxsearch/usr/bin/indexer debian/sphinxsearch/usr/bin/wordbreaker debian/sphinxsearch/usr/bin/indextool debian/sphinxsearch/usr/bin/spelldump dh_installdeb install -m0755 -d debian/sphinxsearch/DEBIAN cp -f debian/postinst debian/sphinxsearch/DEBIAN/postinst @@ -3626,7 +3662,7 @@ install -m0755 -d debian/sphinxsearch/DEBIAN echo misc:Depends= >> debian/sphinxsearch.substvars install -m0755 -d debian/.debhelper/sphinxsearch/dbgsym-root/DEBIAN - dpkg-gencontrol -psphinxsearch -ldebian/changelog -Tdebian/sphinxsearch.substvars -cdebian/control -Pdebian/.debhelper/sphinxsearch/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -DAuto-Built-Package=debug-symbols -UProtected -UBuilt-Using -UStatic-Built-Using -DPackage=sphinxsearch-dbgsym "-DDepends=sphinxsearch (= \${binary:Version})" "-DDescription=debug symbols for sphinxsearch" "-DBuild-Ids=053eebb9033c9770f81269dbf3d3dc22b8168ae3 1290842100324c8641975735616de61bd9903654 940e8d3131d38a60c90f611168ed2529ec740a16 a9805109bac95139dd36d71ab2844c2efa51f012 f7125833a91c3f15b40032ea8ca0e57d6c66898d" -DSection=debug -UMulti-Arch -UReplaces -UBreaks + dpkg-gencontrol -psphinxsearch -ldebian/changelog -Tdebian/sphinxsearch.substvars -cdebian/control -Pdebian/.debhelper/sphinxsearch/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -DAuto-Built-Package=debug-symbols -UProtected -UBuilt-Using -UStatic-Built-Using -DPackage=sphinxsearch-dbgsym "-DDepends=sphinxsearch (= \${binary:Version})" "-DDescription=debug symbols for sphinxsearch" "-DBuild-Ids=037cbc211c0714a53edb23824bfde8f0ad265a5e 6531fcd44b9485132bcdc69d9af07cca1954d6ab 7ddb70cfd54ea80100efd1963f77b3ee6cae4baa a9b10aec2f777225498a841bd14953fe38f4d71d b087d4392215591ef9f3b9f313a16c2c14a9da7f" -DSection=debug -UMulti-Arch -UReplaces -UBreaks dpkg-gencontrol: warning: package sphinxsearch: substitution variable ${misc:Pre-Depends} unused, but is defined chmod 0644 -- debian/.debhelper/sphinxsearch/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/sphinxsearch/dbgsym-root/DEBIAN/control @@ -3655,12 +3691,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2870/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/31285 and its subdirectories -I: Current time: Sun Apr 14 05:03:46 -12 2024 -I: pbuilder-time-stamp: 1713114226 +I: removing directory /srv/workspace/pbuilder/2870 and its subdirectories +I: Current time: Sun May 18 13:29:06 +14 2025 +I: pbuilder-time-stamp: 1747524546