Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'}timeout=172800uid=1000logger=user='mockbuild'shell=FalsechrootPath='/var/lib/mock/f25-build-7725514-697610/root'printOutput=Falsegid=425) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/opengrm-ngram-1.3.2-3.fc25.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], printOutput=Falseenv={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'}timeout=172800uid=1000logger=user='mockbuild'shell=FalsechrootPath='/var/lib/mock/f25-build-7725514-697610/root'private_network=Truegid=425) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6pQ8ha + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opengrm-ngram-1.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/opengrm-ngram-1.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opengrm-ngram-1.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.2 + /usr/bin/xz -dc /builddir/build/SOURCES/opengrm-ngram-man.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.88eJU3 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' x-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="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL' 'LIBS=-L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for x86_64-redhat-linux-gnu-ar... no checking for x86_64-redhat-linux-gnu-lib... no checking for x86_64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... 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++ -E checking for ld used by g++... /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++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/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 fst/fst.h usability... yes checking fst/fst.h presence... yes checking for fst/fst.h... yes checking fst/extensions/far/far.h usability... yes checking fst/extensions/far/far.h presence... 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 -j16 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-absolute.lo ngram-absolute.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-context.lo ngram-context.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-count.lo ngram-count.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-count-prune.lo ngram-count-prune.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-kneser-ney.lo ngram-kneser-ney.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-make.lo ngram-make.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-marginalize.lo ngram-marginalize.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-output.lo ngram-output.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngram-shrink.lo ngram-shrink.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o util.lo util.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o hist-arc.lo hist-arc.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-marginalize.cc -fPIC -DPIC -o .libs/ngram-marginalize.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-absolute.cc -fPIC -DPIC -o .libs/ngram-absolute.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-output.cc -fPIC -DPIC -o .libs/ngram-output.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-kneser-ney.cc -fPIC -DPIC -o .libs/ngram-kneser-ney.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-count-prune.cc -fPIC -DPIC -o .libs/ngram-count-prune.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c hist-arc.cc -fPIC -DPIC -o .libs/hist-arc.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-context.cc -fPIC -DPIC -o .libs/ngram-context.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-count.cc -fPIC -DPIC -o .libs/ngram-count.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-shrink.cc -fPIC -DPIC -o .libs/ngram-shrink.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c ngram-make.cc -fPIC -DPIC -o .libs/ngram-make.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c util.cc -fPIC -DPIC -o .libs/util.o In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-absolute.h:22, from ngram-absolute.cc:22: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-prune.h:23:0, from ngram-shrink.cc:15: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'void ngram::NGramMarginal::SetArcIndices(ngram::NGramMarginal::StateId, bool)': ngram-marginalize.cc:83:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (indices_.size() <= arc.ilabel + 1) indices_.push_back(-1); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'int ngram::NGramMarginal::GetCurrentArcIndex(int)': ngram-marginalize.cc:93:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (indices_.size() <= label + 1) indices_.push_back(-1); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ngram-context.cc:27:0: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ngram-context.cc: In static member function 'static void ngram::NGramContext::ParseContextInterval(const string&, std::vector*, std::vector*)': ngram-context.cc:80:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < labels1.size(); ++i) { ~~^~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25:0, from ngram-output.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ngram-context.cc:84:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < labels2.size(); ++i) { ~~^~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ngram-context.cc: In member function 'void ngram::NGramContext::Init()': ngram-context.cc:95:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (context_begin_.size() >= hi_order_) hi_order_ = context_begin_.size() + 1; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngram-context.cc:96:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (context_end_.size() >= hi_order_) hi_order_ = context_end_.size() + 1; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngram-context.cc: In function 'bool ngram::NGramWriteContexts(const string&, const std::vector >&)': ngram-context.cc:241:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < contexts.size(); ++i) strm << contexts[i] << std::endl; ~~^~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-absolute.h:22, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngram-count-prune.cc:18:0: ./../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:56:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] count_minimums_[i] = count_minimums.size() > i ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./../include/ngram/ngram-context-prune.h:24:0, from ngram-shrink.cc:15: ./../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:56:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] count_minimums_[i] = count_minimums.size() > i ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./../include/ngram/ngram-absolute.h:22:0, from ngram-absolute.cc:22: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (order >= histogram_.size()) ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28:0, from ./../include/ngram/ngram-marginalize.h:24, from ngram-marginalize.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::StationaryStateProbs(std::vector*, double, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:395:27: required from 'void ngram::NGramModel::CalculateStateProbs(std::vector*, bool) const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-marginalize.h:117:17: required from here ./../include/ngram/ngram-model.h:1018:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ In file included from ./../include/ngram/ngram-count-prune.h:20:0, from ./../include/ngram/ngram-context-prune.h:24, from ngram-shrink.cc:15: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-relentropy.h:47:14: required from here ./../include/ngram/ngram-shrink.h:622:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (threshold_index < scores.size() && scores[threshold_index] == theta) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:625:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (threshold_index >= scores.size()) { // Sets theta more than max. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ngram-output.cc: In member function 'bool ngram::NGramOutput::PerplexityNGramModel(const std::vector > > > >&, int32, bool, std::__cxx11::string*, double, double)': ngram-output.cc:103:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId i = 0; i < infsts.size(); ++i) ~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-marginalize.h:41:39: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ngram-output.cc: In member function 'void ngram::NGramOutput::RandNGramModel(int64, bool) const': ngram-output.cc:501:51: warning: variable 'nextstate' set but not used [-Wunused-but-set-variable] StateId st = GetFst().Start(), hi_state = -1, nextstate; ^~~~~~~~~ ngram-output.cc:502:11: warning: variable 'lbl' set but not used [-Wunused-but-set-variable] Label lbl; ^~~ In file included from ./../include/ngram/ngram-absolute.h:22:0, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (order >= histogram_.size()) ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:23:0, from ngram-absolute.cc:22: ./../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:144:50: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:22: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:39:21: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-absolute.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:39:21: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28:0, from ./../include/ngram/ngram-shrink.h:23, from ./../include/ngram/ngram-count-prune.h:20, from ngram-count-prune.cc:18: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:364:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-marginalize.h:41:39: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-context-prune.h:23, from ngram-shrink.cc:15: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:364:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:22:0, from ngram-make.cc:19: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (order >= histogram_.size()) ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ngram-context.cc:27: ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:39:21: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::StationaryStateProbs(std::vector*, double, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:395:27: required from 'void ngram::NGramModel::CalculateStateProbs(std::vector*, bool) const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:381:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:328:19: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:348:24: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:1018:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:364:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-make.h:61:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, ngram::NGramMake::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMake::Label = int]' ./../include/ngram/ngram-absolute.h:39:31: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::HistogramArc; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-katz.h:61:46: required from 'void ngram::NGramKatz::SetCountOfCounts(const StdFst&) [with Arc = fst::HistogramArc; fst::StdFst = fst::Fst > >]' ngram-make.cc:135:45: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::StationaryStateProbs(std::vector*, double, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:395:27: required from 'void ngram::NGramModel::CalculateStateProbs(std::vector*, bool) const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:381:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:328:19: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:348:24: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:1018:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:364:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-make.h:61:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, ngram::NGramMake::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMake::Label = int]' ./../include/ngram/ngram-absolute.h:39:31: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-absolute.h:23:0, from ngram-make.cc:19: ./../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:144:50: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:22: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:41:45: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:41:45: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-count.h:29, from ngram-count.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:23:0, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ngram-kneser-ney.cc:130:1: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts ~~^~~~~~~~~~~~~~~~~~ ngram-count.cc: In function 'void ngram::RoundCountsToInt(fst::StdMutableFst*)': ngram-count.cc:27:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t s = 0; s < fst->NumStates(); ++s) { ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:23:0, from ngram-make.cc:19: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-make.h:144:50: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::HistogramArc; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:22: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-katz.h:57:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' ngram-make.cc:136:31: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-katz.h:57:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' ngram-make.cc:136:31: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-output.h:25, from ngram-output.cc:23: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:41:45: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-katz.h:57:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' ngram-make.cc:136:31: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-hist-merge.h:21:0, from ngram-count.cc:19: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:95:24: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram2_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) ./../include/ngram/ngram-merge.h:227:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram2_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // shared state ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:100:17: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // state found in both models ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:259:54: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:29, from ngram-count.cc:18: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:415:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (state_orders_.size() < st) { ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:422:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (state_orders_.size() == st) { // add state info ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'void ngram::NGramModel::StationaryStateProbs(std::vector*, double, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: 'bocost.fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:968:12: note: 'bocost.fst::FloatWeightTpl::value_' was declared here Weight bocost; ^~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In member function 'bool ngram::NGramModel::CalcArcNegLogSums(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double*, double*, bool) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ./../include/ngram/ngram-model.h:657:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h: In member function 'bool ngram::NGramModel::CalcArcNegLogSums(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double*, double*, bool) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ./../include/ngram/ngram-model.h:657:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ngram-output.cc: In member function 'void ngram::NGramOutput::FindNextStateInModel(ngram::NGramOutput::StateId*, ngram::NGramOutput::Label, double, ngram::NGramOutput::Label, double*, int*, int*, int*, std::__cxx11::string*, bool, std::vector*) const': ngram-output.cc:374:19: warning: 'ngram_cost' may be used uninitialized in this function [-Wmaybe-uninitialized] ngram_cost += OOV_cost; ^~~~~~~~ ngram-output.cc:389:73: warning: 'order' may be used uninitialized in this function [-Wmaybe-uninitialized] if (verbose) ShowNGramProb(symbol, (*history), 0, order, ngram_cost); ^ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-output.h:25, from ngram-output.cc:23: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -version-info 2:0:0 -lfst -lm -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libngram.la -rpath /usr/lib64 ngram-absolute.lo ngram-context.lo ngram-count.lo ngram-count-prune.lo ngram-kneser-ney.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 -L/usr/lib64/atlas -lsatlas libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtbeginS.o .libs/ngram-absolute.o .libs/ngram-context.o .libs/ngram-count.o .libs/ngram-count-prune.o .libs/ngram-kneser-ney.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 -L/usr/lib64/atlas -lsatlas -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1 -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngram.so.2 -o .libs/libngram.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libngram.so.2" && ln -s "libngram.so.2.0.0" "libngram.so.2") libtool: link: (cd ".libs" && rm -f "libngram.so" && ln -s "libngram.so.2.0.0" "libngram.so") libtool: link: ( cd ".libs" && rm -f "libngram.la" && ln -s "../libngram.la" "libngram.la" ) /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -version-info 2:0:0 -lfst -lfstscript -lm -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libngramhist.la -rpath /usr/lib64 hist-arc.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -module -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hist-arc.la -rpath /usr/lib64 hist-arc.lo -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtbeginS.o .libs/hist-arc.o -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1 -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -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 -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtbeginS.o .libs/hist-arc.o -lfstscript -ldl -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1 -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngramhist.so.2 -o .libs/libngramhist.so.2.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.2" && ln -s "libngramhist.so.2.0.0" "libngramhist.so.2") libtool: link: (cd ".libs" && rm -f "libngramhist.so" && ln -s "libngramhist.so.2.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/opengrm-ngram-1.3.2/src/lib' Making all in bin make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramapply_main.o ngramapply_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramcontext_main.o ngramcontext_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramcount_main.o ngramcount_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngraminfo_main.o ngraminfo_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngrammake_main.o ngrammake_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngrammarginalize_main.o ngrammarginalize_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngrammerge_main.o ngrammerge_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramperplexity_main.o ngramperplexity_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramprint_main.o ngramprint_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramrandgen_main.o ngramrandgen_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramread_main.o ngramread_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramshrink_main.o ngramshrink_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramsort_main.o ngramsort_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramsplit_main.o ngramsplit_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramsymbols_main.o ngramsymbols_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramtransfer_main.o ngramtransfer_main.cc In file included from ngramcontext_main.cc:22:0: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-transfer.h:26:0, from ngramtransfer_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ngraminfo_main.cc: In function 'void ngram::PrintNGramInfo(const ngram::NGramModel > >&, std::ostream&)': ngraminfo_main.cc:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t s = 0; s < ngram.NumStates(); ++s) { ~~^~~~~~~~~~~~~~~~~~~ ngramtransfer_main.cc: In function 'bool GetContexts(int, std::vector >*)': ngramtransfer_main.cc:60:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (contexts->size() != in_count) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ./../include/ngram/ngram-split.h:25:0, from ngramsplit_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngrammerge_main.cc:22:0: ./../include/ngram/ngram-bayes-model-merge.h: In member function 'double ngram::NGramBayesModelMerge::StateAlpha(ngram::NGramBayesModelMerge::StateId) const': ./../include/ngram/ngram-bayes-model-merge.h:82:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st >= state_alpha_.size()) state_alpha_.push_back(-1.0); ~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-merge.h:20:0, from ngrammerge_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25:0, from ngramprint_main.cc:22: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ./../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:59: required from here ./../include/ngram/ngram-context.h:119:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < begin_contexts.size(); ++i) In file included from ngraminfo_main.cc:25:0: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ngraminfo_main.cc:78:50: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25:0, from ngramapply_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25:0, from ngramperplexity_main.cc:24: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ngrammerge_main.cc: In function 'bool GetContexts(int, std::vector >*)': ngrammerge_main.cc:72:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (contexts->size() != in_count) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngrammerge_main.cc: In function 'void RoundCountsToInt(fst::StdMutableFst*)': ngrammerge_main.cc:83:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t s = 0; s < fst->NumStates(); ++s) { ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28:0, from ./../include/ngram/ngram-marginalize.h:24, from ngrammarginalize_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::StationaryStateProbs(std::vector*, double, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:395:27: required from 'void ngram::NGramModel::CalculateStateProbs(std::vector*, bool) const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-marginalize.h:117:17: required from here ./../include/ngram/ngram-model.h:1018:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ngramrandgen_main.cc: In function 'void CreateStringFstFromPath(std::vector*, fst::StdVectorFst*)': ngramrandgen_main.cc:70:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < labels->size(); i++) { ~~^~~~~~~~~~~~~~~~ In file included from ngramsplit_main.cc:22:0: ./../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:80:67: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st_order < order_states.size() && order_states[st_order].size() > 0) { In file included from ./../include/ngram/ngram-complete.h:27:0, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'ngram::NGramModel::Weight ngram::NGramModel::GetNGramCost(const std::vector&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::Weight = fst::TropicalWeightTpl; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-bayes-model-merge.h:87:31: required from here ./../include/ngram/ngram-model.h:331:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int n = 0; n < ngram.size(); ++n) { ./../include/ngram/ngram-model.h:335:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (n != ngram.size() - 1) { ~~^~~~~~~~~~~~~~~~~~~ ./../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:116:17: required from 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]' ngramcontext_main.cc:50:59: required from here ./../include/ngram/ngram-context.h:336:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (bin_count + delta1) * ncontexts < total_count) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:365:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (bin_count + delta2) * ncontexts < total_count) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ngraminfo_main.cc:78:50: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-complete.h:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { In file included from ./../include/ngram/ngram-mutable-model.h:28:0, from ngramsort_main.cc:20: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ngramsort_main.cc:49:21: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int order = 1; order < order_states.size() - 1; ++order) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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::HistogramArc; typename Arc::Label = int]': ngramsplit_main.cc:87:67: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st_order < order_states.size() && order_states[st_order].size() > 0) { In file included from ./../include/ngram/ngram-context.h:26:0, from ngramcontext_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:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ngramcontext_main.cc:47:73: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-complete.h:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int order = 1; order < order_states.size() - 1; ++order) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { In file included from ./../include/ngram/ngram-bayes-model-merge.h:23:0, from ngrammerge_main.cc:22: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:95:24: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) ./../include/ngram/ngram-merge.h:227:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram2_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ngramsort_main.cc:49:21: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-merge.h:364:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ngrammarginalize_main.cc:97:74: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // shared state ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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:100:17: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // state found in both models ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-count.h:29, from ngramcount_main.cc:28: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:95:24: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram2_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) ./../include/ngram/ngram-merge.h:227:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram2_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // shared state ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:100:17: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // state found in both models ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-count.h:29, from ./../include/ngram/ngram-input.h:30, from ngramread_main.cc:19: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ngramcontext_main.cc:47:73: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-count.h:29, from ./../include/ngram/ngram-input.h:30, from ngramsymbols_main.cc:19: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.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 = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngramsplit_main.cc:80:67: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order >= order_states->size()) return false; ./../include/ngram/ngram-complete.h:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < (*order_states)[order].size(); ++i) { ./../include/ngram/ngram-complete.h:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order_states->size() <= order + 1) order_states->resize(order + 2); In file included from ngramtransfer_main.cc:22:0: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st_order < order_states.size() && order_states[st_order].size() > 0) { ./../include/ngram/ngram-complete.h:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { In file included from ngramsplit_main.cc:23:0: ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]': ngramsplit_main.cc:37:46: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramsplit_main.cc:83:62: required from here ./../include/ngram/ngram-split.h:103:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_patterns.size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngramsplit_main.cc:22:0: ./../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::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' ngramsplit_main.cc:87:67: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order >= order_states->size()) return false; ./../include/ngram/ngram-complete.h:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < (*order_states)[order].size(); ++i) { ./../include/ngram/ngram-complete.h:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int order = 1; order < order_states.size() - 1; ++order) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-complete.h:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order_states->size() <= order + 1) order_states->resize(order + 2); In file included from ngramread_main.cc:19:0: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': ./../include/ngram/ngram-input.h:447:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (nextstate >= boweights->size()) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': ./../include/ngram/ngram-input.h:494:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < boweights->size()) { ~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': ./../include/ngram/ngram-input.h:577:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order ~~^~~~~~~~~~~~~~~ In file included from ngrammerge_main.cc:21:0: ./../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:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngrammerge_main.cc:127:45: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st_order < order_states.size() && order_states[st_order].size() > 0) { In file included from ngramsplit_main.cc:23:0: ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]': ngramsplit_main.cc:37:46: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramsplit_main.cc:90:62: required from here ./../include/ngram/ngram-split.h:103:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_patterns.size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ngrammarginalize_main.cc:97:74: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../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:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st_order < order_states.size() && order_states[st_order].size() > 0) { ./../include/ngram/ngram-complete.h:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::AddBackoffAndCycles(ngram::NGramInput::StateId, ngram::NGramInput::Label)': ./../include/ngram/ngram-input.h:684:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < bigram_states.size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h:690:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < bigram_states.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ngramsymbols_main.cc:19:0: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': ./../include/ngram/ngram-input.h:447:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (nextstate >= boweights->size()) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-complete.h:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int order = 1; order < order_states.size() - 1; ++order) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-complete.h:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int order = 1; order < order_states.size() - 1; ++order) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-output.h:25, from ngramprint_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:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:755:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < words->size() - 2; i++) { ~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': ./../include/ngram/ngram-input.h:494:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < boweights->size()) { ~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, ngram::NGramInput::Label, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:795:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': ./../include/ngram/ngram-input.h:577:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order ~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngrammerge_main.cc:174:58: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (st_order < order_states.size() && order_states[st_order].size() > 0) { ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::AddBackoffAndCycles(ngram::NGramInput::StateId, ngram::NGramInput::Label)': ./../include/ngram/ngram-input.h:684:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < bigram_states.size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h:690:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < bigram_states.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-input.h: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:755:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < words->size() - 2; i++) { ~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int order = 1; order < order_states.size() - 1; ++order) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < order_states[order].size(); ++idx) { ./../include/ngram/ngram-input.h: In member function 'int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, ngram::NGramInput::Label, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:795:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27:0, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-bayes-model-merge.h:48:35: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 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::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order >= order_states->size()) return false; ./../include/ngram/ngram-complete.h:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < (*order_states)[order].size(); ++i) { In file included from ./../include/ngram/ngram-bayes-model-merge.h:23:0, from ngrammerge_main.cc:22: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:259:54: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order_states->size() <= order + 1) order_states->resize(order + 2); ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27:0, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-model.h:415:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (state_orders_.size() < st) { ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:422:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (state_orders_.size() == st) { // add state info ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./../include/ngram/ngram-input.h:30:0, from ngramread_main.cc:19: ./../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]': ./../include/ngram/ngram-input.h:357:50: required from here ./../include/ngram/ngram-count.h:190:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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]': ./../include/ngram/ngram-input.h:424:54: required from here ./../include/ngram/ngram-count.h:196:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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]': ./../include/ngram/ngram-input.h:433:53: required from here ./../include/ngram/ngram-count.h:203:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (arc_id < 0 || arc_id >= arcs_.size()) return false; In file included from ./../include/ngram/ngram-bayes-model-merge.h:23:0, from ngrammerge_main.cc:22: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:259:54: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27:0, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:415:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (state_orders_.size() < st) { ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:422:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order >= order_states->size()) return false; ./../include/ngram/ngram-complete.h:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < (*order_states)[order].size(); ++i) { ./../include/ngram/ngram-complete.h:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order_states->size() <= order + 1) order_states->resize(order + 2); In file included from ./../include/ngram/ngram-input.h:30:0, from ngramsymbols_main.cc:19: ./../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]': ./../include/ngram/ngram-input.h:357:50: required from here ./../include/ngram/ngram-count.h:190:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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]': ./../include/ngram/ngram-input.h:424:54: required from here ./../include/ngram/ngram-count.h:196:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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]': ./../include/ngram/ngram-input.h:433:53: required from here ./../include/ngram/ngram-count.h:203:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (arc_id < 0 || arc_id >= arcs_.size()) return false; In file included from ngrammerge_main.cc:21:0: ./../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:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngrammerge_main.cc:127:45: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order >= order_states->size()) return false; ./../include/ngram/ngram-complete.h:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < (*order_states)[order].size(); ++i) { ./../include/ngram/ngram-complete.h:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order_states->size() <= order + 1) order_states->resize(order + 2); In file included from ./../include/ngram/ngram-mutable-model.h:28:0, from ./../include/ngram/ngram-shrink.h:23, from ngramshrink_main.cc:20: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-output.h:25, from ngramperplexity_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:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 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::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngrammerge_main.cc:174:58: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order >= order_states->size()) return false; ./../include/ngram/ngram-complete.h:49:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < (*order_states)[order].size(); ++i) { ./../include/ngram/ngram-complete.h:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order_states->size() <= order + 1) order_states->resize(order + 2); In file included from ./../include/ngram/ngram-complete.h:27:0, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27:0, from ngramsplit_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:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:37:46: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramsplit_main.cc:83:62: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27:0, from ngramtransfer_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:12: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:37:46: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramsplit_main.cc:90:62: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:12: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-bayes-model-merge.h:48:35: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:29, from ./../include/ngram/ngram-input.h:30, from ngramsymbols_main.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:29, from ./../include/ngram/ngram-input.h:30, from ngramread_main.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:29, from ngramcount_main.cc:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:67: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' ngramcount_main.cc:124:74: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:37:46: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramsplit_main.cc:83:62: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:67: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' ngramcount_main.cc:130:59: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:12: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:37:46: required from 'bool Split(fst::VectorFst*, std::vector >, std::__cxx11::string) [with Arc = fst::HistogramArc; std::__cxx11::string = std::__cxx11::basic_string]' ngramsplit_main.cc:90:62: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:12: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:11: required from 'bool Transfer(std::__cxx11::string, int, char**) [with Arc = fst::ArcTpl >; std::__cxx11::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) In file included from ./../include/ngram/ngram-mutable-model.h:28:0, from ./../include/ngram/ngram-make.h:23, from ngrammake_main.cc:21: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ In file included from ngramrandgen_main.cc:32:0: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': /usr/include/fst/randgen.h:472:5: required from 'void fst::internal::RandGenFstImpl::Expand(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/randgen.h:427:29: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::ToWeight = fst::TropicalWeightTpl; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/fst.h:858:65: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(fst::ImplToFst::StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; fst::ImplToFst::Weight = fst::TropicalWeightTpl; fst::ImplToFst::StateId = int]' ngramrandgen_main.cc:155:1: required from here ./../include/ngram/ngram-randgen.h:129:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] rstate.length == max_length_) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:67: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' ngramcount_main.cc:124:74: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:67: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::__cxx11::string = std::__cxx11::basic_string]' ngramcount_main.cc:130:59: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ In file included from ./../include/ngram/lexicographic-map.h:37:0, from ngramapply_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:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramshrink ngramshrink_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas ./../include/ngram/ngram-model.h: In member function 'bool ngram::NGramModel::CalcArcNegLogSums(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double*, double*, bool) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ./../include/ngram/ngram-model.h:657:9: note: 'barc.fst::ArcTpl >::ilabel' was declared here Arc barc; ^~~~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramshrink ngramshrink_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 -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngraminfo ngraminfo_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngraminfo ngraminfo_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 -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramcontext ngramcontext_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsort ngramsort_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramcontext ngramcontext_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 -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsort ngramsort_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 -L/usr/lib64/atlas -lsatlas ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ In file included from ngramread_main.cc:19:0: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::FillARPAHoles()': ./../include/ngram/ngram-input.h:557:33: warning: 'boprob' may be used uninitialized in this function [-Wmaybe-uninitialized] arc.weight = boprob + GetLowerOrderProb(bostate, arc.ilabel); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngramsymbols_main.cc:19:0: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::FillARPAHoles()': ./../include/ngram/ngram-input.h:557:33: warning: 'boprob' may be used uninitialized in this function [-Wmaybe-uninitialized] arc.weight = boprob + GetLowerOrderProb(bostate, arc.ilabel); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammarginalize ngrammarginalize_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammake ngrammake_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammarginalize ngrammarginalize_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 -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammake ngrammake_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramprint ngramprint_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramprint ngramprint_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 -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramread ngramread_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramrandgen ngramrandgen_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramrandgen ngramrandgen_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 -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramread ngramread_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 -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsymbols ngramsymbols_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsymbols ngramsymbols_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 -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramperplexity ngramperplexity_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramperplexity ngramperplexity_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 -L/usr/lib64/atlas -lsatlas ./../include/ngram/ngram-model.h: At global scope: ./../include/ngram/ngram-model.h:88:15: warning: 'double ngram::NegLogSum(double, double)' defined but not used [-Wunused-function] static double NegLogSum(double a, double b) { return NegLogSum(a, b, 0); } ^~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsplit ngramsplit_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsplit ngramsplit_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramcount ngramcount_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramcount ngramcount_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramtransfer ngramtransfer_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramtransfer ngramtransfer_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammerge ngrammerge_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammerge ngrammerge_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramapply ngramapply_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramapply ngramapply_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 -L/usr/lib64/atlas -lsatlas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' Making all in test make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramhisttest.o ngramhisttest.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -c -o ngramrandtest.o ngramrandtest.cc In file included from ./../include/ngram/ngram-count-of-counts.h:24:0, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-context.h: In static member function 'static std::__cxx11::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:98:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_begin.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:101:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < context_end.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ ngramrandtest.cc: In function 'void BuildRandomUnigram(fst::StdMutableFst*, int, int, std::ostream&)': ngramrandtest.cc:92:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t a = 0; a < vocabulary; ++a) { // add unigram arcs to model ~~^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramhisttest ngramhisttest.o -lfstscript ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas In file included from ./../include/ngram/ngram-absolute.h:22:0, from ngramrandtest.cc:31: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (order >= histogram_.size()) ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-seymore-shrink.h:20:0, from ngramrandtest.cc:41: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-seymore-shrink.h:42:14: required from here ./../include/ngram/ngram-shrink.h:622:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (threshold_index < scores.size() && scores[threshold_index] == theta) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:625:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (threshold_index >= scores.size()) { // Sets theta more than max. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramhisttest ngramhisttest.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 -L/usr/lib64/atlas -lsatlas In file included from ./../include/ngram/ngram-context-merge.h:21:0, from ngramrandtest.cc:32: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:95:24: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) ./../include/ngram/ngram-merge.h:227:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram1_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId j = 0; j < ngram2_ns_; ++j) { ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // shared state ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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:100:17: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId ist = 0; ist < ngram2_ns_; ++ist) { ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (st < ngram1_ns_) { // state found in both models ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:259:54: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:96:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (StateId st = 0; st < ngram1_ns_; ++st) { ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:97:14: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-model.h:415:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (state_orders_.size() < st) { ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:422:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-model-merge.h:50:35: required from here ./../include/ngram/ngram-model.h:203:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:23:0, from ngramrandtest.cc:31: ./../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:144:50: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:22: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-witten-bell.h:39:45: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:777:50: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:201:30: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:293:23: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:124:14: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-model-merge.h:50:35: required from here ./../include/ngram/ngram-model.h:803:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = j; i < state_ngrams_[st].size(); ++i) ./../include/ngram/ngram-model.h:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!boa && j <= state_ngrams_[st].size()) ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::StationaryStateProbs(std::vector*, double, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:395:27: required from 'void ngram::NGramModel::CalculateStateProbs(std::vector*, bool) const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:381:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:328:19: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:348:24: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-seymore-shrink.h:37:33: required from here ./../include/ngram/ngram-model.h:1018:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1025:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t st = 0; st < nstates_; ++st) { ~~~^~~~~~~~~~ In file included from ngramrandtest.cc:40:0: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': /usr/include/fst/randgen.h:472:5: required from 'void fst::internal::RandGenFstImpl::Expand(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/randgen.h:427:29: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::ToWeight = fst::TropicalWeightTpl; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/fst.h:858:65: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(fst::ImplToFst::StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; fst::ImplToFst::Weight = fst::TropicalWeightTpl; fst::ImplToFst::StateId = int]' ngramrandtest.cc:249:1: required from here ./../include/ngram/ngram-randgen.h:129:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] rstate.length == max_length_) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:26:0, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1054:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] return w.Value(); ^ ./../include/ngram/ngram-model.h:657:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here Arc barc; ^~~~ ./../include/ngram/ngram-model.h:675:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] if (barc.ilabel != backoff_label_) ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramrandtest ngramrandtest.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramrandtest ngramrandtest.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -L/usr/lib64/atlas -lsatlas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' + chrpath -d src/lib/.libs/libngram.so.2.0.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CcdBMY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 ++ dirname /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 + cd opengrm-ngram-1.3.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/include/ngram' /usr/bin/install -c -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-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-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.2-3.fc25.x86_64/usr/include/ngram' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64' /bin/sh ../../libtool --mode=install /usr/bin/install -c libngram.la libngramhist.la hist-arc.la '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libngram.so.2.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngram.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64 && { ln -s -f libngram.so.2.0.0 libngram.so.2 || { rm -f libngram.so.2 && ln -s libngram.so.2.0.0 libngram.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64 && { ln -s -f libngram.so.2.0.0 libngram.so || { rm -f libngram.so && ln -s libngram.so.2.0.0 libngram.so; }; }) libtool: install: /usr/bin/install -c .libs/libngram.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngram.la libtool: install: /usr/bin/install -c .libs/libngramhist.so.2.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngramhist.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64 && { ln -s -f libngramhist.so.2.0.0 libngramhist.so.2 || { rm -f libngramhist.so.2 && ln -s libngramhist.so.2.0.0 libngramhist.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64 && { ln -s -f libngramhist.so.2.0.0 libngramhist.so || { rm -f libngramhist.so && ln -s libngramhist.so.2.0.0 libngramhist.so; }; }) libtool: install: /usr/bin/install -c .libs/libngramhist.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngramhist.la libtool: install: /usr/bin/install -c .libs/hist-arc.so.0.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/hist-arc.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.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.2-3.fc25.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 -c .libs/hist-arc.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/hist-arc.la libtool: install: 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/opengrm-ngram-1.3.2/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib' Making install in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -c ngramapply ngramcontext ngramcount ngraminfo ngrammake ngrammarginalize ngrammerge ngramperplexity ngramprint ngramrandgen ngramread ngramshrink ngramsort ngramsplit ngramsymbols ngramtransfer '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin' libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramapply /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramapply libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramcontext /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramcontext libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramcount /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramcount libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngraminfo /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngraminfo libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngrammake /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngrammake libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngrammarginalize /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngrammarginalize libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngrammerge /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngrammerge libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramperplexity /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramperplexity libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramprint /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramprint libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramrandgen /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramrandgen libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramread /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramread libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramshrink /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramshrink libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramsort /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramsort libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramsplit /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramsplit libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramsymbols /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramsymbols libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramtransfer /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramtransfer make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' Making install in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -c ngramhisttest ngramrandtest '/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin' libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramhisttest /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramhisttest libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ngramrandtest /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramrandtest make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/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/opengrm-ngram-1.3.2/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' 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/opengrm-ngram-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' + rm -f /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/hist-arc.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngram.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngramhist.la + mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1 + cd man + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramapply.1 + touch -r ngramapply.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramapply.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramcontext.1 + touch -r ngramcontext.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramcontext.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramcount.1 + touch -r ngramcount.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramcount.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramhisttest.1 + touch -r ngramhisttest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramhisttest.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngraminfo.1 + touch -r ngraminfo.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngraminfo.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngrammake.1 + touch -r ngrammake.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngrammake.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngrammarginalize.1 + touch -r ngrammarginalize.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngrammarginalize.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngrammerge.1 + touch -r ngrammerge.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngrammerge.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramperplexity.1 + touch -r ngramperplexity.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramperplexity.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramprint.1 + touch -r ngramprint.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramprint.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramrandgen.1 + touch -r ngramrandgen.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramrandgen.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramrandtest.1 + touch -r ngramrandtest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramrandtest.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramread.1 + touch -r ngramread.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramread.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramshrink.1 + touch -r ngramshrink.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramshrink.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramsort.1 + touch -r ngramsort.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramsort.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramsplit.1 + touch -r ngramsplit.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramsplit.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramsymbols.1 + touch -r ngramsymbols.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramsymbols.1 + for f in '*.1' + sed -e s/@VERSION@/1.3.2/ ngramtransfer.1 + touch -r ngramtransfer.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/man/man1/ngramtransfer.1 + cd .. + sed '/Faster multinomial sampling/a#define HAVE_GSL' /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/include/ngram/ngram-randgen.h + touch -r /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/include/ngram/ngram-randgen.h foo + mv -f foo /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/include/ngram/ngram-randgen.h + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/opengrm-ngram-1.3.2 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramrandtest extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngrammarginalize extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramtransfer extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramapply extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramperplexity extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramsymbols extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngraminfo extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramsort extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramsplit extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngrammake extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngrammerge extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramshrink extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramread extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramcontext extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramrandgen extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramhisttest extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramprint extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/bin/ngramcount extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/hist-arc.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngramhist.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/lib64/libngram.so.2.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 21 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/hist-arc.so.0.0.0.debug to /usr/lib/debug/usr/lib64/hist-arc.so.debug symlinked /usr/lib/debug/usr/lib64/libngram.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libngram.so.2.debug symlinked /usr/lib/debug/usr/lib64/libngramhist.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libngramhist.so.debug symlinked /usr/lib/debug/usr/lib64/hist-arc.so.0.0.0.debug to /usr/lib/debug/usr/lib64/hist-arc.so.0.debug symlinked /usr/lib/debug/usr/lib64/libngram.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libngram.so.debug symlinked /usr/lib/debug/usr/lib64/libngramhist.so.2.0.0.debug to /usr/lib/debug/usr/lib64/libngramhist.so.2.debug 913 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WapMqV + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.2 + LD_LIBRARY_PATH=/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib/.libs + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/include' Making check in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/lib' Making check in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/bin' Making check in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make disttestsetup.sh ngramapply_test.sh ngramcompile_randgen_far.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 ngramrandtest_seed.sh ngramrand_test.sh ngramshrink_test.sh ngramsymbols_test.sh make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/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 'ngramcompile_randgen_far.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 'ngramrandtest_seed.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/opengrm-ngram-1.3.2/src/test' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[4]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/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 make[5]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' ============================================================================ Testsuite summary for OpenGrm NGram 1.3.2 ============================================================================ # TOTAL: 19 # PASS: 19 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.2' + exit 0 Processing files: opengrm-ngram-1.3.2-3.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VYVLXs + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.2 + DOCDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/doc/opengrm-ngram + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/doc/opengrm-ngram + cp -pr AUTHORS /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/doc/opengrm-ngram + cp -pr NEWS /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/doc/opengrm-ngram + cp -pr README /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/doc/opengrm-ngram + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nUWdw0 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/licenses/opengrm-ngram + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/licenses/opengrm-ngram + cp -pr COPYING /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64/usr/share/licenses/opengrm-ngram + exit 0 Provides: libngram.so.2()(64bit) libngramhist.so.2()(64bit) opengrm-ngram = 1.3.2-3.fc25 opengrm-ngram(x86-64) = 1.3.2-3.fc25 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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.4)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libfst.so.6()(64bit) libfstscript.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.23)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(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.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-devel-1.3.2-3.fc25.x86_64 Provides: opengrm-ngram-devel = 1.3.2-3.fc25 opengrm-ngram-devel(x86-64) = 1.3.2-3.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libngram.so.2()(64bit) libngramhist.so.2()(64bit) Processing files: opengrm-ngram-tools-1.3.2-3.fc25.x86_64 Provides: opengrm-ngram-tools = 1.3.2-3.fc25 opengrm-ngram-tools(x86-64) = 1.3.2-3.fc25 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.4)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libfst.so.6()(64bit) libfstfar.so.7()(64bit) libfstscript.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgsl.so.19()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libngram.so.2()(64bit) libngramhist.so.2()(64bit) libsatlas.so.3()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(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.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-debuginfo-1.3.2-3.fc25.x86_64 Provides: opengrm-ngram-debuginfo = 1.3.2-3.fc25 opengrm-ngram-debuginfo(x86-64) = 1.3.2-3.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 Wrote: /builddir/build/RPMS/opengrm-ngram-1.3.2-3.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-devel-1.3.2-3.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-1.3.2-3.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debuginfo-1.3.2-3.fc25.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uQXw4Z + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.2-3.fc25.x86_64 + exit 0 Child return code was: 0