* Package: app-misc/sphinx-2.2.11-r1  * Repository: gentoo  * Maintainer: graaff@gentoo.org  * USE: elibc_glibc id64 kernel_linux mariadb odbc re2 sparc stemmer userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sphinx-2.2.11-release.tar.gz to /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work >>> Source unpacked in /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work >>> Preparing source in /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release ... * Applying sphinx-2.0.1_beta-darwin8.patch ...  [ ok ] /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release/api/libsphinxclient /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release * Running eautoreconf in '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release/api/libsphinxclient' ... * Running libtoolize --install --copy --force --automake ...  [ ok ] * Running aclocal ...  [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ] * Running elibtoolize in: sphinx-2.2.11-release/api/libsphinxclient/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release ... * econf: updating sphinx-2.2.11-release/api/libsphinxclient/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sphinx-2.2.11-release/api/libsphinxclient/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=sparc-unknown-linux-gnu --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/sphinx-2.2.11-r1 --htmldir=/usr/share/doc/sphinx-2.2.11-r1/html --libdir=/usr/lib --sysconfdir=/etc/sphinx --enable-id64 --without-debug --with-mysql --with-unixodbc --without-pgsql --with-re2 --with-libstemmer --without-syslog --without-libexpat checking build environment -------------------------- checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for compiler programs ------------------------------ checking whether to compile debug version... no checking for sparc-unknown-linux-gnu-gcc... sparc-unknown-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether sparc-unknown-linux-gnu-gcc accepts -g... yes checking for sparc-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of sparc-unknown-linux-gnu-gcc... none checking for sparc-unknown-linux-gnu-g++... sparc-unknown-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether sparc-unknown-linux-gnu-g++ accepts -g... yes checking dependency style of sparc-unknown-linux-gnu-g++... none checking for sparc-unknown-linux-gnu-ranlib... sparc-unknown-linux-gnu-ranlib checking for header files ------------------------- checking how to run the C preprocessor... sparc-unknown-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking sql.h usability... yes checking sql.h presence... yes checking for sql.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for types ------------------ checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for library functions ------------------------------ checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for library containing setsockopt... none required checking for library containing gethostbyname... none required checking for library containing inflate... -lz checking for library containing logf... -lm checking for dup2... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for strnlen... yes checking for strstr... yes checking for strtol... yes checking for logf... yes checking for pread... yes checking for poll... yes checking for backtrace... yes checking for backtrace_symbols... yes checking for epoll_ctl... yes checking for clock_gettime in -lrt... yes checking for clock_gettime... yes checking for LOCK_EX in sys/file.h... yes checking for F_SETLKW in fcntl.h... yes checking for library containing dlopen... -ldl checking for dlopen... yes checking for dlerror... yes checking for interlocked builtins... yes configuring Sphinx ------------------ checking whether to use dynamic linking for DB drivers... no checking for CFLAGS needed for pthreads... -pthread checking for LIBS needed for pthreads... -lpthread checking for pthreads... found checking for pthread_mutex_timedlock... yes checking whether to compile with MySQL support... dynamic checking for mariadb_config... mariadb_config checking for mysql_real_connect... yes checking MySQL include files... -I/usr/include/mariadb -I/usr/include/mariadb/mysql checking MySQL libraries... -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto checking for Syslog... disabled checking whether to compile with PostgreSQL support... no checking whether to use 64-bit document/word IDs... yes checking whether to compile with libstemmer support... yes, external checking whether to compile with RE2 library support... yes, -I/usr/include checking whether to compile with RLP library support... no checking for libexpat... disabled checking for libiconv... checking for library containing iconv... none required found checking for iconv() arg types... char ** checking for UnixODBC... checking for library containing SQLDriverConnect... -lodbc found checking whether to enable c++ memory routines override... yes checking for Syslog... disabled checking for unaligned RAM access... no checking whether byte ordering is bigendian... yes generating configuration files ------------------------------ * Unable to trace static ELF: /usr/bin/diff: diff /dev/null confcache configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating libstemmer_c/Makefile config.status: creating doc/Makefile config.status: creating sphinx.conf.dist config.status: creating sphinx-min.conf.dist config.status: creating config/config.h * Unable to trace static ELF: /usr/bin/diff: diff config/config.h ./confBHC1NG/config.h config.status: executing depfiles commands configuration done ------------------ You can now run 'make install' to build and install Sphinx binaries. On a multi-core machine, try 'make -j4 install' to speed up the build. Updates, articles, help forum, and commercial support, consulting, training, and development services are available at http://sphinxsearch.com/ Thank you for choosing Sphinx! * econf: updating sphinx-2.2.11-release/api/libsphinxclient/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sphinx-2.2.11-release/api/libsphinxclient/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=sparc-unknown-linux-gnu --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/sphinx-2.2.11-r1 --htmldir=/usr/share/doc/sphinx-2.2.11-r1/html --libdir=/usr/lib STRIP=: checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for sparc-unknown-linux-gnu-gcc... sparc-unknown-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether sparc-unknown-linux-gnu-gcc accepts -g... yes checking for sparc-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking whether sparc-unknown-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of sparc-unknown-linux-gnu-gcc... none checking build system type... sparc-unknown-linux-gnu checking host system type... sparc-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by sparc-unknown-linux-gnu-gcc... /usr/sparc-unknown-linux-gnu/bin/ld checking if the linker (/usr/sparc-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/sparc-unknown-linux-gnu-nm -B checking the name lister (/usr/bin/sparc-unknown-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert sparc-unknown-linux-gnu file names to sparc-unknown-linux-gnu format... func_convert_file_noop checking how to convert sparc-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/sparc-unknown-linux-gnu/bin/ld option to reload object files... -r checking for sparc-unknown-linux-gnu-objdump... sparc-unknown-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for sparc-unknown-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for sparc-unknown-linux-gnu-ar... sparc-unknown-linux-gnu-ar checking for archiver @FILE support... @ checking for sparc-unknown-linux-gnu-strip... : checking for sparc-unknown-linux-gnu-ranlib... sparc-unknown-linux-gnu-ranlib checking command to parse /usr/bin/sparc-unknown-linux-gnu-nm -B output from sparc-unknown-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... * Unable to trace static ELF: /usr/bin/cmp: cmp -s conftest.i conftest.out /bin/dd checking how to truncate binary pipes... * Unable to trace static ELF: /usr/bin/cmp: cmp -s conftest.i conftest.out /bin/dd bs=4096 count=1 checking for sparc-unknown-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... sparc-unknown-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if sparc-unknown-linux-gnu-gcc supports -fno-rtti -fno-exceptions... * Unable to trace static ELF: /usr/bin/diff: diff conftest.exp conftest.er2 no checking for sparc-unknown-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if sparc-unknown-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if sparc-unknown-linux-gnu-gcc static flag -static works... yes checking if sparc-unknown-linux-gnu-gcc supports -c -o file.o... yes checking if sparc-unknown-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the sparc-unknown-linux-gnu-gcc linker (/usr/sparc-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for size_t... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for gethostbyname in -lnsl... yes checking for connect in -lsocket... no * Unable to trace static ELF: /usr/bin/diff: diff /dev/null confcache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating sphinxclient_config.h * Unable to trace static ELF: /usr/bin/diff: diff sphinxclient_config.h ./confHSkXW6/config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release ... make -j20 AR=sparc-unknown-linux-gnu-ar Making all in src make[1]: Entering directory '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release/src' /bin/sh git_commit_id.sh make all-am make[2]: Entering directory '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release/src' sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinx.o sphinx.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxexcerpt.o sphinxexcerpt.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxquery.o sphinxquery.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsoundex.o sphinxsoundex.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxmetaphone.o sphinxmetaphone.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemen.o sphinxstemen.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemru.o sphinxstemru.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemcz.o sphinxstemcz.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstemar.o sphinxstemar.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxutils.o sphinxutils.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxstd.o sphinxstd.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsort.o sphinxsort.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxexpr.o sphinxexpr.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxfilter.o sphinxfilter.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxsearch.o sphinxsearch.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxrt.o sphinxrt.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxjson.o sphinxjson.cpp sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c sphinxudf.c sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxaot.o sphinxaot.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o sphinxplugin.o sphinxplugin.cpp sphinxutils.cpp:2106:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sphSafeInfo ( iFD, "Configured with flags: "CONFIGURE_FLAGS ); ^ sphinxutils.cpp:2110:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sphSafeInfo ( iFD, "Host OS is "OS_UNAME ); ^ sphinxrt.cpp:4799:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT ^ sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o indexer.o indexer.cpp sphinxstemar.cpp: In function ‘void ar_remove(BYTE*, int, int)’: sphinxstemar.cpp:96:57: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] ar_char *s = (ar_char*) &word[(start * sizeof(ar_char))]; ^ sphinxstemar.cpp: In function ‘int ar_match_affix(BYTE*, ar_affix_t*, int, int)’: sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:365:9: note: in expansion of macro ‘AR_CHAR_AT’ if ( AR_CHAR_AT(wi)!=affixes[ai].chars[ci] ) ^~~~~~~~~~ sphinxstemar.cpp: In function ‘int ar_match_form(BYTE*, ar_form_t*)’: sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:391:10: note: in expansion of macro ‘AR_CHAR_AT’ if ( AR_CHAR_AT(index)!=AR_CHAR_AT(forms[fi].entry[pi].at) ) ^~~~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:391:29: note: in expansion of macro ‘AR_CHAR_AT’ if ( AR_CHAR_AT(index)!=AR_CHAR_AT(forms[fi].entry[pi].at) ) ^~~~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:395:34: note: in expansion of macro ‘AR_CHAR_AT’ if ( forms[fi].entry[pi].cp!=AR_CHAR_AT ( forms[fi].entry[pi].at ) ) ^~~~~~~~~~ sphinxstemar.cpp: In function ‘void stem_ar_utf8(BYTE*)’: sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:72:4: note: in definition of macro ‘AR_DIACRITIC’ ( c==0x8BD9U || c==0x8CD9U || c==0x8DD9U \ ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:72:18: note: in definition of macro ‘AR_DIACRITIC’ ( c==0x8BD9U || c==0x8CD9U || c==0x8DD9U \ ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:72:32: note: in definition of macro ‘AR_DIACRITIC’ ( c==0x8BD9U || c==0x8CD9U || c==0x8DD9U \ ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:73:5: note: in definition of macro ‘AR_DIACRITIC’ || c==0x8ED9U || c==0x8FD9U || c==0x90D9U \ ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:73:19: note: in definition of macro ‘AR_DIACRITIC’ || c==0x8ED9U || c==0x8FD9U || c==0x90D9U \ ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:73:33: note: in definition of macro ‘AR_DIACRITIC’ || c==0x8ED9U || c==0x8FD9U || c==0x90D9U \ ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:74:5: note: in definition of macro ‘AR_DIACRITIC’ || c==0x91D9U || c==0x92D9U ) ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:74:19: note: in definition of macro ‘AR_DIACRITIC’ || c==0x91D9U || c==0x92D9U ) ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:469:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_DIACRITIC ); ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:77:25: note: in definition of macro ‘AR_KASHIDA’ #define AR_KASHIDA(c) ( c==0x80D9U ) ^ sphinxstemar.cpp:125:16: note: in expansion of macro ‘AR_CHAR_AT’ if ( _what ( AR_CHAR_AT(si) ) ) \ ^~~~~~~~~~ sphinxstemar.cpp:470:2: note: in expansion of macro ‘AR_STRIP’ AR_STRIP ( AR_KASHIDA ); // extension ^~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:111:15: note: in expansion of macro ‘AR_CHAR_AT’ ar_char c = AR_CHAR_AT(ni); \ ^~~~~~~~~~ sphinxstemar.cpp:472:2: note: in expansion of macro ‘AR_NORMALIZE’ AR_NORMALIZE ( AR_HAMZA_SET, AR_ALEF_HA ); ^~~~~~~~~~~~ sphinxstemar.cpp:87:53: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] ar_char *p = (ar_char*) &word[(i * sizeof(ar_char))]; \ ^ sphinxstemar.cpp:113:4: note: in expansion of macro ‘AR_CHAR_SET’ AR_CHAR_SET ( ni, to_char ); \ ^~~~~~~~~~~ sphinxstemar.cpp:472:2: note: in expansion of macro ‘AR_NORMALIZE’ AR_NORMALIZE ( AR_HAMZA_SET, AR_ALEF_HA ); ^~~~~~~~~~~~ sphinxstemar.cpp:83:66: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] #define AR_CHAR_AT(i) (*((ar_char*)(&word[(i * sizeof(ar_char))]))) ^ sphinxstemar.cpp:111:15: note: in expansion of macro ‘AR_CHAR_AT’ ar_char c = AR_CHAR_AT(ni); \ ^~~~~~~~~~ sphinxstemar.cpp:498:2: note: in expansion of macro ‘AR_NORMALIZE’ AR_NORMALIZE ( AR_ALEF_SET, AR_ALEF ); ^~~~~~~~~~~~ sphinxstemar.cpp:87:53: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘ar_char*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] ar_char *p = (ar_char*) &word[(i * sizeof(ar_char))]; \ ^ sphinxstemar.cpp:113:4: note: in expansion of macro ‘AR_CHAR_SET’ AR_CHAR_SET ( ni, to_char ); \ ^~~~~~~~~~~ sphinxstemar.cpp:498:2: note: in expansion of macro ‘AR_NORMALIZE’ AR_NORMALIZE ( AR_ALEF_SET, AR_ALEF ); ^~~~~~~~~~~~ sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o searchd.o searchd.cpp sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o spelldump.o spelldump.cpp sphinxquery.cpp: In function ‘CSphString sphReconstructNode(const XQNode_t*, const CSphSchema*)’: sphinxquery.cpp:1916:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sFields.SetSprintf ( "%s,%d", sFields.cstr(), pNode->m_dSpec.m_dFieldMask.GetMask32() ); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:27820:7: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "docid="DOCID_FMT, SqlFieldName(iIndex), iPackedLen, m_tDocInfo.m_uDocID ); ^ sphinx.cpp:27836:7: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] " docid="DOCID_FMT, SqlFieldName(iIndex), (int)uSize, m_tDocInfo.m_uDocID ); ^ sphinxplugin.cpp: In function ‘bool PluginLoadSymbols(void*, const SymbolDesc_t*, void*, const char*, CSphString&)’: sphinxplugin.cpp:207:64: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] void ** ppFunc = (void**)((BYTE*)pDesc + pSymbol->m_iOffsetOf); ^ sphinxjson.cpp: In member function ‘void JsonParser_c::DebugDump(ESphJsonType, const BYTE**, int)’: sphinxjson.cpp:442:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] printf ( "%s (bloom mask: 0x%08x)\n", eType==JSON_OBJECT ? "JSON_OBJECT" : "JSON_ROOT", uMask ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sphinxstd.cpp: In constructor ‘CSphProcessSharedMutex::CSphProcessSharedMutex(int)’: sphinxstd.cpp:846:56: warning: cast from ‘unsigned char*’ to ‘pthread_mutex_t*’ increases required alignment of target type [-Wcast-align] m_pMutex = (pthread_mutex_t*) m_pStorage.GetWritePtr (); ^ sphinxstd.cpp: In function ‘const char* sphCheckEndian()’: sphinxstd.cpp:1869:27: warning: cast from ‘char*’ to ‘long unsigned int*’ increases required alignment of target type [-Wcast-align] pMagic = (unsigned long*)sMagic; ^~~~~~ sphinxfilter.cpp: In member function ‘bool Filter_MVAValues::MvaEval(const DWORD*, const DWORD*) const [with bool IS_MVA64 = true; DWORD = long unsigned int]’: sphinxfilter.cpp:441:39: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] const int64_t * L = (const int64_t *)pMva; ^~~~ sphinxfilter.cpp:442:53: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] const int64_t * R = (const int64_t *)( pMvaMax - 2 ); ^ sphinxfilter.cpp:458:38: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] R = (const int64_t *)( pMvaMax - 2 ); ^ sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o indextool.o indextool.cpp sphinxfilter.cpp: In instantiation of ‘bool Filter_MVARange::MvaEval(const DWORD*, const DWORD*) const [with T = long long int; bool HAS_EQUAL = false; DWORD = long unsigned int]’: sphinxfilter.cpp:482:10: required from ‘bool Filter_MVARange::Eval(const CSphMatch&) const [with T = long long int; bool HAS_EQUAL = false]’ sphinxfilter.cpp:476:15: required from here sphinxfilter.cpp:487:20: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const long long int*’ increases required alignment of target type [-Wcast-align] const T * pEnd = (const T *)pMvaMax; ^~~~~~~~~~~~~~~~~~ sphinxfilter.cpp:488:17: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const long long int*’ increases required alignment of target type [-Wcast-align] const T * L = (const T *)pMva; ^~~~~~~~~~~~~~~ sphinxfilter.cpp: In instantiation of ‘bool Filter_MVARange::MvaEval(const DWORD*, const DWORD*) const [with T = long long int; bool HAS_EQUAL = true; DWORD = long unsigned int]’: sphinxfilter.cpp:482:10: required from ‘bool Filter_MVARange::Eval(const CSphMatch&) const [with T = long long int; bool HAS_EQUAL = true]’ sphinxfilter.cpp:476:15: required from here sphinxfilter.cpp:487:20: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const long long int*’ increases required alignment of target type [-Wcast-align] const T * pEnd = (const T *)pMvaMax; ^~~~~~~~~~~~~~~~~~ sphinxfilter.cpp:488:17: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const long long int*’ increases required alignment of target type [-Wcast-align] const T * L = (const T *)pMva; ^~~~~~~~~~~~~~~ sphinxexcerpt.cpp: In function ‘void CopyString(BYTE*, const BYTE*, int)’: sphinxexcerpt.cpp:2982:22: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] DWORD * d = (DWORD*)sDst; ^~~~ sphinxexcerpt.cpp:2983:22: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] DWORD * s = (DWORD*)sSrc; ^~~~ sphinxrt.cpp: In member function ‘virtual bool RtIndex_t::Prealloc(bool, bool, CSphString&)’: sphinxrt.cpp:4086:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sMeta.cstr(), uVersion, META_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinxrt.cpp:4086:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinxexpr.cpp: In member function ‘virtual const DWORD* Expr_GetPackedFactors_c::FactorEval(const CSphMatch&) const’: sphinxexpr.cpp:312:19: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] return (DWORD *)pData; ^~~~~ sphinxexpr.cpp: In member function ‘virtual float Expr_BM25F_c::Eval(const CSphMatch&) const’: sphinxexpr.cpp:367:56: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘const unsigned int*’ increases required alignment of target type [-Wcast-align] sphinx_factors_unpack ( (const unsigned int*)pEntry->m_pData, &tUnpacked ); // fix MSVC Release warning ^~~~~~~ sphinxexpr.cpp: In member function ‘virtual int Expr_ToString_c::StringEval(const CSphMatch&, const BYTE**) const’: sphinxexpr.cpp:628:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] m_sBuilder.Appendf ( "%u", *pValues++ ); ^~~~ ~~~~~~~~~~ sphinxrt.cpp: In member function ‘virtual int RtIndex_t::DebugCheck(FILE*)’: sphinxrt.cpp:4739:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "embedded zero in a word list string (segment=%d, offset=%u, string=%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, (DWORD)(pStringStart-pStr), sErrorStr.cstr() )); ~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4781:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4781:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_word=%s, docs=%u, hits=%u)", iSegment, nWordsRead, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxexpr.cpp: In member function ‘virtual int Expr_JsonFieldAggr_c::IntEval(const CSphMatch&) const’: sphinxexpr.cpp:955:34: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] const int * p = (const int*) pVal; ^~~~ sphinxrt.cpp:4799:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ", read_word=%s, docs=%u, hits=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4802:15: sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4799:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid docs/hits (segment=%d, word=%d, read_wordid="UINT64_FMT ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ", read_word=%s, docs=%u, hits=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4802:30: sWord+1, tWord.m_uDocs, tWord.m_uHits )); ~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4821:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, prev_doclist_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4824:42: (uint64_t)tWord.m_uWordID, sWord+1, tWord.m_uDoc, uPrevDocOffset )); ~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4821:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "doclist offset decreased (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, prev_doclist_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4824:56: (uint64_t)tWord.m_uWordID, sWord+1, tWord.m_uDoc, uPrevDocOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4830:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "doclist_offset=%u, expected_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4833:6: tWord.m_uDoc, uDocOffset )); ~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4830:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected doclist offset (wordid=" UINT64_FMT "(%s)(%d), " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "doclist_offset=%u, expected_offset=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4833:20: tWord.m_uDoc, uDocOffset )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4837:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "doclist offset pointing past doclist (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4840:16: sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4862:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4865:43: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4874:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4877:43: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4885:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4888:43: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4900:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4903:44: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4910:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4913:44: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4923:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "reading past doclist end (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "read_wordid=" UINT64_FMT ", read_word=%s, doclist_offset=%u, doclist_size=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4926:44: (uint64_t)tWord.m_uWordID, sWord+1, uDocOffset, tSegment.m_dDocs.GetLength() )); ~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4963:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid field id in an embedded hit (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, total_fields=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4966:60: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, m_tSchema.m_dFields.GetLength() )); ~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4971:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4974:60: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4971:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4974:70: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4981:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, expected_offset=%u", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4984:60: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uExpectedHitOffset )); ~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4981:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected hitlist offset (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, expected_offset=%u", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4984:73: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uExpectedHitOffset )); ~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4989:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uPrevHitOffset )); ~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:4989:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "hitlist offset decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", offset=%u, prev_offset=%u", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uHit, uPrevHitOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5018:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid field id in a hitlist (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, total_fields=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5021:61: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, m_tSchema.m_dFields.GetLength() )); ~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5026:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5029:61: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5026:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid field id: not in doclist mask (segment=%d, word=%d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "wordid=" UINT64_FMT ", docid=" UINT64_FMT ", field_id=%u, field_mask=%u)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5029:71: (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uFieldId, tDoc.m_uDocFields )); ~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5040:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uPosInField, uLastPosInField )); ~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5040:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "hit position in field decreased (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", pos=%u, last_pos=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, uPosInField, uLastPosInField )); ~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5061:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "wrong document field mask (segment=%d, word=%d, wordid=" UINT64_FMT ", docid=" UINT64_FMT ", mask=%u, total_fields=%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, nWordsRead, (uint64_t)tWord.m_uWordID, (uint64_t)tDoc.m_uDocID, tDoc.m_uDocFields, m_tSchema.m_dFields.GetLength() )); ~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxexcerpt.cpp: In instantiation of ‘void CacheStreamer_c::Tokenize(T&) [with T = HighlightPassages_c]’: sphinxexcerpt.cpp:3456:37: required from here sphinxexcerpt.cpp:943:39: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] int iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:944:37: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] int iLen = sphUnalignedRead ( *(WORD*)(p+5) ); ^~~~~~~~~~~~ sphinxexcerpt.cpp:945:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int iBoundary = sphUnalignedRead ( *(int*)(p+7) ); ^~~~~~~~~~~ sphinxexcerpt.cpp:965:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:967:45: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_uPosition = sphUnalignedRead ( *(DWORD*)(p+6) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:970:51: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iTermIndex = (int)sphUnalignedRead ( *(WORD*)(p+11) ) - 1; ^~~~~~~~~~~~~ sphinxrt.cpp:5094:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "empty word checkpoint %d ((segment=%d, read_word=%s, read_len=%u, readpos=%d, calc_word=%s, calc_len=%u, calcpos=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, iSegment, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), tCP.m_iOffset, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5094:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "empty word checkpoint %d ((segment=%d, read_word=%s, read_len=%u, readpos=%d, calc_word=%s, calc_len=%u, calcpos=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:5096:22: tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), tRefCP.m_iOffset )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxexcerpt.cpp: In instantiation of ‘void CacheStreamer_c::Tokenize(T&) [with T = DocStartHighlighter_c]’: sphinxexcerpt.cpp:3470:37: required from here sphinxexcerpt.cpp:943:39: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] int iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:944:37: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] int iLen = sphUnalignedRead ( *(WORD*)(p+5) ); ^~~~~~~~~~~~ sphinxexcerpt.cpp:945:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int iBoundary = sphUnalignedRead ( *(int*)(p+7) ); ^~~~~~~~~~~ sphinxexcerpt.cpp:965:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:967:45: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_uPosition = sphUnalignedRead ( *(DWORD*)(p+6) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:970:51: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iTermIndex = (int)sphUnalignedRead ( *(WORD*)(p+11) ) - 1; ^~~~~~~~~~~~~ sphinxrt.cpp:5184:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "empty attribute string found (segment=%d, offset=%u)", iSegment, (DWORD)(pCurStr-pBaseStr) )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5188:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string length out of bounds (segment=%d, offset=%u, len=%d)", iSegment, (DWORD)(pCurStr-pBaseStr), iLen )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5215:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "docid decreased in attributes (segment=%d, row=%u, docid=" DOCID_FMT ", lastid=" DOCID_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, DOCINFO2ID(pRow), uLastID )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5236:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "MVA index out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5236:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "MVA index out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5243:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5243:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); ~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5243:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "wrong MVA offset (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", expected=%u, got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, (DWORD)(pMvaCur-pMvaBase), uOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5254:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "MVA count out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", count=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValues )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5254:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "MVA count out of bounds (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", count=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValues )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5278:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5278:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5278:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (segment=%d, row=%u, mvaattr=%d, docid=" DOCID_FMT ", val[%u]=" INT64_FMT ", val[%u]=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), iPrev, uVal, iCur )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5302:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "float attribute value is unnormalized (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5302:21: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "float attribute value is unnormalized (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5307:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5307:21: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "float attribute is infinity (segment=%d, row=%u, attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5322:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5322:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5332:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5332:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5332:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5337:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5337:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5351:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "embedded zero in a string (segment=%d, offset=%u, string=%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uOffset, sErrorStr.cstr() )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5372:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5372:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset out of bounds (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxsearch.cpp: In member function ‘void FactorPool_c::AddToHash(SphDocID_t, BYTE*)’: sphinxsearch.cpp:6772:79: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘SphFactorHashEntry_t*’ increases required alignment of target type [-Wcast-align] SphFactorHashEntry_t * pNew = (SphFactorHashEntry_t *)(pPacked+m_iElementSize); ^ sphinxrt.cpp:5381:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5381:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5381:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset decreased (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u, last_offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset, uLastStrOffset )); ~~~~~~~~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5386:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxrt.cpp:5386:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string(JSON) offset is not a string start (segment=%d, row=%u, stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iSegment, uRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinxrt.cpp:4560:10: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinxexcerpt.cpp: In instantiation of ‘void CacheStreamer_c::Tokenize(T&) [with T = HighlightQuery_c]’: sphinxexcerpt.cpp:3732:38: required from here sphinxexcerpt.cpp:943:39: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] int iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:944:37: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] int iLen = sphUnalignedRead ( *(WORD*)(p+5) ); ^~~~~~~~~~~~ sphinxexcerpt.cpp:945:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int iBoundary = sphUnalignedRead ( *(int*)(p+7) ); ^~~~~~~~~~~ sphinxexcerpt.cpp:965:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:967:45: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_uPosition = sphUnalignedRead ( *(DWORD*)(p+6) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:970:51: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iTermIndex = (int)sphUnalignedRead ( *(WORD*)(p+11) ) - 1; ^~~~~~~~~~~~~ sphinxexcerpt.cpp: In instantiation of ‘void CacheStreamer_c::Tokenize(T&) [with T = ExtractExcerpts_c]’: sphinxexcerpt.cpp:3756:36: required from here sphinxexcerpt.cpp:943:39: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] int iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:944:37: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] int iLen = sphUnalignedRead ( *(WORD*)(p+5) ); ^~~~~~~~~~~~ sphinxexcerpt.cpp:945:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int iBoundary = sphUnalignedRead ( *(int*)(p+7) ); ^~~~~~~~~~~ sphinxexcerpt.cpp:965:42: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iStart = sphUnalignedRead ( *(DWORD*)(p+1) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:967:45: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_uPosition = sphUnalignedRead ( *(DWORD*)(p+6) ); ^~~~~~~~~~~~~ sphinxexcerpt.cpp:970:51: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] tTok.m_iTermIndex = (int)sphUnalignedRead ( *(WORD*)(p+11) ) - 1; ^~~~~~~~~~~~~ sphinxsearch.cpp: In member function ‘DWORD RankerState_Export_fn::Finalize(const CSphMatch&)’: sphinxsearch.cpp:8882:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] snprintf ( dVal.Begin(), dVal.GetLength(), "bm25=%d, bm25a=%f, field_mask=%d, doc_word_count=%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_uDocBM25, m_fDocBM25A, *m_tMatchedFields.Begin(), m_uDocWordCount ); ~~~~~~~~~~ sphinxsearch.cpp:8882:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinxsearch.cpp:8882:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinxsearch.cpp:8891:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] snprintf ( sTmp, MAX_STR_LEN, ", field%d=" ^~~~~~~~~~~~  "(lcs=%d, hit_count=%d, word_count=%d, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "tf_idf=%f, min_idf=%f, max_idf=%f, sum_idf=%f, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  "min_hit_pos=%d, min_best_span_pos=%d, exact_hit=%d, max_window_hits=%d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8896:16: m_uLCS[i], m_uHitCount[i], m_uWordCount[i], ~~~~~~~~~~~~~~ sphinxsearch.cpp:8891:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o wordbreaker.o wordbreaker.cpp sphinxsearch.cpp: In function ‘ISphRanker* sphCreateRanker(const XQQuery_t&, const CSphQuery*, CSphQueryResult*, const ISphQwordSetup&, const CSphQueryContext&)’: sphinxsearch.cpp:9109:94: warning: cast from ‘const char*’ to ‘void**’ increases required alignment of target type [-Wcast-align] pRanker->ExtraData ( EXTRA_SET_RANKER_PLUGIN_OPTS, (void**)pQuery->m_sUDRankerOpts.cstr() ); ^ sphinxrt.cpp: In member function ‘virtual bool RtIndex_t::MultiQuery(const CSphQuery*, CSphQueryResult*, int, ISphMatchSorter**, const CSphMultiQueryArgs&) const’: sphinxrt.cpp:7157:100: warning: cast from ‘const unsigned char*’ to ‘void**’ increases required alignment of target type [-Wcast-align] pRanker->ExtraData ( EXTRA_SET_STRINGPOOL, (void**)tGuard.m_dRamChunks[iSeg]->m_dStrings.Begin() ); ^ sphinxrt.cpp: In member function ‘void RtBinlog_c::LoadMeta()’: sphinxrt.cpp:9357:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sMeta.cstr(), uVersion, BINLOG_VERSION ); ~~~~~~~~ sphinxrt.cpp:9357:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinxrt.cpp:9369:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphDie ( "binlog meta file %s is v.%d, binary is v.%d; recovery requires previous binary version", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sMeta.cstr(), uVersion, BINLOG_VERSION ); ~~~~~~~~ sphinxrt.cpp:9369:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinxrt.cpp: In member function ‘int RtBinlog_c::ReplayBinlog(const SmallStringHash_T&, DWORD, int)’: sphinxrt.cpp:9565:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphDie ( "binlog: log %s is v.%d, binary is v.%d; recovery requires previous binary version", sLog.cstr(), uVersion, BINLOG_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinxrt.cpp:9565:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinxexpr.cpp: In member function ‘int Expr_MVAIn_c::MvaEval(const DWORD*) const [with bool MVA64 = true; DWORD = long unsigned int]’: sphinxexpr.cpp:4452:39: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] const int64_t * L = (const int64_t *)pMva; ^~~~ sphinxexpr.cpp:4453:53: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] const int64_t * R = (const int64_t *)( pMvaMax - 2 ); ^ sphinxexpr.cpp:4468:39: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] R = (const int64_t *) ( pMvaMax - 2 ); ^ sphinxexpr.cpp: In member function ‘int64_t Expr_MVAAggr_c::MvaAggr(const DWORD*, ESphAggrFunc) const [with bool MVA64 = true; int64_t = long long int; DWORD = long unsigned int]’: sphinxexpr.cpp:4592:39: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] const int64_t * L = (const int64_t *)pMva; ^~~~ sphinxexpr.cpp:4593:53: warning: cast from ‘const DWORD*’ {aka ‘const long unsigned int*’} to ‘const int64_t*’ {aka ‘const long long int*’} increases required alignment of target type [-Wcast-align] const int64_t * R = (const int64_t *)( pMvaMax - 2 ); ^ sphinxsearch.cpp: In instantiation of ‘bool RankerState_Expr_fn::ExtraDataImpl(ExtraData_e, void**) [with bool NEED_PACKEDFACTORS = false; bool HANDLE_DUPES = true]’: sphinxsearch.cpp:8611:6: required from here sphinxsearch.cpp:8628:29: warning: cast from ‘void**’ to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] m_tFactorPool.AddRef ( *(SphDocID_t*)ppResult ); ^~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8642:43: warning: cast from ‘void**’ to ‘SphExtraDataRankerState_t*’ increases required alignment of target type [-Wcast-align] SphExtraDataRankerState_t * pState = (SphExtraDataRankerState_t *)ppResult; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8654:7: warning: cast from ‘void**’ to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] *(int64_t*)ppResult = (int64_t)GetMaxPackedLength() * m_iPoolMatchCapacity; ^~~~~~~~~~~~~~~~~~ sphinxsearch.cpp: In instantiation of ‘bool RankerState_Expr_fn::ExtraDataImpl(ExtraData_e, void**) [with bool NEED_PACKEDFACTORS = true; bool HANDLE_DUPES = false]’: sphinxsearch.cpp:8611:6: required from here sphinxsearch.cpp:8628:29: warning: cast from ‘void**’ to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] m_tFactorPool.AddRef ( *(SphDocID_t*)ppResult ); ^~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8642:43: warning: cast from ‘void**’ to ‘SphExtraDataRankerState_t*’ increases required alignment of target type [-Wcast-align] SphExtraDataRankerState_t * pState = (SphExtraDataRankerState_t *)ppResult; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8654:7: warning: cast from ‘void**’ to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] *(int64_t*)ppResult = (int64_t)GetMaxPackedLength() * m_iPoolMatchCapacity; ^~~~~~~~~~~~~~~~~~ sphinxsearch.cpp: In instantiation of ‘bool RankerState_Expr_fn::ExtraDataImpl(ExtraData_e, void**) [with bool NEED_PACKEDFACTORS = true; bool HANDLE_DUPES = true]’: sphinxsearch.cpp:8611:6: required from here sphinxsearch.cpp:8628:29: warning: cast from ‘void**’ to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] m_tFactorPool.AddRef ( *(SphDocID_t*)ppResult ); ^~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8642:43: warning: cast from ‘void**’ to ‘SphExtraDataRankerState_t*’ increases required alignment of target type [-Wcast-align] SphExtraDataRankerState_t * pState = (SphExtraDataRankerState_t *)ppResult; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8654:7: warning: cast from ‘void**’ to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] *(int64_t*)ppResult = (int64_t)GetMaxPackedLength() * m_iPoolMatchCapacity; ^~~~~~~~~~~~~~~~~~ sphinxsearch.cpp: In instantiation of ‘bool RankerState_Expr_fn::ExtraDataImpl(ExtraData_e, void**) [with bool NEED_PACKEDFACTORS = false; bool HANDLE_DUPES = false]’: sphinxsearch.cpp:8611:6: required from here sphinxsearch.cpp:8628:29: warning: cast from ‘void**’ to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] m_tFactorPool.AddRef ( *(SphDocID_t*)ppResult ); ^~~~~~~~~~~~~~~~~~~~~ sphinxexpr.cpp: In member function ‘int ExprParser_t::AddNodeUdf(int, int)’: sphinxexpr.cpp:6081:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] m_sParserError.SetSprintf ( "internal error: unmapped UDF argument type (arg=%d, type=%d)", i, dArgTypes[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8642:43: warning: cast from ‘void**’ to ‘SphExtraDataRankerState_t*’ increases required alignment of target type [-Wcast-align] SphExtraDataRankerState_t * pState = (SphExtraDataRankerState_t *)ppResult; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp:8654:7: warning: cast from ‘void**’ to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] *(int64_t*)ppResult = (int64_t)GetMaxPackedLength() * m_iPoolMatchCapacity; ^~~~~~~~~~~~~~~~~~ sphinxexpr.cpp: In instantiation of ‘int Expr_JsonFieldIn_c::ArrayEval(const BYTE*) const [with T = int; BYTE = unsigned char]’: sphinxexpr.cpp:4664:58: required from here sphinxexpr.cpp:4727:22: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] const T * pArray = (const T *)pVal; ^~~~~~~~~~~~~~~ sphinxexpr.cpp: In instantiation of ‘int Expr_JsonFieldIn_c::ArrayEval(const BYTE*) const [with T = long long int; BYTE = unsigned char]’: sphinxexpr.cpp:4665:62: required from here sphinxexpr.cpp:4727:22: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘const long long int*’ increases required alignment of target type [-Wcast-align] indextool.cpp: In function ‘bool MergeIDF(const CSphString&, const CSphVector&, CSphString&, bool)’: indextool.cpp:591:60: warning: cast from ‘unsigned char*’ to ‘uint64_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] dWords[i].m_uWordID = *(uint64_t*)( dBuffers[i]+iOffset ); ^ indextool.cpp:592:72: warning: cast from ‘unsigned char*’ to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] dWords[i].m_iDocs = *(DWORD*)( dBuffers[i]+iOffset+sizeof(uint64_t) ); ^ sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include -DSYSCONFDIR="\"/etc/sphinx\"" -DDATADIR="\"/var/lib/data\"" -I/someplace/nonexisting/include -pthread -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -c -o tests.o tests.cpp sphinxsearch.cpp: In instantiation of ‘BYTE* RankerState_Expr_fn::PackFactors() [with bool NEED_PACKEDFACTORS = false; bool HANDLE_DUPES = false; BYTE = unsigned char]’: sphinxsearch.cpp:8689:46: required from ‘DWORD RankerState_Expr_fn::Finalize(const CSphMatch&) [with bool NEED_PACKEDFACTORS = false; bool HANDLE_DUPES = false; DWORD = long unsigned int]’ sphinxsearch.cpp:6202:35: required from ‘int ExtRanker_T::GetMatches() [with STATE = RankerState_Expr_fn<>]’ sphinxsearch.cpp:6125:5: required from here sphinxsearch.cpp:8538:23: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] DWORD * pPackStart = (DWORD *)m_tFactorPool.Alloc(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinxsearch.cpp: In instantiation of ‘BYTE* RankerState_Expr_fn::PackFactors() [with bool NEED_PACKEDFACTORS = false; bool HANDLE_DUPES = true; BYTE = unsigned char]’: sphinxsearch.cpp:8689:46: required from ‘DWORD RankerState_Expr_fn::Finalize(const CSphMatch&) [with bool NEED_PACKEDFACTORS = false; bool HANDLE_DUPES = true; DWORD = long unsigned int]’ sphinxsearch.cpp:6202:35: required from ‘int ExtRanker_T::GetMatches() [with STATE = RankerState_Expr_fn]’ sphinxsearch.cpp:6125:5: required from here sphinxsearch.cpp:8538:23: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] sphinxsearch.cpp: In instantiation of ‘BYTE* RankerState_Expr_fn::PackFactors() [with bool NEED_PACKEDFACTORS = true; bool HANDLE_DUPES = false; BYTE = unsigned char]’: sphinxsearch.cpp:8689:46: required from ‘DWORD RankerState_Expr_fn::Finalize(const CSphMatch&) [with bool NEED_PACKEDFACTORS = true; bool HANDLE_DUPES = false; DWORD = long unsigned int]’ sphinxsearch.cpp:6202:35: required from ‘int ExtRanker_T::GetMatches() [with STATE = RankerState_Expr_fn]’ sphinxsearch.cpp:6125:5: required from here sphinxsearch.cpp:8538:23: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] sphinxsearch.cpp: In instantiation of ‘BYTE* RankerState_Expr_fn::PackFactors() [with bool NEED_PACKEDFACTORS = true; bool HANDLE_DUPES = true; BYTE = unsigned char]’: sphinxsearch.cpp:8689:46: required from ‘DWORD RankerState_Expr_fn::Finalize(const CSphMatch&) [with bool NEED_PACKEDFACTORS = true; bool HANDLE_DUPES = true; DWORD = long unsigned int]’ sphinxsearch.cpp:6202:35: required from ‘int ExtRanker_T::GetMatches() [with STATE = RankerState_Expr_fn]’ sphinxsearch.cpp:6125:5: required from here sphinxsearch.cpp:8538:23: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] searchd.cpp: In member function ‘virtual void NetInputBuffer_c::SendErrorReply(const char*, ...)’: searchd.cpp:3607:28: warning: cast from ‘char*’ to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] WORD * p0 = (WORD*)&dBuf[0]; ^ searchd.cpp:3623:30: warning: cast from ‘char*’ to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] DWORD * p4 = (DWORD*)&dBuf[4]; ^ searchd.cpp: In member function ‘void DistributedIndex_t::ShareHACounters()’: searchd.cpp:4350:54: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] WORD* pWeights = (WORD*) ( pBuffer + sizeof(int) ); // NOLINT ^ searchd.cpp:4354:30: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] dAgent.SetHAData ( (int*)pBuffer, pWeights, m_pHAStorage ); ^~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchExpr_fn; bool DISTINCT = true; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ searchd.cpp: In member function ‘virtual bool SearchReplyParser_t::ParseReply(MemInputBuffer_c&, AgentConn_t&) const’: searchd.cpp:6166:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] default: tAgent.m_sFailure.SetSprintf ( "internal error: unknown status %d", eStatus ); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ searchd.cpp:6269:17: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] *(DWORD *)pData = uLength; ^~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchExpr_fn; bool DISTINCT = true; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchExpr_fn; bool DISTINCT = false; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchExpr_fn; bool DISTINCT = false; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void LogQueryPlain(const CSphQuery&, const CSphQueryResult&)’: searchd.cpp:7064:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] tBuf.Appendf ( "ios=%d kb=%d.%d ioms=%d.%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, ~~~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void FormatOption(const CSphQuery&, CSphStringBuilder&)’: searchd.cpp:7374:18: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] tBuf.Appendf ( "max_query_time=%u", tQuery.m_uMaxQueryMsec ); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void LogQuerySphinxql(const CSphQuery&, const CSphQueryResult&, const CSphVector&)’: searchd.cpp:7555:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] tBuf.Appendf ( " ios=%d kb=%d.%d ioms=%d.%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IOStats.m_iReadOps, (int)( IOStats.m_iReadBytes/1024 ), (int)( IOStats.m_iReadBytes%1024 )*10/1024, ~~~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void SendResult(int, NetOutputBuffer_c&, const CSphQueryResult*, const CSphTaggedVector&, bool, const CSphQuery&, int)’: searchd.cpp:8206:33: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] DWORD uLength = *(DWORD*)pData; ^~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric5_fn; bool DISTINCT = true; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric5_fn; bool DISTINCT = true; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric5_fn; bool DISTINCT = false; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric5_fn; bool DISTINCT = false; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric4_fn; bool DISTINCT = true; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric4_fn; bool DISTINCT = true; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric4_fn; bool DISTINCT = false; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric4_fn; bool DISTINCT = false; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric3_fn; bool DISTINCT = true; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric3_fn; bool DISTINCT = true; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric3_fn; bool DISTINCT = false; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric3_fn; bool DISTINCT = false; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric2_fn; bool DISTINCT = true; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric2_fn; bool DISTINCT = true; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric2_fn; bool DISTINCT = false; bool NOTIFICATIONS = true]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ sphinxsort.cpp: In instantiation of ‘bool CSphKBufferJsonGroupSorter::Push(const CSphMatch&) [with COMPGROUP = MatchGeneric2_fn; bool DISTINCT = false; bool NOTIFICATIONS = false]’: sphinxsort.cpp:2897:15: required from here sphinxsort.cpp:2954:15: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * p = (int*)pValue; ^~~~~~~~~~~~ sphinxsort.cpp:2970:19: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] int64_t * p = (int64_t*)pValue; ^~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void BuildStatus(VectorLike&)’: searchd.cpp:14165:30: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%u", (DWORD)time(NULL)-g_pStats->m_uStarted ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void BuildDistIndexStatus(VectorLike&, const CSphString&)’: searchd.cpp:14424:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%d", (DWORD)(tAgents.GetWeights()[j]) ); // FIXME! IPC unsafe, if critical need to be locked. ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void BuildAgentStatus(VectorLike&, const CSphString&)’: searchd.cpp:14456:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%d", g_uHAPeriodKarma ); ^~~~ ~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void AddIOStatsToMeta(VectorLike&, const CSphIOStats&, const char*)’: searchd.cpp:14487:30: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%u", tStats.m_iReadOps ); ^~~~ ~~~~~~~~~~~~~~~~~ searchd.cpp:14496:30: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%u", tStats.m_iWriteOps ); ^~~~ ~~~~~~~~~~~~~~~~~~ searchd.cpp: In function ‘void BuildMeta(VectorLike&, const CSphQueryResultMeta&)’: searchd.cpp:14537:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:14539:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:14541:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:14550:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedDocs + tMeta.m_iAgentFetchedDocs ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:14552:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iFetchedHits + tMeta.m_iAgentFetchedHits ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchd.cpp:14554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] dStatus.Add().SetSprintf ( "%d", tMeta.m_tStats.m_iSkips + tMeta.m_iAgentFetchedSkips ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp: In function ‘DWORD ReadVersion(const char*, CSphString&)’: sphinx.cpp:1328:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sError.SetSprintf ( "%s is v.%d, binary is v.%d", sPath, uVersion, INDEX_FORMAT_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinx.cpp:1328:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] searchd.cpp: In function ‘void SendMysqlSelectResult(SqlRowBuffer_c&, const AggrResult_t&, bool)’: searchd.cpp:16975:102: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] int iLen = snprintf ( dRows.Get(), SPH_MAX_NUMERIC_STR, nValues>0 ? "%u," : "%u", *pValues++ ); ~~~~~~~~~~ ^ searchd.cpp:16975:102: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinx.cpp: In member function ‘const BYTE* ExceptionsTrie_c::GetMapping(int) const’: sphinx.cpp:2102:28: warning: cast from ‘const unsigned char*’ to ‘int*’ increases required alignment of target type [-Wcast-align] int p = *(int*)&m_dData[i]; ^ sphinx.cpp: In member function ‘int ExceptionsTrie_c::GetNext(int, BYTE) const’: sphinx.cpp:2124:32: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] return *(int*)&p [ n + 4*i ]; // FIXME? unaligned ^ sphinx.cpp: In member function ‘void ExceptionsTrie_c::Export(CSphWriter&, CSphVector&, int, int*) const’: sphinx.cpp:2145:20: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int iTo = *(int*)p; ^ sphinx.cpp:2164:40: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] Export ( w, dPrefix, *(int*)&p[n+4*i], pCount ); ^ sphinx.cpp: In member function ‘ExceptionsTrie_c* ExceptionsTrieGen_c::Build()’: sphinx.cpp:2328:23: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] int * pOff = (int*)p; // FIXME? unaligned ^ sphinx.cpp:2345:64: warning: cast from ‘unsigned char*’ to ‘int*’ increases required alignment of target type [-Wcast-align] pRes->m_dFirst [ d[5+i] ] = *(int*)&pRes->m_dData [ 5+n+4*i ]; ^ searchd.cpp: In function ‘void CheckPipes()’: searchd.cpp:20426:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphWarning ( "INTERNAL ERROR: pipe status mismatch (handler=%d, status=%d)", iHandler, uStatus ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ searchd.cpp:20437:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] default: if ( !bFailure ) sphWarning ( "INTERNAL ERROR: unknown pipe handler (handler=%d, status=%d)", iHandler, uStatus ); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ tests.cpp: In function ‘void BenchStemmer()’: tests.cpp:3149:11: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] printf ( "stemmed %d tokens (%d bytes) in %d msec, hash %08x %08x\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests.cpp:3151:3: (DWORD)( uHash>>32 ), (DWORD)( uHash & 0xffffffffUL ) ); ~~~~~~~~~~~~~~~~~~~~ tests.cpp:3149:11: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] searchd.cpp: In function ‘void QueryStatus(CSphVariant*)’: searchd.cpp:22449:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphFatal ( "handshake failure (unexpected protocol version=%d)", uVer ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ sphinx.cpp: In member function ‘void ISphSchema::CopyPtrs(CSphMatch*, const CSphMatch&) const’: sphinx.cpp:7224:31: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘DWORD*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] DWORD uDataSize = *(DWORD*)pData; ^~~~~ searchd.cpp: In function ‘int ServiceMain(int, char**)’: searchd.cpp:23903:50: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] g_pConnID = (int*) pAcceptMutex->GetSharedData(); ^ searchd.cpp: In instantiation of ‘T InputBuffer_c::GetT() [with T = int]’: searchd.cpp:2990:28: required from here searchd.cpp:3387:31: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] T iRes = sphUnalignedRead ( *(T*)m_pCur ); ^~~~~~~~~~ searchd.cpp: In instantiation of ‘T InputBuffer_c::GetT() [with T = short unsigned int]’: searchd.cpp:2991:29: required from here searchd.cpp:3387:31: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] searchd.cpp: In instantiation of ‘T InputBuffer_c::GetT() [with T = long unsigned int]’: searchd.cpp:2992:31: required from here searchd.cpp:3387:31: warning: cast from ‘const BYTE*’ {aka ‘const unsigned char*’} to ‘long unsigned int*’ increases required alignment of target type [-Wcast-align] sphinx.cpp: In member function ‘virtual void tDocCollector::TestData(int)’: sphinx.cpp:9032:58: warning: cast from ‘DWORD*’ {aka ‘long unsigned int*’} to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] m_dCollection->Add ( *(SphDocID_t*)(g_pMvaArena + iData) ); ^ sphinx.cpp: In member function ‘virtual int CSphIndex_VLN::UpdateAttributes(const CSphAttrUpdate&, int, CSphString&, CSphString&)’: sphinx.cpp:10180:64: warning: cast from ‘DWORD*’ {aka ‘long unsigned int*’} to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] SphDocID_t* pDocid = (SphDocID_t *)(g_pMvaArena + iNewIndex); ^ sphinx.cpp:10239:84: warning: cast from ‘DWORD*’ {aka ‘long unsigned int*’} to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] uOldIndex = ((DWORD*)((SphDocID_t*)(g_pMvaArena + (uOldIndex & MVA_OFFSET_MASK))-1))-g_pMvaArena; ^ In file included from sphinx.h:42, from searchd.cpp:16: sphinxstd.h: In instantiation of ‘T& CSphScopedLockedShare::SharedValue() [with T = long unsigned int; LOCK = InterWorkerStorage]’: searchd.cpp:14719:45: required from here sphinxstd.h:2786:11: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘long unsigned int*’ increases required alignment of target type [-Wcast-align] return *(T*)( this->m_tMutexRef.GetSharedData() ); sphinx.cpp: In member function ‘bool CSphIndex_VLN::LoadPersistentMVA(CSphString&)’: sphinx.cpp:10361:62: warning: cast from ‘DWORD*’ {aka ‘long unsigned int*’} to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] SphDocID_t *pDocid = (SphDocID_t*)(g_pMvaArena + iAlloc); ^ sphinx.cpp:10396:67: warning: cast from ‘DWORD*’ {aka ‘long unsigned int*’} to ‘SphDocID_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Wcast-align] ((DWORD*)(((SphDocID_t*)(g_pMvaArena + dAllocs[iAllocIndex++]))+1) - g_pMvaArena) | MVA_ARENA_FLAG ); ^ sphinx.cpp: In member function ‘virtual bool CSphIndex_VLN::SaveAttributes(CSphString&) const’: sphinx.cpp:10486:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphLogDebugvv ( "index '%s' attrs (%d) saving...", m_sIndexName.cstr(), uAttrStatus ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ sphinx.cpp:10603:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphLogDebugvv ( "index '%s' attrs (%d) saved", m_sIndexName.cstr(), *m_pAttrsStatus ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ sphinx.cpp: In function ‘bool CopyFile(const char*, const char*, CSphString&, ThrottleState_t*, volatile bool*, volatile bool*)’: sphinx.cpp:14027:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sErrStr.SetSprintf ( "read error in %s; " INT64_FMT " of %d bytes read", sSrc, (int64_t)iRead, iSize ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sphinx.cpp: In member function ‘virtual bool CSphIndex_VLN::LoadHeader(const char*, bool, CSphEmbeddedFiles&, CSphString&)’: sphinx.cpp:16426:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] m_sLastError.SetSprintf ( "%s is v.%d, binary is v.%d", sHeaderName, m_uVersion, INDEX_FORMAT_VERSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ sphinx.cpp:16426:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinx.cpp: In member function ‘virtual void CSphIndex_VLN::DebugDumpHeader(FILE*, const char*, bool)’: sphinx.cpp:16741:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] fprintf ( fp, "version: %d\n", m_uVersion ); ^~~~~~~~~~~~~~~ ~~~~~~~~~~ sphinx.cpp:16830:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] fprintf ( fp, "killlist-size: %u\n", m_uKillListSize ); ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ sphinx.cpp: In member function ‘bool CSphIndex_VLN::ParsedMultiQuery(const CSphQuery*, CSphQueryResult*, int, ISphMatchSorter**, const XQQuery_t&, CSphDict*, const CSphMultiQueryArgs&, CSphQueryNodeCache*, const SphWordStatChecker_t&) const’: sphinx.cpp:19465:75: warning: cast from ‘unsigned char*’ to ‘void**’ increases required alignment of target type [-Wcast-align] pRanker->ExtraData ( EXTRA_SET_STRINGPOOL, (void**)m_tString.GetWritePtr() ); ^ sphinx.cpp: In member function ‘virtual int CSphIndex_VLN::DebugCheck(FILE*)’: sphinx.cpp:19917:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "dictionary needed index version not less then 21 (readed=%d)" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , m_uVersion )); ~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20099:19: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, tCP.m_sWord, (DWORD)strlen ( tCP.m_sWord ), (int64_t)tCP.m_iWordlistOffset, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20099:19: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "empty checkpoint %d (read_word=%s, read_len=%u, readpos=" INT64_FMT ", calc_word=%s, calc_len=%u, calcpos=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:20101:22: tRefCP.m_sWord, (DWORD)strlen ( tRefCP.m_sWord ), (int64_t)tRefCP.m_iWordlistOffset )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20350:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20350:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "hit entries sorting order decreased (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=%u, last=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20359:22: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20359:22: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "multiple tail hits (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", hit=0x%x, last=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, uHit, uLastHit )); ~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20391:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "doc hit count mismatch (wordid=" UINT64_FMT "(%s), docid=" DOCID_FMT ", doclist=%d, hitlist=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (uint64_t)uWordid, sWord, pQword->m_tDoc.m_uDocID, pQword->m_uMatchHits, iDocHits )); ~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20610:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "MVA index out of bounds (row=" INT64_FMT ", mvaattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20672:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", expected=" INT64_FMT ", got=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, rdMva.GetPos()/sizeof(DWORD), uSpaOffset )); ~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20693:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "MVA count out of bounds (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", count=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, uValues )); ~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20721:24: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20721:24: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unsorted MVA values (row=" INT64_FMT ", mvaattr=%d, docid expected=" DOCID_FMT ", got=" DOCID_FMT ", val[%u]=%u, val[%u]=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uMvaID, ( iItem>=iMva64 ? uVal-2 : uVal-1 ), (unsigned int)iPrev, uVal, (unsigned int)iCur )); ~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20758:21: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "float attribute value is unnormalized (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20763:21: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "float attribute is infinity (row=" INT64_FMT ", attr=%d, id=" DOCID_FMT ", raw=0x%x, value=%f)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uValue, sphDW2F ( uValue ) )); ~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20778:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20792:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string length out of bounds (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20801:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "string offset is not a string start (row=" INT64_FMT ", stringattr=%d, docid=" DOCID_FMT ", offset=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iRow, iItem, uLastID, uOffset )); ~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20927:23: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iBlock, uMin, uMax )); ~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20927:23: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "invalid MVA range (row=" INT64_FMT ", block=" INT64_FMT ", min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iBlock, uMin, uMax )); ~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20950:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA docid (row=" INT64_FMT ", mvaattr=%d, expected=" DOCID_FMT ", got=" DOCID_FMT ", block=" INT64_FMT ", index=%u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, uMvaDocID, iBlock, (DWORD)uOff )); ~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20967:24: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20967:24: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20967:24: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20967:24: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 10 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unexpected MVA value (row=" INT64_FMT ", attr=%u, docid=" DOCID_FMT ", block=" INT64_FMT ", index=%u, value=0x%x, min=0x%x, max=0x%x)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iIndexEntry, iItem, uDocID, iBlock, iVal, (DWORD)uVal, (DWORD)uMin, (DWORD)uMax )); ~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:20995:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "kill-list size differs (expected=%d, got=" INT64_FMT ")", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_uKillListSize, (int64_t)m_pKillList.GetNumEntries() )); ~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:21001:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uID-1, (DWORD)m_pKillList[uID-1], uID, (DWORD)m_pKillList[uID] )); ~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:21001:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:21001:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uID-1, (DWORD)m_pKillList[uID-1], uID, (DWORD)m_pKillList[uID] )); ~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp:21001:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] LOC_FAIL(( fp, "unsorted kill-list values (val[%d]=%d, val[%d]=%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sphinx.cpp:19788:11: note: in definition of macro ‘LOC_FAIL’ fprintf _args; \ ^~~~~ sphinx.cpp: In member function ‘bool CSphTemplateDictTraits::StemById(BYTE*, int) const’: sphinx.cpp:22601:26: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] stem_ru_utf8 ( (WORD*)pWord ); ^~~~~ sphinx.cpp:22604:40: warning: cast from ‘BYTE*’ {aka ‘unsigned char*’} to ‘WORD*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] stem_ru_utf8 ( (WORD *)( pLastSBS+1 ) ); ^ sphinx.cpp: In member function ‘virtual const char* CSphDictKeywords::HitblockGetKeyword(SphWordID_t)’: sphinx.cpp:24298:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphWarning ( "hash missing value in operator [] (wordid=" INT64_FMT ", hash=%d)", (int64_t)uWordID, uHash ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sphinx.cpp: In function ‘void sphDictBuildInfixes(const char*)’: sphinx.cpp:32386:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphDie ( "infix upgrade: got v.%d header, v.21 to v.26 required", uVersion ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinx.cpp: In function ‘void sphDictBuildSkiplists(const char*)’: sphinx.cpp:32593:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphDie ( "skiplists upgrade: got v.%d header, v.%d to v.30 required", uVersion, uLowestVersion ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ sphinx.cpp:32593:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinx.cpp:32898:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphDie ( "skiplist upgrade: internal error, entry mismatch (expected %d, got %d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uWordCount, pSkips->m_uEntry ); ~~~~~~~~~~ sphinx.cpp:32898:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] sphinx.cpp: In instantiation of ‘void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = _IO_FILE]’: sphinx.cpp:16878:2: required from here sphinx.cpp:16953:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] fprintf ( fp, "doc=" DOCID_FMT ", hit=0x%08x\n", tKeyword.m_tDoc.m_uDocID, uHit ); // FIXME? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ sphinx.cpp: In instantiation of ‘void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = _IO_FILE]’: sphinx.cpp:16878:2: required from here sphinx.cpp:16953:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] sphinx.cpp: In instantiation of ‘void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = _IO_FILE]’: sphinx.cpp:16878:2: required from here sphinx.cpp:16953:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] sphinx.cpp: In instantiation of ‘void CSphIndex_VLN::DumpHitlist(FILE*, const char*, bool) [with Qword = DiskIndexQword_c; FILE = _IO_FILE]’: sphinx.cpp:16878:2: required from here sphinx.cpp:16953:19: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Hitpos_t’ {aka ‘long unsigned int’} [-Wformat=] rm -f libsphinx.a sparc-unknown-linux-gnu-ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxstemar.o sphinxutils.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o sphinxjson.o sphinxudf.o sphinxaot.o sphinxplugin.o sparc-unknown-linux-gnu-ranlib libsphinx.a sparc-unknown-linux-gnu-g++ -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wl,-O1 -Wl,--as-needed -o indexer indexer.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto /usr/lib/libre2.a -lodbc -ldl -lm -lz -L/someplace/nonexisting/lib -lrt -lpthread sparc-unknown-linux-gnu-g++ -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wl,-O1 -Wl,--as-needed -o searchd searchd.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto /usr/lib/libre2.a -lodbc -ldl -lm -lz -L/someplace/nonexisting/lib -lrt -lpthread sparc-unknown-linux-gnu-g++ -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wl,-O1 -Wl,--as-needed -o spelldump spelldump.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto /usr/lib/libre2.a -lodbc -ldl -lm -lz -L/someplace/nonexisting/lib -lrt -lpthread sparc-unknown-linux-gnu-g++ -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wl,-O1 -Wl,--as-needed -o indextool indextool.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto /usr/lib/libre2.a -lodbc -ldl -lm -lz -L/someplace/nonexisting/lib -lrt -lpthread sparc-unknown-linux-gnu-g++ -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wl,-O1 -Wl,--as-needed -o wordbreaker wordbreaker.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto /usr/lib/libre2.a -lodbc -ldl -lm -lz -L/someplace/nonexisting/lib -lrt -lpthread sparc-unknown-linux-gnu-g++ -O2 -mcpu=niagara2 -pipe -Wcast-align -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wl,-O1 -Wl,--as-needed -o tests tests.o libsphinx.a -L/usr/lib -lstemmer -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto /usr/lib/libre2.a -lodbc -ldl -lm -lz -L/someplace/nonexisting/lib -lrt -lpthread ///usrusrusr////libliblib//usr/libre2.alibre2.alibre2.a//(((libusrparse.oparse.oparse.o//)))libre2.alib:::( / In parse.olibre2.aIn In)( :function parse.ofunction function) ` In`:`re2 re2 re2:function:In:: : :`ParseUnicodeGroupParseUnicodeGroupfunctionParseUnicodeGroupre2(( (re2:re2`re2::::re2::ParseUnicodeGroupStringPiece::StringPiece(*:StringPiece,*re2ParseUnicodeGroup* ,,:(re2 :re2re2:re2StringPiece::*::::,:RegexpRegexpStringPiece Regexp::*re2:::,: :ParseFlagsParseFlags:re2ParseFlags,,Regexp:, :: re2re2:Regexpre2::ParseFlags::::,::CharClassBuilderCharClassBuilder ParseFlagsCharClassBuilder**re2,*,,: , :re2 re2re2CharClassBuilder::re2:*::::,RegexpStatusCharClassBuilder:RegexpStatus **RegexpStatus*)re2,*)': )'::re2': :RegexpStatus:( :* .(RegexpStatus)(text.*'.+text):text0x53a8+' +)0x53a8(:0x53a8:)). ::text(undefined . +undefinedtextreferenceundefined0x53a8 + )0x53a8referencetoreference:) :to`to undefined icu undefined `:` referenceicu:icureferenceUnicodeString :: :to::to: UnicodeStringUnicodeString fromUTF8`::`(:icu:icuicufromUTF8:fromUTF8::(:(::icuUnicodeStringicuUnicodeStringStringPiece::::)::::'StringPiecefromUTF8fromUTF8StringPiece ()()(icu''icu .: :(text:.(:+StringPiecetext.StringPiece0x5438)+text))'0x5438'+: 0x5438 ) :()undefined.:( text .undefinedreference+undefinedtext 0x5438 +referenceto)reference 0x5438 : to)` to :icuundefined ` : `icu:undefinedreferenceicu:UnicodeSet :::toreference:UnicodeSet: :UnicodeSetUnicodeSet`:to(:icuicuUnicodeSet :::(`UnicodeSet::icuicu(UnicodeStringUnicodeSet:: icu:::const::UnicodeString&UnicodeSet:UnicodeSet ,:UnicodeString(const : icu&UErrorCodeUnicodeSet:const:,&(&UnicodeString )icu, UErrorCode': const& :(UErrorCode.UnicodeStringtext& &+)const,)0x5468'& ') , UErrorCode:( (& ..UErrorCode)undefinedtexttext&' ++) reference0x54680x5468'( )) .to::text( +`.undefinedundefined0x5468icutext ):+referencereference::0x5468 UnicodeSet)totoundefined:: : ``reference~undefinedicuicu UnicodeSet ::to(reference:: ) 'UnicodeSetUnicodeSet :`to:(:icu: ~.~:`UnicodeSettextUnicodeSet:icu(+(UnicodeSet):0x5470):'):': : UnicodeSet~( (:UnicodeSet.undefined.:(text text~)+reference+UnicodeSet'0x5470 0x5470( )to)(): :.'text ` +undefinedicuundefined(0x5470 :).:referencereference :text undefinedtotoUnicodeString+ :0x5470reference``:) icuicuto~::: UnicodeString :`:(undefinedUnicodeStringicu)UnicodeString ::'::reference: ~: UnicodeString(UnicodeString~to:.(UnicodeString: text)(~`+')UnicodeStringicu0x54fc '(:)(: ):.UnicodeString(' text:. undefined+:(text 0x54fc~.reference+)UnicodeString:text 0x54fc( +to) )undefined0x54fc:`' ) referenceicu ::undefined :( toUnicodeSet.undefinedreference :text `:+referencetoicugetRangeCount0x54fc :()to`:):icu UnicodeSet :`:constundefined:icu:' UnicodeSet:getRangeCount reference::(( :UnicodeSet).to:getRangeCount text :const(+`getRangeCount')0x5538icu( ):)(: :const.UnicodeSetconst 'text:'undefined +: (0x5538(getRangeCountreference.). (text:textto)+ + 0x55380x5538undefined`const)) icu'::reference: :undefined(undefinedtoUnicodeSet . :referencetext`reference: +icuto getRangeStart0x5538: to():` int:UnicodeSeticu `)::undefinedicu :: :constgetRangeStartUnicodeSetreference:'(: UnicodeSet int:to:()getRangeStart :. (`getRangeStarttextconstinticu(+'):0x5548int :)()constUnicodeSet:. ': textconst :'undefined+(getRangeStart 0x5548.((reference)textint. :+)textto 0x5548 + undefined)` const0x5548:icureference') : :(undefined:to . UnicodeSet undefinedtextreference:` + :icureferenceto0x5548getRangeEnd: )`(:to:icuintUnicodeSet :):`:undefined :icuUnicodeSet constgetRangeEnd::reference'(:: intgetRangeEndUnicodeSetto()(: . int:`textconst)getRangeEndicu+': (0x56d0 :constint)('UnicodeSet :).:( text:.undefinedconst+getRangeEndtext0x56d0 '(+)reference int0x56d0: ()). to undefined:text const +`'referenceundefined0x56d0icu ):(toreference::. UnicodeSettext`to+:undefinedicu 0x56d0: :`)~reference:icu:UnicodeSet UnicodeSet: :(to:: undefined)UnicodeSet~` ':UnicodeSeticu reference::((~ :).UnicodeSettoUnicodeSet'text( : +)`:(0x56d8'icu~.) :UnicodeSettext::((+UnicodeSet .)0x56d8:undefinedtext'): + :~reference0x56d8( UnicodeSet ).undefined(to:text ) +reference'`undefined0x56d8 icu )to(:reference: .: `textUnicodeStringtoundefined:icu+ ::0x56d8`reference~:)icu UnicodeStringUnicodeString::(to: :) :undefinedUnicodeString'~` : UnicodeStringicureference:(: ~):toUnicodeString'UnicodeString ( :`):icu'~: UnicodeString:()UnicodeString': :~UnicodeString()' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make[2]: *** [Makefile:336: spelldump] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:327: indexer] Error 1 make[2]: *** [Makefile:330: indextool] Error 1 make[2]: *** [Makefile:342: wordbreaker] Error 1 make[2]: *** [Makefile:339: tests] Error 1 /usr/lib/libre2.a(parse.o): In function `re2::ParseUnicodeGroup(re2::StringPiece*, re2::Regexp::ParseFlags, re2::CharClassBuilder*, re2::RegexpStatus*)': (.text+0x53a8): undefined reference to `icu::UnicodeString::fromUTF8(icu::StringPiece)' (.text+0x5438): undefined reference to `icu::UnicodeSet::UnicodeSet(icu::UnicodeString const&, UErrorCode&)' (.text+0x5468): undefined reference to `icu::UnicodeSet::~UnicodeSet()' (.text+0x5470): undefined reference to `icu::UnicodeString::~UnicodeString()' (.text+0x54fc): undefined reference to `icu::UnicodeSet::getRangeCount() const' (.text+0x5538): undefined reference to `icu::UnicodeSet::getRangeStart(int) const' (.text+0x5548): undefined reference to `icu::UnicodeSet::getRangeEnd(int) const' (.text+0x56d0): undefined reference to `icu::UnicodeSet::~UnicodeSet()' (.text+0x56d8): undefined reference to `icu::UnicodeString::~UnicodeString()' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:333: searchd] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release/src' make[1]: *** [Makefile:244: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release/src' make: *** [Makefile:331: all-recursive] Error 1 * ERROR: app-misc/sphinx-2.2.11-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/sphinx-2.2.11-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/sphinx-2.2.11-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release' * S: '/var/tmp/portage/app-misc/sphinx-2.2.11-r1/work/sphinx-2.2.11-release'