Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1691014397.556458/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i_n6gdyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i_n6gdyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ec04a694a1094176a5bd7c5d9a45ee94', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1691014397.556458/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i_n6gdyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/opengrm-ngram-1.3.14-6.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1691014397.556458/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i_n6gdyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i_n6gdyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '458409b8001749129257a29e31b4e67b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1691014397.556458/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i_n6gdyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b1H15B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ngram-1.3.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ngram-1.3.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ngram-1.3.14 + rm -rf /builddir/build/BUILD/ngram-1.3.14-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ngram-1.3.14-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ngram-1.3.14-std-vector.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IHyJlj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngram-1.3.14 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-02-03 21:16:32.000000000 +0000 +++ ./configure 2023-08-02 22:16:34.876065373 +0000 @@ -1748,7 +1748,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-08-02 22:16:34.876065373 +0000 +++ ./configure 2023-08-02 22:16:34.894065429 +0000 @@ -7676,7 +7676,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -17699,7 +17699,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL' 'LIBS=-L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for x86_64-redhat-linux-ar... no checking for x86_64-redhat-linux-lib... no checking for x86_64-redhat-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7682: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -std=c++17 -fno-exceptions -E checking for ld used by g++ -std=c++17 -fno-exceptions... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ -std=c++17 -fno-exceptions linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes /usr/bin/grep: warning: stray \ before - checking for g++ -std=c++17 -fno-exceptions option to produce PIC... -fPIC -DPIC checking if g++ -std=c++17 -fno-exceptions PIC flag -fPIC -DPIC works... yes checking if g++ -std=c++17 -fno-exceptions static flag -static works... no checking if g++ -std=c++17 -fno-exceptions supports -c -o file.o... yes checking if g++ -std=c++17 -fno-exceptions supports -c -o file.o... (cached) yes checking whether the g++ -std=c++17 -fno-exceptions linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for fst/fst.h... yes checking for fst/extensions/far/far.h... yes checking for dlopen in -ldl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/bin/Makefile config.status: creating src/test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' -e 's|CC=.g..|& -Wl,--as-needed|' -i libtool + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ngram-1.3.14' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-absolute.lo ngram-absolute.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-context.lo ngram-context.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-absolute.cc -fPIC -DPIC -o .libs/ngram-absolute.o libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-context.cc -fPIC -DPIC -o .libs/ngram-context.o In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-absolute.h:23, from ngram-absolute.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngram-context.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngram-context.cc: At global scope: ngram-context.cc:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class Iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/algorithm:60, from ./../include/ngram/ngram-context.h:21: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ngram-context.cc: In static member function 'static void ngram::NGramContext::ParseContextInterval(std::string_view, std::vector*, std::vector*)': ngram-context.cc:129:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 129 | for (int i = 0; i < labels1.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ ngram-context.cc:133:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 133 | for (int i = 0; i < labels2.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ ngram-context.cc: In member function 'void ngram::NGramContext::Init()': ngram-context.cc:144:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 144 | if (context_begin_.size() >= hi_order_) hi_order_ = context_begin_.size() + 1; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngram-context.cc:145:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 145 | if (context_end_.size() >= hi_order_) hi_order_ = context_end_.size() + 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngram-context.cc: In function 'bool ngram::NGramWriteContexts(const std::string&, const std::vector >&)': ngram-context.cc:293:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 293 | for (int i = 0; i < contexts.size(); ++i) strm << contexts[i] << std::endl; | ~~^~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:47:31: required from here ./../include/ngram/ngram-count-of-counts.h:177:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 177 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:24: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:147:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-make.h:79:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:40:35: required from here ./../include/ngram/ngram-make.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:87:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:40:35: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:87:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:40:35: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-count.lo ngram-count.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-count.cc -fPIC -DPIC -o .libs/ngram-count.o ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.144483.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.144483.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-count-prune.lo ngram-count-prune.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-count-prune.cc -fPIC -DPIC -o .libs/ngram-count-prune.o In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-count.h:30, from ngram-count.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngram-count.cc:23: ./../include/ngram/ngram-hist-merge.h: In member function 'ngram::NGramMerge::Weight ngram::NGramHistMerge::WeightSum(ngram::NGramMerge::Weight, ngram::NGramMerge::Weight) const': ./../include/ngram/ngram-hist-merge.h:101:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 101 | for (int k = 0; k < v.size() - 1; k++) { | ~~^~~~~~~~~~~~~~ ngram-count.cc: In function 'void ngram::RoundCountsToInt(fst::StdMutableFst*)': ngram-count.cc:31:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] 31 | for (size_t s = 0; s < fst->NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-hist-merge.h:24: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:92:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:182:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 182 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:223:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:225:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 225 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:231:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 231 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:238:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 238 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:344:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 344 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:377:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 377 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:381:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 381 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:395:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 395 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:97:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:264:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:324:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 324 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = ngram::HistogramArc; StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:347:20: required from 'void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-model.h:459:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 459 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:466:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 466 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ngram-count.cc:22: ./../include/ngram/hist-mapper.h: In instantiation of 'ngram::ToHistogramMapper::ToArc ngram::ToHistogramMapper::operator()(const Arc&) const [with Arc = fst::ArcTpl >; ToArc = ngram::HistogramArc]': /usr/include/fst/arc-map.h:235:32: required from 'void fst::ArcMap(const Fst&, MutableFst*, C*) [with A = ArcTpl >; B = ngram::HistogramArc; C = ngram::ToHistogramMapper > >]' /usr/include/fst/arc-map.h:285:9: required from 'void fst::ArcMap(const Fst&, MutableFst*, C) [with A = ArcTpl >; B = ngram::HistogramArc; C = ngram::ToHistogramMapper > >]' ngram-count.cc:133:13: required from here ./../include/ngram/hist-mapper.h:88:15: warning: comparison of integer expressions of different signedness: 'const int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | if (index < weights.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/hist-mapper.h:91:24: warning: comparison of integer expressions of different signedness: 'const int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | if (index && index < weights.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-merge.h:87:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ngram-count-prune.cc:18: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': ./../include/ngram/ngram-count-prune.h:60:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 60 | count_minimums_[i] = count_minimums.size() > i | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-shrink.h:25, from ./../include/ngram/ngram-count-prune.h:23: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:70:54: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:290:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:505:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:452:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:472:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:70:54: required from here ./../include/ngram/ngram-model.h:1085:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1085 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1092:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1092 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:70:54: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-merge.h:87:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-input.lo ngram-input.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-input.cc -fPIC -DPIC -o .libs/ngram-input.o In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-count.h:30, from ./../include/ngram/ngram-input.h:30, from ngram-input.cc:16: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, StateId)': ngram-input.cc:173:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 173 | for (auto i = 0; i < words->size() - 2; ++i) { | ~~^~~~~~~~~~~~~~~~~~~ ngram-input.cc:179:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 179 | if (last_labels->size() <= i || label != (*last_labels)[i]) { | ~~~~~~~~~~~~~~~~~~~~^~~~ ngram-input.cc: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': ngram-input.cc:440:24: warning: comparison of integer expressions of different signedness: 'ngram::NGramInput::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 440 | while (nextstate >= boweights->size()) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': ngram-input.cc:493:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 493 | if (st < boweights->size()) { | ~~~^~~~~~~~~~~~~~~~~~~ ngram-input.cc: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': ngram-input.cc:577:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 577 | for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order | ~~^~~~~~~~~~~~~~~ ngram-input.cc: In member function 'void ngram::NGramInput::AddBackoffAndCycles(StateId, Label)': ngram-input.cc:670:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 670 | for (auto i = 0; i < bigram_states.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc:675:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 675 | for (auto i = 0; i < bigram_states.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc: In static member function 'static int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, Label, StateId)': ngram-input.cc:751:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 751 | if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'ssize_t ngram::NGramCounter::NGramNextState(ssize_t) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ngram-input.cc:348:41: required from here ./../include/ngram/ngram-count.h:191:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 191 | if (arc_id < 0 || arc_id >= arcs_.size()) return -1; | ~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetFinalNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ngram-input.cc:417:41: required from here ./../include/ngram/ngram-count.h:197:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountState, std::allocator >::CountState> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 197 | if (state_id < 0 || state_id >= states_.size()) return false; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ngram-input.cc:426:36: required from here ./../include/ngram/ngram-count.h:217:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 217 | if (arc_id < 0 || arc_id >= arcs_.size()) return false; | ~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:125:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-mutable-model.h:70:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*) [with Arc = fst::ArcTpl >]' ngram-input.cc:603:48: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:125:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-mutable-model.h:70:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*) [with Arc = fst::ArcTpl >]' ngram-input.cc:603:48: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.144565.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.144565.value_' was declared here 712 | Arc barc; | ^~~~ ngram-input.cc: In member function 'ngram::NGramInput::FillARPAHoles()': ngram-input.cc:556:31: warning: 'boprob' may be used uninitialized [-Wmaybe-uninitialized] 556 | arc.weight = boprob + GetLowerOrderProb(bostate, arc.ilabel); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngram-input.cc:546:12: note: 'boprob' was declared here 546 | double boprob; | ^~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-kneser-ney.lo ngram-kneser-ney.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-kneser-ney.cc -fPIC -DPIC -o .libs/ngram-kneser-ney.o In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-absolute.h:23, from ./../include/ngram/ngram-kneser-ney.h:23, from ngram-kneser-ney.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:47:31: required from here ./../include/ngram/ngram-count-of-counts.h:177:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 177 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-make.h:64:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-absolute.h:40:31: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-make.h:64:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-absolute.h:40:31: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:24: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:117:18: required from here ./../include/ngram/ngram-make.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.144483.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.144483.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-list-prune.lo ngram-list-prune.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-list-prune.cc -fPIC -DPIC -o .libs/ngram-list-prune.o In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-count.h:30, from ./../include/ngram/ngram-input.h:30, from ngram-list-prune.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngram-list-prune.cc: In function 'void ngram::GetNGramListToPrune(const std::vector >&, const fst::SymbolTable*, std::set >*, bool)': ngram-list-prune.cc:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < ngram_words.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-shrink.h:25, from ./../include/ngram/ngram-list-prune.h:24, from ngram-list-prune.cc:16: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-list-prune.h:55:54: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:290:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:505:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:452:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:472:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-list-prune.h:55:54: required from here ./../include/ngram/ngram-model.h:1085:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1085 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1092:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1092 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-list-prune.h:55:54: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-make.lo ngram-make.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-make.cc -fPIC -DPIC -o .libs/ngram-make.o In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-absolute.h:23, from ngram-make.cc:25: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:47:31: required from here ./../include/ngram/ngram-count-of-counts.h:177:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 177 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = ngram::HistogramArc; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-katz.h:65:31: required from 'void ngram::NGramKatz::SetCountOfCounts(const fst::StdFst&) [with Arc = ngram::HistogramArc; fst::StdFst = fst::Fst > >]' ngram-make.cc:125:38: required from here ./../include/ngram/ngram-count-of-counts.h:177:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] In file included from ngram-make.cc:18: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:147:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-make.h:79:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:42:68: required from here ./../include/ngram/ngram-make.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-make.h:26: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:87:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:42:68: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-make.h:147:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-make.h:79:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-katz.h:60:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = ngram::HistogramArc]' ngram-make.cc:126:30: required from here ./../include/ngram/ngram-make.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-make.h:87:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-katz.h:60:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = ngram::HistogramArc]' ngram-make.cc:126:30: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:87:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:42:68: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-make.h:87:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-katz.h:60:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = ngram::HistogramArc]' ngram-make.cc:126:30: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.144517.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.144517.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-marginalize.lo ngram-marginalize.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-marginalize.cc -fPIC -DPIC -o .libs/ngram-marginalize.o ngram-marginalize.cc: In member function 'void ngram::NGramMarginal::SetArcIndices(StateId, bool)': ngram-marginalize.cc:119:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'fst::ArcTpl >::Label' {aka 'int'} [-Wsign-compare] 119 | while (indices_.size() <= arc.ilabel + 1) indices_.push_back(-1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'int ngram::NGramMarginal::GetCurrentArcIndex(int)': ngram-marginalize.cc:129:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 129 | while (indices_.size() <= label + 1) indices_.push_back(-1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-marginalize.h:21, from ngram-marginalize.cc:18: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:290:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ngram-marginalize.cc:43:39: required from here ./../include/ngram/ngram-model.h:1085:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1085 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1092:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1092 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-marginalize.h:40:39: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-marginalize.h:40:39: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-output.lo ngram-output.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-output.cc -fPIC -DPIC -o .libs/ngram-output.o ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.147780.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.147780.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngram-shrink.lo ngram-shrink.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c ngram-shrink.cc -fPIC -DPIC -o .libs/ngram-shrink.o In file included from ./../include/ngram/ngram-output.h:26, from ngram-output.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngram-output.cc: In member function 'bool ngram::NGramOutput::PerplexityNGramModel(const std::vector > > > >&, int32_t, bool, std::string*, double, double)': ngram-output.cc:112:25: warning: comparison of integer expressions of different signedness: 'ngram::NGramOutput::StateId' {aka 'int'} and 'std::vector > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 112 | for (StateId i = 0; i < infsts.size(); ++i) | ~~^~~~~~~~~~~~~~~ ngram-output.cc: In member function 'void ngram::NGramOutput::RandNGramModel(int64_t, bool) const': ngram-output.cc:514:51: warning: variable 'nextstate' set but not used [-Wunused-but-set-variable] 514 | StateId st = GetFst().Start(), hi_state = -1, nextstate; | ^~~~~~~~~ ngram-output.cc:515:11: warning: variable 'lbl' set but not used [-Wunused-but-set-variable] 515 | Label lbl; | ^~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-prune.h:24, from ngram-shrink.cc:20: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-prune.h:25: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': ./../include/ngram/ngram-count-prune.h:60:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 60 | count_minimums_[i] = count_minimums.size() > i | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ngram-shrink.cc:16: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-relentropy.h:53:31: required from here ./../include/ngram/ngram-shrink.h:775:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 775 | while (threshold_index < scores.size() && scores[threshold_index] == theta) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:778:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 778 | if (threshold_index >= scores.size()) { // Sets theta more than max. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h: In instantiation of 'void ngram::NGramShrink::GetNGramsAndOrScoresMinOrder(std::vector >*, std::vector*, int) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-shrink.h:757:21: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-relentropy.h:53:31: required from here ./../include/ngram/ngram-shrink.h:617:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 617 | } else if (state_ngram.size() < min_order - 1) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-shrink.h:25: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:70:54: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:290:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:505:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:452:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:472:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:70:54: required from here ./../include/ngram/ngram-model.h:1085:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1085 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1092:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1092 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:70:54: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.148070.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.148070.value_' was declared here 712 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.148105.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.148105.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o util.lo util.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c util.cc -fPIC -DPIC -o .libs/util.o /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o hist-arc.lo hist-arc.cc libtool: compile: g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c hist-arc.cc -fPIC -DPIC -o .libs/hist-arc.o /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -version-info 1314:0:0 -lfst -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libngram.la -rpath /usr/lib64 ngram-absolute.lo ngram-context.lo ngram-count.lo ngram-count-prune.lo ngram-input.lo ngram-kneser-ney.lo ngram-list-prune.lo ngram-make.lo ngram-marginalize.lo ngram-output.lo ngram-shrink.lo util.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -Wl,--as-needed -std=c++17 -fno-exceptions -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o .libs/ngram-absolute.o .libs/ngram-context.o .libs/ngram-count.o .libs/ngram-count-prune.o .libs/ngram-input.o .libs/ngram-kneser-ney.o .libs/ngram-list-prune.o .libs/ngram-make.o .libs/ngram-marginalize.o .libs/ngram-output.o .libs/ngram-shrink.o .libs/util.o -ldl -L/usr/lib64/fst -lfst -lgsl -lflexiblas -L/usr/lib/gcc/x86_64-redhat-linux/13 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngram.so.1314 -o .libs/libngram.so.1314.0.0 libtool: link: (cd ".libs" && rm -f "libngram.so.1314" && ln -s "libngram.so.1314.0.0" "libngram.so.1314") libtool: link: (cd ".libs" && rm -f "libngram.so" && ln -s "libngram.so.1314.0.0" "libngram.so") libtool: link: ( cd ".libs" && rm -f "libngram.la" && ln -s "../libngram.la" "libngram.la" ) In file included from /usr/include/fst/state-table.h:29, from /usr/include/fst/replace.h:37, from /usr/include/fst/rational.h:31, from /usr/include/fst/closure.h:28, from /usr/include/fst/fstlib.h:55, from /usr/include/fst/script/arciterator-class.h:25, from /usr/include/fst/script/fstscript.h:35, from hist-arc.cc:22: In member function 'fst::CompactHashBiTable >*, fst::DefaultDeterminizeStateTable >::StateTupleKey, fst::DefaultDeterminizeStateTable >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable >::FindState(std::unique_ptr >, std::default_delete > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, 7ul> >, fst::internal::RelationDeterminizeFilter::CommonFuture>, fst::DefaultDeterminizeStateTable > >::FindState(std::unique_ptr >, std::default_delete > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_39->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/fst/fstlib.h:59: /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, 7ul> >, fst::internal::RelationDeterminizeFilter::CommonFuture>, fst::DefaultDeterminizeStateTable > >::FindState(std::unique_ptr >, std::default_delete > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)4, fst::DefaultCommonDivisor, 7ul> > >, fst::DefaultDeterminizeFilter >, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_45->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)4, fst::DefaultCommonDivisor, 7ul> > >, fst::DefaultDeterminizeFilter >, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)2, fst::DefaultCommonDivisor, 7ul> > >, fst::DefaultDeterminizeFilter >, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_41->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)2, fst::DefaultCommonDivisor, 7ul> > >, fst::DefaultDeterminizeFilter >, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)4, fst::DefaultCommonDivisor, 7ul> > >, fst::internal::RelationDeterminizeFilter, fst::internal::Disambiguator::CommonFuture>, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_45->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)4, fst::DefaultCommonDivisor, 7ul> > >, fst::internal::RelationDeterminizeFilter, fst::internal::Disambiguator::CommonFuture>, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)2, fst::DefaultCommonDivisor, 7ul> > >, fst::internal::RelationDeterminizeFilter, fst::internal::Disambiguator::CommonFuture>, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_41->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::GallicCommonDivisor, 7ul>, (fst::GallicType)2, fst::DefaultCommonDivisor, 7ul> > >, fst::internal::RelationDeterminizeFilter, fst::internal::Disambiguator::CommonFuture>, fst::DefaultDeterminizeStateTable, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::IntegerFilterState >, std::default_delete, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable >*, fst::DefaultDeterminizeStateTable >::StateTupleKey, fst::DefaultDeterminizeStateTable >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable >::FindState(std::unique_ptr >, std::default_delete > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, 7ul> >, fst::DefaultDeterminizeFilter, fst::DefaultDeterminizeStateTable > >::FindState(std::unique_ptr >, std::default_delete > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_39->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, 7ul> >, fst::DefaultDeterminizeFilter, fst::DefaultDeterminizeStateTable > >::FindState(std::unique_ptr >, std::default_delete > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -version-info 1314:0:0 -lfst -lfstscript -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libngramhist.la -rpath /usr/lib64 hist-arc.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -module -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o hist-arc.la -rpath /usr/lib64 hist-arc.lo -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -Wl,--as-needed -std=c++17 -fno-exceptions -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o .libs/hist-arc.o -L/usr/lib64/fst -lfst -lgsl -lflexiblas -L/usr/lib/gcc/x86_64-redhat-linux/13 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,hist-arc.so.0 -o .libs/hist-arc.so.0.0.0 libtool: link: g++ -Wl,--as-needed -std=c++17 -fno-exceptions -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/13/crtbeginS.o .libs/hist-arc.o -lfstscript -ldl -L/usr/lib64/fst -lfst -lgsl -lflexiblas -L/usr/lib/gcc/x86_64-redhat-linux/13 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/13/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngramhist.so.1314 -o .libs/libngramhist.so.1314.0.0 libtool: link: (cd ".libs" && rm -f "hist-arc.so.0" && ln -s "hist-arc.so.0.0.0" "hist-arc.so.0") libtool: link: (cd ".libs" && rm -f "hist-arc.so" && ln -s "hist-arc.so.0.0.0" "hist-arc.so") libtool: link: ( cd ".libs" && rm -f "hist-arc.la" && ln -s "../hist-arc.la" "hist-arc.la" ) libtool: link: (cd ".libs" && rm -f "libngramhist.so.1314" && ln -s "libngramhist.so.1314.0.0" "libngramhist.so.1314") libtool: link: (cd ".libs" && rm -f "libngramhist.so" && ln -s "libngramhist.so.1314.0.0" "libngramhist.so") libtool: link: ( cd ".libs" && rm -f "libngramhist.la" && ln -s "../libngramhist.la" "libngramhist.la" ) make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' Making all in bin make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramapply.o ngramapply.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramapply-main.o ngramapply-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcontext.o ngramcontext.cc In file included from ./../include/ngram/ngram-output.h:26, from ngramapply-main.cc:25: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcontext-main.o ngramcontext-main.cc In file included from ./../include/ngram/lexicographic-map.h:40, from ngramapply-main.cc:24: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ngramcontext-main.cc:24: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h: In instantiation of 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]': ngramcontext-main.cc:50:36: required from here ./../include/ngram/ngram-context.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 0; i < begin_contexts.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h: In instantiation of 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, std::vector >*, float) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-context.h:118:17: required from 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]' ngramcontext-main.cc:50:36: required from here ./../include/ngram/ngram-context.h:345:42: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 345 | (bin_count + delta1) * ncontexts < total_count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:374:46: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 374 | (bin_count + delta2) * ncontexts < total_count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ngramcontext-main.cc:48:73: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ngramcontext-main.cc:48:73: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcount.o ngramcount.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramcount-main.o ngramcount-main.cc In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-count.h:30, from ngramcount-main.cc:30: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-count.h:509:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const std::string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount-main.cc:131:48: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-count.h:509:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const std::string&) [with Arc = HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount-main.cc:138:56: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-count.h:509:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const std::string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount-main.cc:131:48: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-count.h:509:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const std::string&) [with Arc = HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount-main.cc:138:56: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngraminfo.o ngraminfo.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngraminfo-main.o ngraminfo-main.cc ngraminfo-main.cc: In function 'void ngram::PrintNGramInfo(const NGramModel > >&, std::ostream&)': ngraminfo-main.cc:42:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 42 | for (size_t s = 0; s < ngram.NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from ngraminfo-main.cc:27: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ngraminfo-main.cc:83:49: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ngraminfo-main.cc:83:49: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.150850.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.150850.value_' was declared here 712 | Arc barc; | ^~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammake.o ngrammake.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammake-main.o ngrammake-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammarginalize.o ngrammarginalize.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammarginalize-main.o ngrammarginalize-main.cc In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-marginalize.h:21, from ngrammarginalize-main.cc:24: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-marginalize.h:40:39: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-marginalize.h:40:39: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.147829.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.147829.value_' was declared here 712 | Arc barc; | ^~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammerge.o ngrammerge.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngrammerge-main.o ngrammerge-main.cc In file included from ngrammerge-main.cc:24: ./../include/ngram/ngram-bayes-model-merge.h: In member function 'double ngram::NGramBayesModelMerge::StateAlpha(StateId) const': ./../include/ngram/ngram-bayes-model-merge.h:86:15: warning: comparison of integer expressions of different signedness: 'ngram::NGramBayesModelMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | while (st >= state_alpha_.size()) state_alpha_.push_back(-1.0); | ~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-merge.h:23, from ngrammerge-main.cc:26: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngrammerge-main.cc:28: ./../include/ngram/ngram-hist-merge.h: In member function 'ngram::NGramMerge::Weight ngram::NGramHistMerge::WeightSum(ngram::NGramMerge::Weight, ngram::NGramMerge::Weight) const': ./../include/ngram/ngram-hist-merge.h:101:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::array, 7>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 101 | for (int k = 0; k < v.size() - 1; k++) { | ~~^~~~~~~~~~~~~~ ngrammerge-main.cc: In function 'bool {anonymous}::GetContexts(int, std::vector >*)': ngrammerge-main.cc:81:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 81 | if (contexts->size() != in_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngrammerge-main.cc: In function 'void {anonymous}::RoundCountsToInt(fst::StdMutableFst*)': ngrammerge-main.cc:92:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] 92 | for (size_t s = 0; s < fst->NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-merge.h:28, from ./../include/ngram/ngram-bayes-model-merge.h:24: ./../include/ngram/ngram-model.h: In instantiation of 'ngram::NGramModel::Weight ngram::NGramModel::GetNGramCost(const std::vector&) const [with Arc = fst::ArcTpl >; Weight = fst::TropicalWeightTpl; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-bayes-model-merge.h:91:43: required from here ./../include/ngram/ngram-model.h:385:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 385 | for (int n = 0; n < ngram.size(); ++n) { | ~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:389:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 389 | if (n != ngram.size() - 1) { | ~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:92:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:61:51: required from here ./../include/ngram/ngram-merge.h:182:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 182 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:61:51: required from here ./../include/ngram/ngram-merge.h:223:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:225:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 225 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:231:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 231 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:238:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 238 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts(int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:61:51: required from here ./../include/ngram/ngram-merge.h:344:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 344 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:377:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 377 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:381:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 381 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:395:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 395 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:97:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:61:51: required from here ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:92:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:182:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 182 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:223:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:225:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 225 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:231:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 231 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:238:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 238 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:344:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 344 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:377:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 377 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:381:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 381 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:395:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 395 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:97:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-replace-merge.h:128:14: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ngrammerge-main.cc:25: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': ngrammerge-main.cc:65:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngrammerge-main.cc:140:30: required from here ./../include/ngram/ngram-complete.h:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:113:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:144:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:145:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]': ngrammerge-main.cc:65:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]' ngrammerge-main.cc:211:38: required from here ./../include/ngram/ngram-complete.h:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:113:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:144:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:145:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:264:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:61:51: required from here ./../include/ngram/ngram-merge.h:324:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 324 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:347:20: required from 'void ngram::NGramMerge::MergeFsts(int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:61:51: required from here ./../include/ngram/ngram-model.h:459:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 459 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:466:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 466 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-merge.h:264:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-merge.h:324:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 324 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = ngram::HistogramArc; StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:347:20: required from 'void ngram::NGramMerge::MergeFsts(int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-model.h:459:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 459 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:466:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 466 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:88:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngrammerge-main.cc:65:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngrammerge-main.cc:140:30: required from here ./../include/ngram/ngram-complete.h:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:51:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:88:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]' ngrammerge-main.cc:65:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]' ngrammerge-main.cc:211:38: required from here ./../include/ngram/ngram-complete.h:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:51:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-merge.h:87:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-replace-merge.h:128:14: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-merge.h:87:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:48:38: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.144207.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.144207.value_' was declared here 712 | Arc barc; | ^~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramperplexity.o ngramperplexity.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramperplexity-main.o ngramperplexity-main.cc In file included from ./../include/ngram/ngram-output.h:26, from ngramperplexity-main.cc:26: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramprint.o ngramprint.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramprint-main.o ngramprint-main.cc In file included from ./../include/ngram/ngram-output.h:26, from ngramprint-main.cc:24: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-mutable-model.h:58:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, Label, double, bool, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-output.h:53:44: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/fst/state-table.h:29, from /usr/include/fst/replace.h:37, from /usr/include/fst/accumulator.h:34, from /usr/include/fst/label-reachable.h:30, from /usr/include/fst/lookahead-matcher.h:35, from /usr/include/fst/lookahead-filter.h:31, from /usr/include/fst/compose.h:33, from ./../include/ngram/lexicographic-map.h:34: In member function 'fst::CompactHashBiTable >, (fst::GallicType)3>, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable >, (fst::GallicType)3>, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable >, (fst::GallicType)3>, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple >, (fst::GallicType)3>, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable >, (fst::GallicType)3>, fst::IntegerFilterState >::FindState(std::unique_ptr >, (fst::GallicType)3>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)3>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl >, (fst::GallicType)3>, fst::GallicCommonDivisor, (fst::GallicType)3, fst::DefaultCommonDivisor > >, fst::DefaultDeterminizeFilter >, (fst::GallicType)3> >, fst::DefaultDeterminizeStateTable >, (fst::GallicType)3>, fst::IntegerFilterState > >::FindState(std::unique_ptr >, (fst::GallicType)3>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)3>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_41->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./../include/ngram/lexicographic-map.h:35: /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl >, (fst::GallicType)3>, fst::GallicCommonDivisor, (fst::GallicType)3, fst::DefaultCommonDivisor > >, fst::DefaultDeterminizeFilter >, (fst::GallicType)3> >, fst::DefaultDeterminizeStateTable >, (fst::GallicType)3>, fst::IntegerFilterState > >::FindState(std::unique_ptr >, (fst::GallicType)3>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)3>, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable >, (fst::GallicType)2>, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable >, (fst::GallicType)2>, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable >, (fst::GallicType)2>, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple >, (fst::GallicType)2>, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable >, (fst::GallicType)2>, fst::IntegerFilterState >::FindState(std::unique_ptr >, (fst::GallicType)2>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)2>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl >, (fst::GallicType)2>, fst::GallicCommonDivisor, (fst::GallicType)2, fst::DefaultCommonDivisor > >, fst::DefaultDeterminizeFilter >, (fst::GallicType)2> >, fst::DefaultDeterminizeStateTable >, (fst::GallicType)2>, fst::IntegerFilterState > >::FindState(std::unique_ptr >, (fst::GallicType)2>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)2>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_41->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl >, (fst::GallicType)2>, fst::GallicCommonDivisor, (fst::GallicType)2, fst::DefaultCommonDivisor > >, fst::DefaultDeterminizeFilter >, (fst::GallicType)2> >, fst::DefaultDeterminizeStateTable >, (fst::GallicType)2>, fst::IntegerFilterState > >::FindState(std::unique_ptr >, (fst::GallicType)2>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)2>, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable >, (fst::GallicType)4>, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable >, (fst::GallicType)4>, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable >, (fst::GallicType)4>, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple >, (fst::GallicType)4>, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable >, (fst::GallicType)4>, fst::IntegerFilterState >::FindState(std::unique_ptr >, (fst::GallicType)4>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)4>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl >, (fst::GallicType)4>, fst::GallicCommonDivisor, (fst::GallicType)4, fst::DefaultCommonDivisor > >, fst::DefaultDeterminizeFilter >, (fst::GallicType)4> >, fst::DefaultDeterminizeStateTable >, (fst::GallicType)4>, fst::IntegerFilterState > >::FindState(std::unique_ptr >, (fst::GallicType)4>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)4>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_45->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl >, (fst::GallicType)4>, fst::GallicCommonDivisor, (fst::GallicType)4, fst::DefaultCommonDivisor > >, fst::DefaultDeterminizeFilter >, (fst::GallicType)4> >, fst::DefaultDeterminizeStateTable >, (fst::GallicType)4>, fst::IntegerFilterState > >::FindState(std::unique_ptr >, (fst::GallicType)4>, fst::IntegerFilterState >, std::default_delete >, (fst::GallicType)4>, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::GallicCommonDivisor, fst::TropicalWeightTpl >, (fst::GallicType)3, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > >, (fst::GallicType)3> >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_43->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::GallicCommonDivisor, fst::TropicalWeightTpl >, (fst::GallicType)3, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > >, (fst::GallicType)3> >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)3>, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::GallicCommonDivisor, fst::TropicalWeightTpl >, (fst::GallicType)2, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > >, (fst::GallicType)2> >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_43->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::GallicCommonDivisor, fst::TropicalWeightTpl >, (fst::GallicType)2, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > >, (fst::GallicType)2> >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)2>, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::GallicCommonDivisor, fst::TropicalWeightTpl >, (fst::GallicType)4, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > >, (fst::GallicType)4> >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_45->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::GallicCommonDivisor, fst::TropicalWeightTpl >, (fst::GallicType)4, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > >, (fst::GallicType)4> >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, (fst::GallicType)4>, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandgen.o ngramrandgen.cc In member function 'fst::CompactHashBiTable, fst::TropicalWeightTpl > >, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple, fst::TropicalWeightTpl > >, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, fst::IntegerFilterState >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_39->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl, fst::TropicalWeightTpl > >, fst::DefaultCommonDivisor, fst::TropicalWeightTpl > >, fst::DefaultDeterminizeFilter, fst::TropicalWeightTpl > > >, fst::DefaultDeterminizeStateTable, fst::TropicalWeightTpl > >, fst::IntegerFilterState > >::FindState(std::unique_ptr, fst::TropicalWeightTpl > >, fst::IntegerFilterState >, std::default_delete, fst::TropicalWeightTpl > >, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ In member function 'fst::CompactHashBiTable >, fst::IntegerFilterState >*, fst::DefaultDeterminizeStateTable >, fst::IntegerFilterState >::StateTupleKey, fst::DefaultDeterminizeStateTable >, fst::IntegerFilterState >::StateTupleEqual, (fst::HSType)0>::FindId(fst::internal::DeterminizeStateTuple >, fst::IntegerFilterState >* const&, bool)', inlined from 'fst::DefaultDeterminizeStateTable >, fst::IntegerFilterState >::FindState(std::unique_ptr >, fst::IntegerFilterState >, std::default_delete >, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:336:34, inlined from 'fst::internal::DeterminizeFsaImpl >, fst::DefaultCommonDivisor >, fst::DefaultDeterminizeFilter > >, fst::DefaultDeterminizeStateTable >, fst::IntegerFilterState > >::FindState(std::unique_ptr >, fst::IntegerFilterState >, std::default_delete >, fst::IntegerFilterState > > >)' at /usr/include/fst/determinize.h:630:43: /usr/include/fst/bi-table.h:162:20: warning: storing the address of local variable 'raw_tuple' in '_41->current_entry_' [-Wdangling-pointer=] 162 | current_entry_ = &entry; | ~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/fst/determinize.h: In member function 'fst::internal::DeterminizeFsaImpl >, fst::DefaultCommonDivisor >, fst::DefaultDeterminizeFilter > >, fst::DefaultDeterminizeStateTable >, fst::IntegerFilterState > >::FindState(std::unique_ptr >, fst::IntegerFilterState >, std::default_delete >, fst::IntegerFilterState > > >)': /usr/include/fst/determinize.h:332:17: note: 'raw_tuple' declared here 332 | StateTuple *raw_tuple = tuple.release(); | ^~~~~~~~~ /usr/include/fst/determinize.h:628:54: note: 'this' declared here 628 | StateId FindState(std::unique_ptr tuple) { | ^ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandgen-main.o ngramrandgen-main.cc ngramrandgen-main.cc: In function 'void {anonymous}::CreateStringFstFromPath(std::vector*, fst::StdVectorFst*)': ngramrandgen-main.cc:71:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 71 | for (int i = 0; i < labels->size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from ngramrandgen-main.cc:33: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': /usr/include/fst/randgen.h:528:21: required from 'void fst::internal::RandGenFstImpl::Expand(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; StateId = int]' /usr/include/fst/randgen.h:483:23: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; ToWeight = fst::TropicalWeightTpl; StateId = int]' /usr/include/fst/fst.h:952:63: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; Weight = fst::TropicalWeightTpl; StateId = int]' /usr/include/fst/fst.h:952:10: required from here ./../include/ngram/ngram-randgen.h:127:23: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] 127 | rstate.length == max_length_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramread.o ngramread.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramread-main.o ngramread-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramshrink.o ngramshrink.cc In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-count.h:30, from ./../include/ngram/ngram-input.h:30, from ngramread-main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramshrink-main.o ngramshrink-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsort.o ngramsort.cc In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-shrink.h:25, from ./../include/ngram/ngram-list-prune.h:24, from ngramshrink-main.cc:23: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-list-prune.h:55:54: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:290:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:505:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:452:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:472:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-list-prune.h:55:54: required from here ./../include/ngram/ngram-model.h:1085:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1085 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1092:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1092 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:488:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-list-prune.h:55:54: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsort-main.o ngramsort-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsplit.o ngramsplit.cc In file included from ./../include/ngram/ngram-mutable-model.h:28, from ngramsort-main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ngramsort-main.cc:54:20: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ngramsort-main.cc:54:20: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsplit-main.o ngramsplit-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsymbols.o ngramsymbols.cc In file included from ./../include/ngram/ngram-split.h:26, from ngramsplit-main.cc:27: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngramsplit-main.cc:26: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': ngramsplit-main.cc:111:51: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:162:46: required from here ./../include/ngram/ngram-complete.h:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:113:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:144:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:145:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]': ngramsplit-main.cc:111:51: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:166:54: required from here ./../include/ngram/ngram-complete.h:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:113:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:144:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:145:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:88:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngramsplit-main.cc:111:51: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:162:46: required from here ./../include/ngram/ngram-complete.h:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:51:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]': ngramsplit-main.cc:42:26: required from 'bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:117:23: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:162:46: required from here ./../include/ngram/ngram-split.h:100:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_patterns.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:88:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]' ngramsplit-main.cc:111:51: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:166:54: required from here ./../include/ngram/ngram-complete.h:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:51:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]': ngramsplit-main.cc:42:26: required from 'bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:117:23: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:166:54: required from here ./../include/ngram/ngram-split.h:100:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_patterns.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramsymbols-main.o ngramsymbols-main.cc In file included from ./../include/ngram/ngram-complete.h:26: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-split.h:96:7: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ngramsplit-main.cc:42:26: required from 'bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:117:23: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:162:46: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-split.h:96:7: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ngramsplit-main.cc:42:26: required from 'bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:117:23: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:166:54: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-split.h:96:7: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ngramsplit-main.cc:42:26: required from 'bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:117:23: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:162:46: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-split.h:96:7: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ngramsplit-main.cc:42:26: required from 'bool {anonymous}::SplitToFsts(fst::VectorFst*, const std::vector >&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:117:23: required from 'bool {anonymous}::CountOrHistogramSplit(const std::string&, const std::vector >&, const std::string&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit-main.cc:166:54: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-count.h:30, from ./../include/ngram/ngram-input.h:30, from ngramsymbols-main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramtransfer.o ngramtransfer.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramtransfer-main.o ngramtransfer-main.cc In file included from ./../include/ngram/ngram-transfer.h:27, from ngramtransfer-main.cc:25: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngramtransfer-main.cc: In function 'bool {anonymous}::GetContexts(int, std::vector >*)': ngramtransfer-main.cc:62:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 62 | if (contexts->size() != in_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ngramtransfer-main.cc:24: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]': ngramtransfer-main.cc:45:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]' ngramtransfer-main.cc:72:20: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:148:39: required from here ./../include/ngram/ngram-complete.h:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:113:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:144:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:145:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': ngramtransfer-main.cc:45:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngramtransfer-main.cc:72:20: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:151:31: required from here ./../include/ngram/ngram-complete.h:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | while (st_order < order_states.size() && !order_states[st_order].empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:113:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:144:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:145:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:88:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = HistogramArc; typename Arc::Label = int]' ngramtransfer-main.cc:45:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = ngram::HistogramArc]' ngramtransfer-main.cc:72:20: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:148:39: required from here ./../include/ngram/ngram-complete.h:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:51:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:88:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngramtransfer-main.cc:45:51: required from 'bool {anonymous}::ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngramtransfer-main.cc:72:20: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:151:31: required from here ./../include/ngram/ngram-complete.h:37:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:51:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:26: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-transfer.h:109:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const std::string&, Label, double) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string; Label = int]' ./../include/ngram/ngram-transfer.h:67:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:87:39: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:148:39: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-transfer.h:109:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const std::string&, Label, double) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string; Label = int]' ./../include/ngram/ngram-transfer.h:67:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:87:39: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:151:31: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = ngram::HistogramArc; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = ngram::HistogramArc; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = ngram::HistogramArc]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = ngram::HistogramArc; Label = int]' ./../include/ngram/ngram-transfer.h:109:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const std::string&, Label, double) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string; Label = int]' ./../include/ngram/ngram-transfer.h:67:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const std::string&) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:87:39: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = ngram::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:148:39: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:105:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, Label, double, bool) [with Arc = fst::ArcTpl >; Label = int]' ./../include/ngram/ngram-transfer.h:109:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const std::string&, Label, double) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string; Label = int]' ./../include/ngram/ngram-transfer.h:67:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const std::string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:87:39: required from 'bool {anonymous}::Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer-main.cc:151:31: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.138909.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.138909.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramapply ngramapply.o ngramapply-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramapply ngramapply.o ngramapply-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramcontext ngramcontext.o ngramcontext-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramcontext ngramcontext.o ngramcontext-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramcount ngramcount.o ngramcount-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramcount ngramcount.o ngramcount-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngraminfo ngraminfo.o ngraminfo-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngraminfo ngraminfo.o ngraminfo-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngrammake ngrammake.o ngrammake-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngrammake ngrammake.o ngrammake-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngrammarginalize ngrammarginalize.o ngrammarginalize-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngrammarginalize ngrammarginalize.o ngrammarginalize-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngrammerge ngrammerge.o ngrammerge-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngrammerge ngrammerge.o ngrammerge-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramperplexity ngramperplexity.o ngramperplexity-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramperplexity ngramperplexity.o ngramperplexity-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramprint ngramprint.o ngramprint-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramprint ngramprint.o ngramprint-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramrandgen ngramrandgen.o ngramrandgen-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramrandgen ngramrandgen.o ngramrandgen-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramread ngramread.o ngramread-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramread ngramread.o ngramread-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramshrink ngramshrink.o ngramshrink-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramshrink ngramshrink.o ngramshrink-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramsort ngramsort.o ngramsort-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramsplit ngramsplit.o ngramsplit-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramsort ngramsort.o ngramsort-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramsplit ngramsplit.o ngramsplit-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramsymbols ngramsymbols.o ngramsymbols-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramsymbols ngramsymbols.o ngramsymbols-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramtransfer ngramtransfer.o ngramtransfer-main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramtransfer ngramtransfer.o ngramtransfer-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfarscript -lfstfar -lfstscript -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' Making all in test make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramhisttest.o ngramhisttest.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramhisttest-main.o ngramhisttest-main.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandtest.o ngramrandtest.cc g++ -std=c++17 -fno-exceptions -DHAVE_CONFIG_H -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -c -o ngramrandtest-main.o ngramrandtest-main.cc /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramhisttest ngramhisttest.o ngramhisttest-main.o -lfstscript ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramhisttest ngramhisttest.o ngramhisttest-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl -lfstscript ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas In file included from ./../include/ngram/ngram-count-of-counts.h:27, from ./../include/ngram/ngram-absolute.h:23, from ngramrandtest-main.cc:32: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (int i = 0; i < context_begin.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < context_end.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ ngramrandtest-main.cc: In function 'void {anonymous}::BuildRandomUnigram(fst::StdMutableFst*, int, int, std::ostream&)': ngramrandtest-main.cc:100:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 100 | for (size_t a = 0; a < vocabulary; ++a) { // add unigram arcs to model | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const fst::StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:47:31: required from here ./../include/ngram/ngram-count-of-counts.h:177:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 177 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-seymore-shrink.h:21, from ngramrandtest-main.cc:42: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-seymore-shrink.h:49:31: required from here ./../include/ngram/ngram-shrink.h:775:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 775 | while (threshold_index < scores.size() && scores[threshold_index] == theta) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:778:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 778 | if (threshold_index >= scores.size()) { // Sets theta more than max. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-merge.h:24, from ngramrandtest-main.cc:33: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:92:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:52:51: required from here ./../include/ngram/ngram-merge.h:182:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 182 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:52:51: required from here ./../include/ngram/ngram-merge.h:223:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:225:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 225 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:231:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 231 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:238:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 238 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts(int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:52:51: required from here ./../include/ngram/ngram-merge.h:344:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 344 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:377:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 377 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:381:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 381 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:395:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 395 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:97:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:52:51: required from here ./../include/ngram/ngram-merge.h:604:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 604 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:606:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 606 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:613:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h: In instantiation of 'void ngram::NGramShrink::GetNGramsAndOrScoresMinOrder(std::vector >*, std::vector*, int) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-shrink.h:757:21: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-seymore-shrink.h:49:31: required from here ./../include/ngram/ngram-shrink.h:617:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 617 | } else if (state_ngram.size() < min_order - 1) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:264:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:93:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:52:51: required from here ./../include/ngram/ngram-merge.h:324:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 324 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:28: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:347:20: required from 'void ngram::NGramMerge::MergeFsts(int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:94:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:52:51: required from here ./../include/ngram/ngram-model.h:459:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 459 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:466:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 466 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:125:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model-merge.h:51:40: required from here ./../include/ngram/ngram-model.h:228:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 228 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:24: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:147:30: required from 'void ngram::NGramMake::SmoothState(StateId) [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-make.h:79:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-witten-bell.h:40:68: required from here ./../include/ngram/ngram-make.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(StateId, const Arc&) const [with Arc = fst::ArcTpl >; StateId = int]': ./../include/ngram/ngram-model.h:836:34: required from 'bool ngram::NGramModel::CheckTopologyState(StateId) const [with Arc = fst::ArcTpl >; StateId = int]' ./../include/ngram/ngram-model.h:226:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:347:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:125:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model-merge.h:51:40: required from here ./../include/ngram/ngram-model.h:862:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 862 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:864:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 864 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:290:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:505:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:452:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:472:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-seymore-shrink.h:41:54: required from here ./../include/ngram/ngram-model.h:1085:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1085 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1092:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const ngram::NGramModel > >::StateId' {aka 'const int'} [-Wsign-compare] 1092 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ In file included from ngramrandtest-main.cc:41: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': /usr/include/fst/randgen.h:528:21: required from 'void fst::internal::RandGenFstImpl::Expand(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; StateId = int]' /usr/include/fst/randgen.h:483:23: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; ToWeight = fst::TropicalWeightTpl; StateId = int]' /usr/include/fst/fst.h:952:63: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; Weight = fst::TropicalWeightTpl; StateId = int]' /usr/include/fst/fst.h:952:10: required from here ./../include/ngram/ngram-randgen.h:127:23: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] 127 | rstate.length == max_length_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:732:7: warning: 'barc.ilabel' may be used uninitialized [-Wmaybe-uninitialized] 732 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h:712:9: note: 'barc.ilabel' was declared here 712 | Arc barc; | ^~~~ In function 'ngram::NGramModel > >::ScalarValue(fst::TropicalWeightTpl)', inlined from 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const' at ./../include/ngram/ngram-model.h:734:22: ./../include/ngram/ngram-model.h:1124:18: warning: 'barc.weight.D.149197.value_' may be used uninitialized [-Wmaybe-uninitialized] 1124 | return w.Value(); | ^ ./../include/ngram/ngram-model.h: In member function 'ngram::NGramModel > >::CalcBruteLowSum(int, int, double) const': ./../include/ngram/ngram-model.h:712:9: note: 'barc.weight.D.149197.value_' was declared here 712 | Arc barc; | ^~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngramrandtest ngramrandtest.o ngramrandtest-main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lflexiblas libtool: link: g++ -std=c++17 -fno-exceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_GSL -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/ngramrandtest ngramrandtest.o ngramrandtest-main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lflexiblas make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14' make[1]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14' + chrpath -d src/lib/.libs/libngram.so.1314.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8hUZjd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngram-1.3.14 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/include' make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/include/ngram' /usr/bin/install -p -m 644 ngram/hist-arc.h ngram/hist-mapper.h ngram/lexicographic-map.h ngram/ngram.h ngram/ngram-absolute.h ngram/ngram-bayes-model-merge.h ngram/ngram-complete.h ngram/ngram-context.h ngram/ngram-context-merge.h ngram/ngram-context-prune.h ngram/ngram-count.h ngram/ngram-count-merge.h ngram/ngram-count-of-counts.h ngram/ngram-count-prune.h ngram/ngram-hist-merge.h ngram/ngram-input.h ngram/ngram-katz.h ngram/ngram-kneser-ney.h ngram/ngram-list-prune.h ngram/ngram-make.h ngram/ngram-marginalize.h ngram/ngram-merge.h ngram/ngram-model.h ngram/ngram-model-merge.h ngram/ngram-mutable-model.h ngram/ngram-output.h ngram/ngram-randgen.h ngram/ngram-relentropy.h ngram/ngram-replace-merge.h ngram/ngram-seymore-shrink.h ngram/ngram-shrink.h ngram/ngram-split.h ngram/ngram-transfer.h ngram/ngram-unsmoothed.h ngram/ngram-witten-bell.h ngram/util.h '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/include/ngram' make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/include' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/include' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64' /bin/sh ../../libtool --mode=install /usr/bin/install -p libngram.la libngramhist.la hist-arc.la '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libngram.so.1314.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/libngram.so.1314.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 && { ln -s -f libngram.so.1314.0.0 libngram.so.1314 || { rm -f libngram.so.1314 && ln -s libngram.so.1314.0.0 libngram.so.1314; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 && { ln -s -f libngram.so.1314.0.0 libngram.so || { rm -f libngram.so && ln -s libngram.so.1314.0.0 libngram.so; }; }) libtool: install: /usr/bin/install -p .libs/libngram.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/libngram.la libtool: install: /usr/bin/install -p .libs/libngramhist.so.1314.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/libngramhist.so.1314.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 && { ln -s -f libngramhist.so.1314.0.0 libngramhist.so.1314 || { rm -f libngramhist.so.1314 && ln -s libngramhist.so.1314.0.0 libngramhist.so.1314; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 && { ln -s -f libngramhist.so.1314.0.0 libngramhist.so || { rm -f libngramhist.so && ln -s libngramhist.so.1314.0.0 libngramhist.so; }; }) libtool: install: /usr/bin/install -p .libs/libngramhist.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/libngramhist.la libtool: install: /usr/bin/install -p .libs/hist-arc.so.0.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/hist-arc.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 && { ln -s -f hist-arc.so.0.0.0 hist-arc.so.0 || { rm -f hist-arc.so.0 && ln -s hist-arc.so.0.0.0 hist-arc.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 && { ln -s -f hist-arc.so.0.0.0 hist-arc.so || { rm -f hist-arc.so && ln -s hist-arc.so.0.0.0 hist-arc.so; }; }) libtool: install: /usr/bin/install -p .libs/hist-arc.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/hist-arc.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' Making install in bin make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramapply ngramcontext ngramcount ngraminfo ngrammake ngrammarginalize ngrammerge ngramperplexity ngramprint ngramrandgen ngramread ngramshrink ngramsort ngramsplit ngramsymbols ngramtransfer '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin' libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramapply /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramapply libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcontext /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramcontext libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcount /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramcount libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngraminfo /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngraminfo libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammake /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammake libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammarginalize /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammarginalize libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammerge /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammerge libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramperplexity /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramperplexity libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramprint /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramprint libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandgen /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramrandgen libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramread /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramread libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramshrink /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramshrink libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsort /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsort libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsplit /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsplit libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsymbols /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsymbols libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramtransfer /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramtransfer make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' Making install in test make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramhisttest ngramrandtest '/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin' libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: warning: '../lib/libngramhist.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramhisttest /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramhisttest libtool: warning: '../lib/libngram.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandtest /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramrandtest make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[1]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[1]: Entering directory '/builddir/build/BUILD/ngram-1.3.14' make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14' make[1]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14' + rm -f /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/hist-arc.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/libngram.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64/libngramhist.la + export LD_LIBRARY_PATH=/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramapply + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramapply -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramapply.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramcontext + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramcontext -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramcontext.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramcount + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramcount -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramcount.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramhisttest + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramhisttest -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramhisttest.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngraminfo + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngraminfo -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngraminfo.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammake + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammake -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngrammake.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammarginalize + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammarginalize -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngrammarginalize.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammerge + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngrammerge -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngrammerge.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramperplexity + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramperplexity -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramperplexity.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramprint + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramprint -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramprint.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramrandgen + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramrandgen -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramrandgen.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramrandtest + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramrandtest -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramrandtest.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramread + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramread -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramread.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramshrink + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramshrink -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramshrink.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsort + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsort -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramsort.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsplit + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsplit -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramsplit.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsymbols + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramsymbols -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramsymbols.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramtransfer + help2man -N --version-string=1.3.14 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/bin/ngramtransfer -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramtransfer.1 + sed -e '2s/"1" "[[:alpha:]]* [[:digit:]]*"/"1" "February 2022"/' -e 's,/builddir.*/usr/bin/,,g' -i /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramapply.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramcontext.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramcount.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramhisttest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngraminfo.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngrammake.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngrammarginalize.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngrammerge.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramperplexity.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramprint.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramrandgen.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramrandtest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramread.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramshrink.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramsort.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramsplit.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramsymbols.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/man/man1/ngramtransfer.1 + sed '/Faster multinomial sampling/a#define HAVE_GSL' /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/include/ngram/ngram-randgen.h + touch -r /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/include/ngram/ngram-randgen.h foo + mv -f foo /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/include/ngram/ngram-randgen.h + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.3.14-6.fc39 --unique-debug-suffix -1.3.14-6.fc39.x86_64 --unique-debug-src-base opengrm-ngram-1.3.14-6.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ngram-1.3.14 find-debuginfo: starting Extracting debug info from 21 files DWARF-compressing 21 files sepdebugcrcfix: Updated 21 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/opengrm-ngram-1.3.14-6.fc39.x86_64 1050 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KSpK7E + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngram-1.3.14 + LD_LIBRARY_PATH=/builddir/build/BUILD/ngram-1.3.14/src/lib/.libs + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/include' Making check in lib make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/lib' Making check in bin make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/bin' Making check in test make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make disttestsetup.sh ngramapply_test.sh ngramcount_histograms_test.sh ngramcount_test.sh ngramdistrand.sh ngramdistcount_test.sh ngramdistmake_test.sh ngramdistshrink_test.sh ngramdistwittenbell_test.sh ngramfracdistmake_test.sh ngramfracdistshrink_test.sh ngraminfo_test.sh ngrammake_test.sh ngrammarginalize_test.sh ngrammerge_test.sh ngramperplexity_test.sh ngramprint_test.sh ngramrandgen_test.sh ngramrand_test.sh ngramshrink_test.sh ngramsymbols_test.sh make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[3]: Nothing to be done for 'disttestsetup.sh'. make[3]: Nothing to be done for 'ngramapply_test.sh'. make[3]: Nothing to be done for 'ngramcount_histograms_test.sh'. make[3]: Nothing to be done for 'ngramcount_test.sh'. make[3]: Nothing to be done for 'ngramdistrand.sh'. make[3]: Nothing to be done for 'ngramdistcount_test.sh'. make[3]: Nothing to be done for 'ngramdistmake_test.sh'. make[3]: Nothing to be done for 'ngramdistshrink_test.sh'. make[3]: Nothing to be done for 'ngramdistwittenbell_test.sh'. make[3]: Nothing to be done for 'ngramfracdistmake_test.sh'. make[3]: Nothing to be done for 'ngramfracdistshrink_test.sh'. make[3]: Nothing to be done for 'ngraminfo_test.sh'. make[3]: Nothing to be done for 'ngrammake_test.sh'. make[3]: Nothing to be done for 'ngrammarginalize_test.sh'. make[3]: Nothing to be done for 'ngrammerge_test.sh'. make[3]: Nothing to be done for 'ngramperplexity_test.sh'. make[3]: Nothing to be done for 'ngramprint_test.sh'. make[3]: Nothing to be done for 'ngramrandgen_test.sh'. make[3]: Nothing to be done for 'ngramrand_test.sh'. make[3]: Nothing to be done for 'ngramshrink_test.sh'. make[3]: Nothing to be done for 'ngramsymbols_test.sh'. make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[4]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src/test' PASS: ngramapply_test.sh PASS: ngramcount_histograms_test.sh PASS: ngramcount_test.sh PASS: ngramdistcount_test.sh PASS: ngramdistmake_test.sh PASS: ngramdistshrink_test.sh PASS: ngramdistwittenbell_test.sh PASS: ngramfracdistmake_test.sh PASS: ngramfracdistshrink_test.sh PASS: ngraminfo_test.sh PASS: ngrammake_test.sh PASS: ngrammarginalize_test.sh PASS: ngrammerge_test.sh PASS: ngramperplexity_test.sh PASS: ngramprint_test.sh PASS: ngramrandgen_test.sh PASS: ngramrand_test.sh PASS: ngramshrink_test.sh PASS: ngramsymbols_test.sh ============================================================================ Testsuite summary for NGram 1.3.14 ============================================================================ # TOTAL: 19 # PASS: 19 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[3]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src/test' make[2]: Entering directory '/builddir/build/BUILD/ngram-1.3.14/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[1]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14/src' make[1]: Entering directory '/builddir/build/BUILD/ngram-1.3.14' make[1]: Leaving directory '/builddir/build/BUILD/ngram-1.3.14' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: opengrm-ngram-1.3.14-6.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jxCNCf + umask 022 + cd /builddir/build/BUILD + cd ngram-1.3.14 + DOCDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/doc/opengrm-ngram + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/doc/opengrm-ngram + cp -pr /builddir/build/BUILD/ngram-1.3.14/AUTHORS /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/doc/opengrm-ngram + cp -pr /builddir/build/BUILD/ngram-1.3.14/NEWS /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/doc/opengrm-ngram + cp -pr /builddir/build/BUILD/ngram-1.3.14/README.md /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/doc/opengrm-ngram + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cHv8xM + umask 022 + cd /builddir/build/BUILD + cd ngram-1.3.14 + LICENSEDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/licenses/opengrm-ngram + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/licenses/opengrm-ngram + cp -pr /builddir/build/BUILD/ngram-1.3.14/LICENSE /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64/usr/share/licenses/opengrm-ngram + RPM_EC=0 ++ jobs -p + exit 0 Provides: libngram.so.1314()(64bit) libngramhist.so.1314()(64bit) opengrm-ngram = 1.3.14-6.fc39 opengrm-ngram(x86-64) = 1.3.14-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libfst.so.25()(64bit) libfstscript.so.25()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-devel-1.3.14-6.fc39.x86_64 Provides: opengrm-ngram-devel = 1.3.14-6.fc39 opengrm-ngram-devel(x86-64) = 1.3.14-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libngram.so.1314()(64bit) libngramhist.so.1314()(64bit) Processing files: opengrm-ngram-tools-1.3.14-6.fc39.x86_64 Provides: opengrm-ngram-tools = 1.3.14-6.fc39 opengrm-ngram-tools(x86-64) = 1.3.14-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libflexiblas.so.3()(64bit) libfst.so.25()(64bit) libfstfarscript.so.25()(64bit) libfstscript.so.25()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgsl.so.27()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libngram.so.1314()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-debugsource-1.3.14-6.fc39.x86_64 Provides: opengrm-ngram-debugsource = 1.3.14-6.fc39 opengrm-ngram-debugsource(x86-64) = 1.3.14-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opengrm-ngram-debuginfo-1.3.14-6.fc39.x86_64 Provides: debuginfo(build-id) = 52276a4371a993c160f61700c7fe232a436c6dd5 debuginfo(build-id) = 838cce8395271ff179a0699b4c267c07bfbaded1 debuginfo(build-id) = 9f51054ee23d27f7ad2502d4cfe80aa580f1c5e7 libngram.so.1314.0.0-1.3.14-6.fc39.x86_64.debug()(64bit) libngramhist.so.1314.0.0-1.3.14-6.fc39.x86_64.debug()(64bit) opengrm-ngram-debuginfo = 1.3.14-6.fc39 opengrm-ngram-debuginfo(x86-64) = 1.3.14-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opengrm-ngram-debugsource(x86-64) = 1.3.14-6.fc39 Processing files: opengrm-ngram-tools-debuginfo-1.3.14-6.fc39.x86_64 Provides: debuginfo(build-id) = 011d9c0579fd2acd1130a1931640e6d2221ed0f7 debuginfo(build-id) = 048bea46f37a4f556cd2b97f6b74ac5668b303a2 debuginfo(build-id) = 19306d3a0a34a53af5ad4ee088489bd826e5ed4d debuginfo(build-id) = 2c5ead94ef2a41f6235c5d92562c80c4b3d3fbab debuginfo(build-id) = 2fb494f4258a69cefb9de3362f61acf9a535beec debuginfo(build-id) = 391a1d76a13be320e4208568669c056bdfa58f7b debuginfo(build-id) = 3be33d4e4157431005cc3b2b42700527031ddc9c debuginfo(build-id) = 4ddc5cb9879a3af98152b7a904d5525c56d4ff6b debuginfo(build-id) = 66bde916b77b4fe65ab3da9f74bde8a605b7e19c debuginfo(build-id) = 6d587cc2a045d8712835246e9873c46f8c24518c debuginfo(build-id) = 702519df03797411b78270ae8b3f8b99d21a25e6 debuginfo(build-id) = 82a433dc533b77cd1ef891ca90dfc4f741b23115 debuginfo(build-id) = a1175a699fde23b2322166591b0b08f32c8d5712 debuginfo(build-id) = a664e72ffcb93c427fd6950707fb9321edc6621a debuginfo(build-id) = a8fbc75c4020207df264d3a0157222b8a4fe8fab debuginfo(build-id) = b91d3eaff9a6b6de1f1cd4c3ddaefbb61dfb1df1 debuginfo(build-id) = e0f36458d96c6c71b839d3db11090455e29cf919 debuginfo(build-id) = ea5a950f2381d04f0ab897ca92eb6f028bb5263f opengrm-ngram-tools-debuginfo = 1.3.14-6.fc39 opengrm-ngram-tools-debuginfo(x86-64) = 1.3.14-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opengrm-ngram-debugsource(x86-64) = 1.3.14-6.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 Wrote: /builddir/build/RPMS/opengrm-ngram-tools-debuginfo-1.3.14-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-1.3.14-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-1.3.14-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debugsource-1.3.14-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-devel-1.3.14-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debuginfo-1.3.14-6.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xQJLup + umask 022 + cd /builddir/build/BUILD + cd ngram-1.3.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.14-6.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BofAYj + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/ngram-1.3.14-SPECPARTS + rm -rf ngram-1.3.14 ngram-1.3.14.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0