<86>Dec 14 09:34:48 userdel[2421255]: delete user 'rooter' <86>Dec 14 09:34:48 userdel[2421255]: removed group 'rooter' owned by 'rooter' <86>Dec 14 09:34:48 userdel[2421255]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 14 09:34:48 groupadd[2421268]: group added to /etc/group: name=rooter, GID=1832 <86>Dec 14 09:34:48 groupadd[2421268]: group added to /etc/gshadow: name=rooter <86>Dec 14 09:34:48 groupadd[2421268]: new group: name=rooter, GID=1832 <86>Dec 14 09:34:48 useradd[2421274]: new user: name=rooter, UID=1832, GID=1832, home=/root, shell=/bin/bash, from=none <86>Dec 14 09:34:48 userdel[2421289]: delete user 'builder' <86>Dec 14 09:34:48 userdel[2421289]: removed group 'builder' owned by 'builder' <86>Dec 14 09:34:48 userdel[2421289]: removed shadow group 'builder' owned by 'builder' <86>Dec 14 09:34:48 groupadd[2421304]: group added to /etc/group: name=builder, GID=1833 <86>Dec 14 09:34:48 groupadd[2421304]: group added to /etc/gshadow: name=builder <86>Dec 14 09:34:48 groupadd[2421304]: new group: name=builder, GID=1833 <86>Dec 14 09:34:48 useradd[2421319]: new user: name=builder, UID=1833, GID=1833, home=/usr/src, shell=/bin/bash, from=none <13>Dec 14 09:34:52 rpmi: libkyotocabinet-1.2.76-alt3 1500283658 installed <13>Dec 14 09:34:52 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550035 installed <13>Dec 14 09:34:53 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787317 installed <13>Dec 14 09:34:53 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 14 09:34:53 rpmi: libgio-2.82.4-alt1 sisyphus+364807.100.1.1 1733991604 installed <13>Dec 14 09:34:53 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641770 installed <13>Dec 14 09:34:53 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Dec 14 09:34:53 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Dec 14 09:34:53 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Dec 14 09:34:53 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Dec 14 09:34:53 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333695 installed <13>Dec 14 09:34:53 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Dec 14 09:34:53 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 14 09:34:53 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 14 09:34:54 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 14 09:34:54 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 14 09:34:54 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 14 09:34:54 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 14 09:34:54 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 14 09:34:54 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 14 09:34:54 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 14 09:34:54 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 14 09:34:54 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 14 09:34:54 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 14 09:34:55 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 14 09:34:55 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 14 09:34:56 rpmi: glib2-devel-2.82.4-alt1 sisyphus+364807.100.1.1 1733991604 installed <13>Dec 14 09:34:56 rpmi: libgio-devel-2.82.4-alt1 sisyphus+364807.100.1.1 1733991604 installed <13>Dec 14 09:34:56 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Dec 14 09:34:56 rpmi: libkyotocabinet-devel-1.2.76-alt3 1500283658 installed <13>Dec 14 09:34:56 rpmi: libdb4.7-devel-4.7.25-alt13 sisyphus+341099.200.4.1 1709732039 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libpinyin-2.8.1-alt1_5.nosrc.rpm (w1.gzdio) Installing libpinyin-2.8.1-alt1_5.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.20919 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libpinyin-2.8.1 + echo 'Source #0 (libpinyin-2.8.1.tar.gz):' Source #0 (libpinyin-2.8.1.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/libpinyin-2.8.1.tar.gz + /bin/tar -xf - + cd libpinyin-2.8.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.20919 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.8.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-static --with-dbm=KyotoCabinet --enable-libzhuyin configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu 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 how to print strings... printf checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether i586-alt-linux-g++ supports C++11 features by default... 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 the maximum length of command line arguments... 1572864 checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-file... no checking for file... file checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... 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... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for egrep... (cached) /usr/bin/grep -E checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for string.h... (cached) yes checking for KYOTOCABINET... yes checking for library containing kcdbopen... -lkyotocabinet checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating data/table.conf config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/storage/Makefile config.status: creating src/lookup/Makefile config.status: creating tests/Makefile config.status: creating tests/include/Makefile config.status: creating tests/storage/Makefile config.status: creating tests/lookup/Makefile config.status: creating utils/Makefile config.status: creating utils/storage/Makefile config.status: creating utils/segment/Makefile config.status: creating utils/training/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext Build options: Version 2.8.1 Install prefix /usr DBM KyotoCabinet Enable libzhuyin yes + make -j16 make all-recursive Making all in src Making all in include make[3]: Nothing to be done for 'all'. Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o table_info.o table_info.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_index.o phrase_index.cpp In file included from phrase_index.h:30, from phrase_index.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': phrase_index.cpp:541:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 541 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 542 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_large_table2.o phrase_large_table2.cpp phrase_large_table2.cpp:64:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 64 | PhraseIndexItem2(const ucs4_t phrase[], phrase_token_t token){ | ^ phrase_large_table2.cpp:64:36: note: remove the '< >' phrase_large_table2.cpp: In member function 'bool pinyin::PhraseLargeTable2::load_text(FILE*)': phrase_large_table2.cpp:479:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 479 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 480 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_large_table.o chewing_large_table.cpp In file included from chewing_large_table.cpp:24: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' chewing_large_table.cpp: In member function 'bool pinyin::ChewingLargeTable::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': chewing_large_table.cpp:676:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 676 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 677 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} chewing_large_table.cpp:710:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 710 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ chewing_large_table.cpp:711:73: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 711 | fprintf(stderr, "ChewingLargeTable::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 712 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_large_table2.o chewing_large_table2.cpp In file included from chewing_large_table2.h:27, from chewing_large_table2.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' chewing_large_table2.cpp: In member function 'bool pinyin::ChewingLargeTable2::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': chewing_large_table2.cpp:122:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 122 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 123 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} chewing_large_table2.cpp:156:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 156 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ chewing_large_table2.cpp:157:74: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | fprintf(stderr, "ChewingLargeTable2::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 158 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_key.o chewing_key.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o zhuyin_parser2.o zhuyin_parser2.cpp In file included from zhuyin_parser2.cpp:27: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_large_table3.o phrase_large_table3.cpp phrase_large_table3.cpp: In member function 'bool pinyin::PhraseLargeTable3::load_text(FILE*)': phrase_large_table3.cpp:135:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 135 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 136 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o tag_utility.o tag_utility.cpp In file included from phrase_index.h:30, from tag_utility.cpp:6: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o ngram.o ngram.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phonetic_key_matrix.o phonetic_key_matrix.cpp In file included from chewing_large_table2.h:27, from facade_chewing_table2.h:25, from phonetic_key_matrix.h:27, from phonetic_key_matrix.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' phonetic_key_matrix.cpp: In function 'bool pinyin::dump_matrix(PhoneticKeyMatrix*)': phonetic_key_matrix.cpp:330:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 330 | printf("Column:%ld:\n", index); | ~~^ ~~~~~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin_parser2.o pinyin_parser2.cpp In file included from pinyin_parser2.cpp:28: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o ngram_kyotodb.o ngram_kyotodb.cpp In file included from ngram_kyotodb.cpp:26: kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] 50 | static const char * empty_vbuf = (char *)UINTPTR_MAX; | ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_large_table3_kyotodb.o phrase_large_table3_kyotodb.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_large_table2_kyotodb.o chewing_large_table2_kyotodb.cpp In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the '< >' pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the '< >' pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:191:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 2]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:192:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 3]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:193:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 4]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:194:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 5]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:195:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 6]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:196:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 7]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:197:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 8]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:198:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 9]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:199:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 10]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:200:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 11]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:201:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 12]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:202:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 13]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:203:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 14]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:204:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 15]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:205:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 16]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:206:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' rm -f libstorage.a ar cru libstorage.a phrase_index.o phrase_large_table2.o phrase_large_table3.o ngram.o tag_utility.o chewing_key.o pinyin_parser2.o zhuyin_parser2.o phonetic_key_matrix.o chewing_large_table.o chewing_large_table2.o table_info.o ngram_kyotodb.o phrase_large_table3_kyotodb.o chewing_large_table2_kyotodb.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libstorage.a make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' Making all in lookup make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup.o lookup.cpp In file included from ../../src/storage/phrase_index.h:30, from lookup.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phonetic_lookup.o phonetic_lookup.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from phonetic_lookup.h:29, from phonetic_lookup.cpp:21: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from phonetic_lookup.h:118: phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ phonetic_lookup_heap.h:95:22: note: remove the '< >' phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_lookup.o phrase_lookup.cpp In file included from ../../src/storage/phrase_index.h:30, from phrase_lookup.cpp:24: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin_lookup2.o pinyin_lookup2.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from pinyin_lookup2.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' rm -f liblookup.a ar cru liblookup.a pinyin_lookup2.o phrase_lookup.o lookup.o phonetic_lookup.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblookup.a make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin_internal.o pinyin_internal.cpp In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from pinyin_internal.h:33, from pinyin_internal.cpp:1: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../src/lookup/phonetic_lookup.h:118, from pinyin_internal.h:43: ../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' rm -f libpinyin_internal.a ar cru libpinyin_internal.a pinyin_internal.o storage/libstorage.a lookup/liblookup.a ar: `u' modifier ignored since `D' is the default (see `U') ranlib libpinyin_internal.a make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin.lo pinyin.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c pinyin.cpp -fPIC -DPIC -o .libs/pinyin.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from pinyin_internal.h:33, from pinyin.cpp:27: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../src/lookup/phonetic_lookup.h:118, from pinyin_internal.h:43: ../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': pinyin.cpp:562:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 562 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp:507:9: warning: unused variable 'num' [-Wunused-variable] 507 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool pinyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': pinyin.cpp:606:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 606 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': pinyin.cpp:1226:17: warning: unused variable 'num' [-Wunused-variable] 1226 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'void _compute_frequency_of_items(pinyin_context_t*, phrase_token_t, pinyin::SingleGram*, CandidateVector)': pinyin.cpp:1614:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1614 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ pinyin.cpp: In function 'bool _prepend_longer_candidates(pinyin_instance_t*, CandidateVector)': pinyin.cpp:1701:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1701 | for (int i = 0; i < tokenarray->len; ++i) { | ~~^~~~~~~~~~~~~~~~~ pinyin.cpp:1694:9: warning: unused variable 'result' [-Wunused-variable] 1694 | int result = search_suggestion_with_matrix | ^~~~~~ pinyin.cpp:1696:9: warning: unused variable 'num' [-Wunused-variable] 1696 | int num = reduce_tokens(tokens, tokenarray, false); | ^~~ pinyin.cpp: In function 'bool _compute_phrase_length(pinyin_context_t*, CandidateVector)': pinyin.cpp:1776:15: warning: enumeration value 'LONGER_CANDIDATE' not handled in switch [-Wswitch] 1776 | switch(candidate->m_candidate_type) { | ^ pinyin.cpp: In function 'bool pinyin_guess_predicted_candidates(pinyin_instance_t*, const char*)': pinyin.cpp:2190:9: warning: unused variable 'result' [-Wunused-variable] 2190 | int result = context->m_phrase_table->search_suggestion | ^~~~~~ pinyin.cpp:2192:9: warning: unused variable 'num' [-Wunused-variable] 2192 | int num = reduce_tokens(phrase_tokens, tokenarray, false); | ^~~ pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': pinyin.cpp:2316:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 2316 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': pinyin.cpp:2396:9: warning: unused variable 'num' [-Wunused-variable] 2396 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': pinyin.cpp:2847:13: warning: unused variable 'retval' [-Wunused-variable] 2847 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28: pinyin.cpp: In function 'bool pinyin_get_character_offset(pinyin_instance_t*, const char*, size_t, size_t*)': pinyin.cpp:2962:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2962 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp: In function 'bool _remember_phrase_recur(pinyin_instance_t*, ChewingKeyVector, TokenVector, size_t, ucs4_t*, gint)': pinyin.cpp:3328:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3328 | if (cached_keys->len != phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp:3376:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3376 | if (cached_keys->len >= phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp: In function 'bool pinyin_remember_user_input(pinyin_instance_t*, const char*, gint)': pinyin.cpp:3429:28: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 3429 | if (cached_tokens->len != phrase_length) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/table_info.lo storage/table_info.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/table_info.cpp -fPIC -DPIC -o storage/.libs/table_info.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o zhuyin.lo zhuyin.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c zhuyin.cpp -fPIC -DPIC -o .libs/zhuyin.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from pinyin_internal.h:33, from zhuyin.cpp:25: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../src/lookup/phonetic_lookup.h:118, from pinyin_internal.h:43: ../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': zhuyin.cpp:482:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 482 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] 427 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool zhuyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': zhuyin.cpp:525:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 525 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': zhuyin.cpp:933:17: warning: unused variable 'num' [-Wunused-variable] 933 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'void _compute_frequency_of_items(zhuyin_context_t*, phrase_token_t, pinyin::SingleGram*, CandidateVector)': zhuyin.cpp:1238:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1238 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': zhuyin.cpp:1651:16: warning: unused variable 'len' [-Wunused-variable] 1651 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1658:16: warning: unused variable 'len' [-Wunused-variable] 1658 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1638:26: warning: unused variable 'context' [-Wunused-variable] 1638 | zhuyin_context_t * & context = instance->m_context; | ^~~~~~~ zhuyin.cpp:1641:25: warning: unused variable 'results' [-Wunused-variable] 1641 | NBestMatchResults & results = instance->m_nbest_results; | ^~~~~~~ zhuyin.cpp:1647:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 1647 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': zhuyin.cpp:1690:9: warning: unused variable 'num' [-Wunused-variable] 1690 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool _pre_compute_tokens(zhuyin_context_t*, TokenVector, ucs4_t*, size_t)': zhuyin.cpp:2078:13: warning: unused variable 'retval' [-Wunused-variable] 2078 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28: zhuyin.cpp: In function 'bool zhuyin_get_character_offset(zhuyin_instance_t*, const char*, size_t, size_t*)': zhuyin.cpp:2185:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2185 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/lookup.lo lookup/lookup.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/lookup.cpp -fPIC -DPIC -o lookup/.libs/lookup.o In file included from ../src/storage/phrase_index.h:30, from lookup/lookup.cpp:23: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_index.lo storage/phrase_index.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_index.cpp -fPIC -DPIC -o storage/.libs/phrase_index.o In file included from storage/phrase_index.h:30, from storage/phrase_index.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' storage/phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/phrase_index.cpp:541:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 541 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 542 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/zhuyin_parser2.lo storage/zhuyin_parser2.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/zhuyin_parser2.cpp -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o In file included from storage/zhuyin_parser2.cpp:27: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_large_table2.lo storage/phrase_large_table2.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_large_table2.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table2.o storage/phrase_large_table2.cpp:64:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 64 | PhraseIndexItem2(const ucs4_t phrase[], phrase_token_t token){ | ^ storage/phrase_large_table2.cpp:64:36: note: remove the '< >' storage/phrase_large_table2.cpp: In member function 'bool pinyin::PhraseLargeTable2::load_text(FILE*)': storage/phrase_large_table2.cpp:479:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 479 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 480 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_large_table.lo storage/chewing_large_table.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_large_table.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table.o In file included from storage/chewing_large_table.cpp:24: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' storage/chewing_large_table.cpp: In member function 'bool pinyin::ChewingLargeTable::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/chewing_large_table.cpp:676:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 676 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 677 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} storage/chewing_large_table.cpp:710:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 710 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ storage/chewing_large_table.cpp:711:73: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 711 | fprintf(stderr, "ChewingLargeTable::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 712 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phonetic_key_matrix.lo storage/phonetic_key_matrix.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phonetic_key_matrix.cpp -fPIC -DPIC -o storage/.libs/phonetic_key_matrix.o In file included from storage/chewing_large_table2.h:27, from storage/facade_chewing_table2.h:25, from storage/phonetic_key_matrix.h:27, from storage/phonetic_key_matrix.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' storage/phonetic_key_matrix.cpp: In function 'bool pinyin::dump_matrix(PhoneticKeyMatrix*)': storage/phonetic_key_matrix.cpp:330:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 330 | printf("Column:%ld:\n", index); | ~~^ ~~~~~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_key.lo storage/chewing_key.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_key.cpp -fPIC -DPIC -o storage/.libs/chewing_key.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_large_table3.lo storage/phrase_large_table3.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_large_table3.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3.o storage/phrase_large_table3.cpp: In member function 'bool pinyin::PhraseLargeTable3::load_text(FILE*)': storage/phrase_large_table3.cpp:135:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 135 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 136 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/phrase_lookup.lo lookup/phrase_lookup.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/phrase_lookup.cpp -fPIC -DPIC -o lookup/.libs/phrase_lookup.o In file included from ../src/storage/phrase_index.h:30, from lookup/phrase_lookup.cpp:24: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/phonetic_lookup.lo lookup/phonetic_lookup.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/phonetic_lookup.cpp -fPIC -DPIC -o lookup/.libs/phonetic_lookup.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from lookup/phonetic_lookup.h:29, from lookup/phonetic_lookup.cpp:21: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from lookup/phonetic_lookup.h:118: lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/tag_utility.lo storage/tag_utility.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/tag_utility.cpp -fPIC -DPIC -o storage/.libs/tag_utility.o In file included from storage/phrase_index.h:30, from storage/tag_utility.cpp:6: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/pinyin_lookup2.lo lookup/pinyin_lookup2.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/pinyin_lookup2.cpp -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from lookup/pinyin_lookup2.cpp:22: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/ngram.lo storage/ngram.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/ngram.cpp -fPIC -DPIC -o storage/.libs/ngram.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_large_table2.lo storage/chewing_large_table2.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_large_table2.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' storage/chewing_large_table2.cpp: In member function 'bool pinyin::ChewingLargeTable2::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/chewing_large_table2.cpp:122:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 122 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 123 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} storage/chewing_large_table2.cpp:156:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 156 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ storage/chewing_large_table2.cpp:157:74: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | fprintf(stderr, "ChewingLargeTable2::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 158 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/pinyin_parser2.lo storage/pinyin_parser2.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/pinyin_parser2.cpp -fPIC -DPIC -o storage/.libs/pinyin_parser2.o In file included from storage/pinyin_parser2.cpp:28: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/ngram_kyotodb.lo storage/ngram_kyotodb.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/ngram_kyotodb.cpp -fPIC -DPIC -o storage/.libs/ngram_kyotodb.o In file included from storage/ngram_kyotodb.cpp:26: storage/kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] 50 | static const char * empty_vbuf = (char *)UINTPTR_MAX; | ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_large_table3_kyotodb.lo storage/phrase_large_table3_kyotodb.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_large_table3_kyotodb.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3_kyotodb.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_large_table2_kyotodb.lo storage/chewing_large_table2_kyotodb.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_large_table2_kyotodb.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2_kyotodb.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2_kyotodb.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:191:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from storage/chewing_large_table2.h:26: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 2]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:192:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 3]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:193:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 4]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:194:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 5]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:195:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 6]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:196:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 7]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:197:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 8]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:198:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 9]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:199:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 10]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:200:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 11]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:201:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 12]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:202:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 13]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:203:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 14]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:204:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 15]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:205:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 16]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:206:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -Wl,--version-script=./libpinyin.ver -version-info 15:0 -o libpinyin.la -rpath /usr/lib storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_kyotodb.lo storage/phrase_large_table3_kyotodb.lo storage/chewing_large_table2_kyotodb.lo pinyin.lo -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/14/../../../crti.o /usr/lib/gcc/i586-alt-linux/14/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_kyotodb.o storage/.libs/phrase_large_table3_kyotodb.o storage/.libs/chewing_large_table2_kyotodb.o .libs/pinyin.o -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/i586-alt-linux/14 -L/usr/lib/gcc/i586-alt-linux/14/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/14/crtendS.o /usr/lib/gcc/i586-alt-linux/14/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libpinyin.ver -Wl,-soname -Wl,libpinyin.so.15 -o .libs/libpinyin.so.15.0.0 libtool: link: (cd ".libs" && rm -f "libpinyin.so.15" && ln -s "libpinyin.so.15.0.0" "libpinyin.so.15") libtool: link: (cd ".libs" && rm -f "libpinyin.so" && ln -s "libpinyin.so.15.0.0" "libpinyin.so") libtool: link: ( cd ".libs" && rm -f "libpinyin.la" && ln -s "../libpinyin.la" "libpinyin.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -Wl,--version-script=./libzhuyin.ver -version-info 15:0 -o libzhuyin.la -rpath /usr/lib storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_kyotodb.lo storage/phrase_large_table3_kyotodb.lo storage/chewing_large_table2_kyotodb.lo zhuyin.lo -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/14/../../../crti.o /usr/lib/gcc/i586-alt-linux/14/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_kyotodb.o storage/.libs/phrase_large_table3_kyotodb.o storage/.libs/chewing_large_table2_kyotodb.o .libs/zhuyin.o -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/i586-alt-linux/14 -L/usr/lib/gcc/i586-alt-linux/14/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/14/crtendS.o /usr/lib/gcc/i586-alt-linux/14/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libzhuyin.ver -Wl,-soname -Wl,libzhuyin.so.15 -o .libs/libzhuyin.so.15.0.0 libtool: link: (cd ".libs" && rm -f "libzhuyin.so.15" && ln -s "libzhuyin.so.15.0.0" "libzhuyin.so.15") libtool: link: (cd ".libs" && rm -f "libzhuyin.so" && ln -s "libzhuyin.so.15.0.0" "libzhuyin.so") libtool: link: ( cd ".libs" && rm -f "libzhuyin.la" && ln -s "../libzhuyin.la" "libzhuyin.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making all in tests Making all in include make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_memory_chunk.o test_memory_chunk.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_memory_chunk.cpp:2: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' test_memory_chunk.cpp: In function 'int main(int, char**)': test_memory_chunk.cpp:14:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d test_memory_chunk.cpp:21:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 21 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d test_memory_chunk.cpp:30:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 30 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_index_logger.o test_phrase_index_logger.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_index_logger.cpp:21: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_ngram.o test_ngram.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_ngram.cpp:2: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_parser2.o test_parser2.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_parser2.cpp:32: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_index.o test_phrase_index.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_index.cpp:4: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_table.o test_phrase_table.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_table.cpp:7: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' test_phrase_table.cpp: In function 'int main(int, char**)': test_phrase_table.cpp:67:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 67 | for (i = 1; i < phrase_len; ++i) { | ~~^~~~~~~~~~~~ test_phrase_table.cpp:71:68: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | printf("return continued information with length:%ld\n", i); | ~~^ ~ | | | | | size_t {aka unsigned int} | long int | %d ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_chewing_table.o test_chewing_table.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_chewing_table.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' test_chewing_table.cpp: In function 'int main(int, char**)': test_chewing_table.cpp:98:68: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 98 | printf("return continued information with length:%ld\n", i); | ~~^ ~ | | | | | size_t {aka unsigned int} | long int | %d ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_table_info.o test_table_info.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_table_info.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_matrix.o test_matrix.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_matrix.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' test_matrix.cpp: In function 'int main(int, char**)': test_matrix.cpp:153:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("search index: start %ld\t end %ld\n", i, j); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d test_matrix.cpp:153:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("search index: start %ld\t end %ld\n", i, j); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_flexible_ngram.o test_flexible_ngram.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_flexible_ngram.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' Making all in lookup make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_lookup.o test_phrase_lookup.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_lookup.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_pinyin_lookup.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' test_pinyin_lookup.cpp: In function 'int main(int, char**)': test_pinyin_lookup.cpp:124:31: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 124 | printf("pos:%ld,token:%d\t", j, *token); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_chewing.o test_chewing.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_pinyin.o test_pinyin.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_zhuyin.o test_zhuyin.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase.o test_phrase.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_zhuyin test_zhuyin.o ../src/libzhuyin.la -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_zhuyin test_zhuyin.o ../src/.libs/libzhuyin.so -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_chewing test_chewing.o ../src/libpinyin.la -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_chewing test_chewing.o ../src/.libs/libpinyin.so -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_pinyin test_pinyin.o ../src/libpinyin.la -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_pinyin test_pinyin.o ../src/.libs/libpinyin.so -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase test_phrase.o ../src/libpinyin.la -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_phrase test_phrase.o ../src/.libs/libpinyin.so -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making all in utils Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o export_interpolation.o export_interpolation.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from export_interpolation.cpp:25: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' export_interpolation.cpp: In function 'bool gen_unigram(FILE*, pinyin::FacadePhraseIndex*)': export_interpolation.cpp:98:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 98 | fprintf(output, "\\item %d %s count %ld\n", token, phrase, freq); | ~~^ ~~~~ | | | | long int size_t {aka unsigned int} | %d ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_binary_files.o gen_binary_files.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_binary_files.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_pinyin_table.o gen_pinyin_table.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_pinyin_table.cpp:24: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o import_interpolation.o import_interpolation.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from import_interpolation.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_zhuyin_table.o gen_zhuyin_table.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_zhuyin_table.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' gen_zhuyin_table.cpp: In function 'void gen_phrase_file(const char*, int)': gen_zhuyin_table.cpp:311:36: warning: variable 'key_rest' set but not used [-Wunused-but-set-variable] 311 | ChewingKeyRest key_rest = g_array_index | ^~~~~~~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' Making all in segment make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o ngseg.o ngseg.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from ngseg.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o mergeseq.o mergeseq.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from mergeseq.cpp:29: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' mergeseq.cpp: In function 'bool merge_sequence(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)': mergeseq.cpp:99:17: warning: unused variable 'num' [-Wunused-variable] 99 | int num = get_first_token(tokens, token); | ^~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o spseg.o spseg.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from spseg.cpp:29: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' spseg.cpp: In function 'bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)': spseg.cpp:93:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 93 | for ( glong i = 0; i < phrase_len + 1; ++i ){ | ~~^~~~~~~~~~~~~~~~ spseg.cpp:104:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 104 | for ( glong i = 0; i < phrase_len + 1; ++i ) { | ~~^~~~~~~~~~~~~~~~ spseg.cpp:107:34: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 107 | for ( glong k = i + 1; k < phrase_len + 1; ++k ) { | ~~^~~~~~~~~~~~~~~~ spseg.cpp:114:17: warning: unused variable 'num' [-Wunused-variable] 114 | int num = get_first_token(tokens, token); | ^~~ spseg.cpp: In function 'bool deal_with_segmentable(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, FILE*)': spseg.cpp:177:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 177 | for ( glong i = 0; i < strings->len; ++i ) { | ~~^~~~~~~~~~~~~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' Making all in training make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_unigram.o gen_unigram.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_unigram.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from k_mixture_model_to_interpolation.cpp:25: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_deleted_ngram.o gen_deleted_ngram.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_deleted_ngram.cpp:30: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_ngram.o gen_ngram.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_ngram.cpp:30: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o estimate_interpolation.o estimate_interpolation.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from estimate_interpolation.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' estimate_interpolation.cpp: In function 'parameter_t compute_interpolation(pinyin::SingleGram*, pinyin::FacadePhraseIndex*, pinyin::SingleGram*)': estimate_interpolation.cpp:33:10: warning: unused variable 'success' [-Wunused-variable] 33 | bool success; | ^~~~~~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o eval_correction_rate.o eval_correction_rate.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from eval_correction_rate.cpp:26: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from merge_k_mixture_model.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o import_k_mixture_model.o import_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from import_k_mixture_model.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from validate_k_mixture_model.cpp:21: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from estimate_k_mixture_model.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' estimate_k_mixture_model.cpp: In function 'parameter_t compute_interpolation(pinyin::KMixtureModelSingleGram*, pinyin::KMixtureModelBigram*, pinyin::KMixtureModelSingleGram*)': estimate_k_mixture_model.cpp:39:10: warning: unused variable 'success' [-Wunused-variable] 39 | bool success; | ^~~~~~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o export_k_mixture_model.o export_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from export_k_mixture_model.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_k_mixture_model.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' gen_k_mixture_model.cpp: In function 'void train_word_pair(HashofUnigram, pinyin::KMixtureModelSingleGram*, phrase_token_t, guint32)': gen_k_mixture_model.cpp:184:20: warning: comparison of integer expressions of different signedness: 'guint32' {aka 'unsigned int'} and 'gint' {aka 'int'} [-Wsign-compare] 184 | if ( count > g_maximum_occurs ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ gen_k_mixture_model.cpp: In function 'bool post_processing_unigram(pinyin::KMixtureModelBigram*, HashofUnigram)': gen_k_mixture_model.cpp:302:14: warning: unused variable 'result' [-Wunused-variable] 302 | bool result = bigram->get_array_header(token, array_header); | ^~~~~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o prune_k_mixture_model.o prune_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from prune_k_mixture_model.cpp:26: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' prune_k_mixture_model.cpp: In function 'bool prune_k_mixture_model(pinyin::KMixtureModelMagicHeader*, pinyin::KMixtureModelSingleGram*&, pinyin::FlexibleBigramPhraseArray)': prune_k_mixture_model.cpp:48:10: warning: unused variable 'success' [-Wunused-variable] 48 | bool success; | ^~~~~~~ ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -lkyotocabinet In function 'memmove', inlined from 'ensure_has_more_space' at ../../src/include/memory_chunk.h:108:20, inlined from 'ensure_has_space' at ../../src/include/memory_chunk.h:93:31, inlined from 'set_size' at ../../src/include/memory_chunk.h:222:25, inlined from 'set_magic_header' at ../../src/storage/flexible_ngram_kyotodb.h:338:25, inlined from 'main' at gen_k_mixture_model.cpp:391:9: /usr/include/bits/string_fortified.h:36:34: warning: '__builtin___memmove_chk' specified bound between 2147483665 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' rm -f phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin ../utils/storage/gen_binary_files --table-dir ../data ../utils/storage/import_interpolation --table-dir ../data < ../data/interpolation2.text ../utils/training/gen_unigram --table-dir ../data make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' Making all in doc make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.96804 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libpinyin-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libpinyin-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd libpinyin-2.8.1 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/libpinyin-buildroot make: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making install in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' /usr/libexec/rpm-build/install -p -m 644 novel_types.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' /usr/libexec/rpm-build/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' Making install in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/lib' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libpinyin.la libzhuyin.la '/usr/src/tmp/libpinyin-buildroot/usr/lib' libtool: install: /usr/libexec/rpm-build/install -p .libs/libpinyin.so.15.0.0 /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.so.15.0.0 libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libpinyin.so.15.0.0 libpinyin.so.15 || { rm -f libpinyin.so.15 && ln -s libpinyin.so.15.0.0 libpinyin.so.15; }; }) libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libpinyin.so.15.0.0 libpinyin.so || { rm -f libpinyin.so && ln -s libpinyin.so.15.0.0 libpinyin.so; }; }) libtool: install: /usr/libexec/rpm-build/install -p .libs/libpinyin.lai /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.la libtool: install: /usr/libexec/rpm-build/install -p .libs/libzhuyin.so.15.0.0 /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.so.15.0.0 libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libzhuyin.so.15.0.0 libzhuyin.so.15 || { rm -f libzhuyin.so.15 && ln -s libzhuyin.so.15.0.0 libzhuyin.so.15; }; }) libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libzhuyin.so.15.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.15.0.0 libzhuyin.so; }; }) libtool: install: /usr/libexec/rpm-build/install -p .libs/libzhuyin.lai /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' /usr/libexec/rpm-build/install -p -m 644 pinyin.h zhuyin.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making install in tests make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making install in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' Making install in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making install in utils make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /usr/libexec/rpm-build/install -p gen_binary_files import_interpolation '/usr/src/tmp/libpinyin-buildroot/usr/bin' libtool: install: /usr/libexec/rpm-build/install -p gen_binary_files /usr/src/tmp/libpinyin-buildroot/usr/bin/gen_binary_files libtool: install: /usr/libexec/rpm-build/install -p import_interpolation /usr/src/tmp/libpinyin-buildroot/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' Making install in segment make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' Making install in training make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /usr/libexec/rpm-build/install -p gen_unigram '/usr/src/tmp/libpinyin-buildroot/usr/bin' libtool: install: /usr/libexec/rpm-build/install -p gen_unigram /usr/src/tmp/libpinyin-buildroot/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin/data' /usr/libexec/rpm-build/install -p -m 644 phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin table.conf '/usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin/data' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' Making install in doc make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/share/man/man1' /usr/libexec/rpm-build/install -p -m 644 libpinyin.1 '/usr/src/tmp/libpinyin-buildroot/usr/share/man/man1' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/lib/pkgconfig' /usr/libexec/rpm-build/install -p -m 644 libpinyin.pc libzhuyin.pc '/usr/src/tmp/libpinyin-buildroot/usr/lib/pkgconfig' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' + find /usr/src/tmp/libpinyin-buildroot -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libpinyin-buildroot (auto) mode of './usr/lib/libpinyin.so.15.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libzhuyin.so.15.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libpinyin-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/libpinyin.pc: Libs: '-L${libdir} -lpinyin' --> '-lpinyin' /usr/lib/pkgconfig/libzhuyin.pc: Libs: '-L${libdir} -lzhuyin' --> '-lzhuyin' Checking contents of files in /usr/src/tmp/libpinyin-buildroot/ (default) Compressing files in /usr/src/tmp/libpinyin-buildroot (auto) Adjusting library links in /usr/src/tmp/libpinyin-buildroot ./usr/lib: (from :0) libzhuyin.so.15 -> libzhuyin.so.15.0.0 libpinyin.so.15 -> libpinyin.so.15.0.0 Verifying ELF objects in /usr/src/tmp/libpinyin-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libpinyin.so.15.0.0: uses non-LFS functions: fopen lseek mmap open verify-elf: WARNING: ./usr/lib/libzhuyin.so.15.0.0: uses non-LFS functions: fopen lseek mmap open verify-elf: WARNING: ./usr/bin/gen_binary_files: uses non-LFS functions: fopen open verify-elf: WARNING: ./usr/bin/import_interpolation: uses non-LFS functions: fopen lseek open verify-elf: WARNING: ./usr/bin/gen_unigram: uses non-LFS functions: fopen lseek open Splitting links to aliased files under /{,s}bin in /usr/src/tmp/libpinyin-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.82240 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.8.1 + make check make: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' Making check in src make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making check in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' Making check in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making check in tests make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making check in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make check-TESTS make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[4]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.8.1 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make check-TESTS make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[4]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.8.1 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' Making check in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making check in utils make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' Making check in segment make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' Making check in training make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making check in data make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' Making check in doc make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' + exit 0 Processing files: libpinyin-2.8.1-alt1_5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.82240 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.8.1 + DOCDIR=/usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + export DOCDIR + rm -rf /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + /bin/mkdir -p /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + cp -prL AUTHORS COPYING README /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + chmod -R go-w /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + chmod -R a+rX /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b68OuP find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) lib.prov: /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.so.15: 74 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B32g0J find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpinyin.so.15 = set:kdcBGTZi2d9h5sJWCLu7kodQR47ca6yFjkf2e8rrx284HGo8Z2EE2wrbL8Qne3l8OeXmSPCcnHBk3sHgRSdEFpQbt2LzBihB1ys5d4H5RvFAQbUuEY0uA5dYGZnlpZgc9DOI19JT1vrHljbcizcp7DilW91, libpinyin.so.15(LIBPINYIN) Requires: libpinyin-data = 2.8.1-alt1_5, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglib-2.0.so.0 >= set:oifwKSvNHACiSm7f0KqCb14oGZ4ZK3NJn7OQ0v972X5Q6HVaKMlqMJFjZ1avlyybmcZwzRIg8CXWg1LBFC5CGy9D42CTcA7b7, libkyotocabinet.so.16 >= set:ohwDZ0Pc3AkD4xkIH8UOiRwKqFBidXhbL11ar6dVZukE1FQNE5wGm5SWEIQDWZjlxRvWx2abRFOzSDGHLZgN74sHp1uxiokTz4yqX4q7Yfuei18QKcsXqErDachunUhHGvn6RcXxIDPkLuyyVK3Nmnl9OkGkx3AOsbFMwFZ461e5RDQyUSMBMBRGl2M4J1, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.15), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.32), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.v0gjqq Creating libpinyin-debuginfo package Processing files: libpinyin-devel-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZPP1xX find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sDehMB find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libzhuyin-devel = 2.8.1-alt1_5, pkgconfig(libpinyin) = 2.8.1, pkgconfig(libzhuyin) = 2.8.1 Requires: libpinyin = 2.8.1-alt1_5, libzhuyin = 2.8.1-alt1_5, /usr/lib/libpinyin.so.15.0.0, /usr/lib/libzhuyin.so.15.0.0, /usr/lib/pkgconfig, glib2-devel, pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.8.1-alt1_5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D0zzsK Processing files: libpinyin-data-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7dwLy8 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Cnum4Y find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: libpinyin = 2.8.1-alt1_5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.91pety Processing files: libpinyin-tools-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WDdFnx find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7l40Lv find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: libpinyin = 2.8.1-alt1_5, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglib-2.0.so.0 >= set:oifwKZg4vgXidZJbQfCLZJ00UDnZlQlIQDQlNxCyH97OktVLwifDxhPDQdJkbUadN6TCeR7GfSggaA0HWd3uGVz88O2vHmxgcQG7DxgxFGoOLGn0LZm, libkyotocabinet.so.16 >= set:ohwDZ0Pc3AkD4xkIH8UOiRwKqFBidXhbL11ar6dVZukE1FQNE5wGm5SWEIQDWZjlxRvWx2abRFOzSDGHLZgN74sHp1uxiokTz4yqX4q7Yfuei18QKcsXqErDachunUhHGvn6RcXxIDPkLuyyVK3Nmnl9OkGkx3AOsbFMwFZ461e5RDQyUSMBMBRGl2M4J1, libm.so.6(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.15), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.32), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CBSlGg Creating libpinyin-tools-debuginfo package Processing files: libzhuyin-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WnND6q find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) lib.prov: /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.so.15: 52 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Kc4x9t find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libzhuyin.so.15 = set:jdZhZ1SIbBBjeBSiW0OJtj54xjC1Z2iDQXReqhBDNQ6EmZohwpDYdpqK02awG68dAhNuuhZ3xk1bZhJBe5RsqAx7nRzEPurRyPK4AiNRex2, libzhuyin.so.15(LIBZHUYIN) Requires: libpinyin = 2.8.1-alt1_5, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglib-2.0.so.0 >= set:oifwKZg4vgraprtY8lb0uB3wQTnZK3NJn7OQ0v972X5Q6HVaKMlqMJFjZ1avli2IGTc4PfcmP2xoKH35YmCqmoGaCsi8ouPguIs, libkyotocabinet.so.16 >= set:ohwDZ0Pc3AkD4xkIH8UOiRwKqFBidXhbL11ar6dVZukE1FQNE5wGm5SWEIQDWZjlxRvWx2abRFOzSDGHLZgN74sHp1uxiokTz4yqX4q7Yfuei18QKcsXqErDachunUhHGvn6RcXxIDPkLuyyVK3Nmnl9OkGkx3AOsbFMwFZ461e5RDQyUSMBMBRGl2M4J1, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.15), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.32), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NEWMbs Creating libzhuyin-debuginfo package Processing files: libpinyin-debuginfo-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8Acfg1 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7MZZhV find-requires: running scripts (debuginfo) Provides: debug(libpinyin.so.15) Requires: libpinyin = 2.8.1-alt1_5, debug(libc.so.6), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libkyotocabinet.so.16), debug(libm.so.6), debug(libstdc++.so.6) Processing files: libpinyin-tools-debuginfo-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.p1rAZc find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DLj3hl find-requires: running scripts (debuginfo) Requires: libpinyin-tools = 2.8.1-alt1_5, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libkyotocabinet.so.16), debug(libm.so.6), debug(libstdc++.so.6) Processing files: libzhuyin-debuginfo-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JBc8sL find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9P4OEy find-requires: running scripts (debuginfo) Provides: debug(libzhuyin.so.15) Requires: libzhuyin = 2.8.1-alt1_5, debug(libc.so.6), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libkyotocabinet.so.16), debug(libm.so.6), debug(libstdc++.so.6) Adding to libpinyin-devel a strict dependency on libpinyin Adding to libpinyin a strict dependency on libpinyin-data Adding to libpinyin-data a strict dependency on libpinyin Adding to libpinyin-tools a strict dependency on libpinyin Adding to libzhuyin a strict dependency on libpinyin Adding to libpinyin-debuginfo a strict dependency on libpinyin Adding to libpinyin-devel a strict dependency on libzhuyin Adding to libpinyin-tools-debuginfo a strict dependency on libpinyin-tools Adding to libzhuyin-debuginfo a strict dependency on libzhuyin Adding to libpinyin-tools-debuginfo a strict dependency on libpinyin-debuginfo Removing from libpinyin-tools-debuginfo 37 sources provided by libpinyin-debuginfo also prunning dir /usr/src/debug/libpinyin-2.8.1/src/include also prunning dir /usr/src/debug/libpinyin-2.8.1/src/lookup Adding to libzhuyin-debuginfo a strict dependency on libpinyin-debuginfo Removing from libzhuyin-debuginfo 55 sources provided by libpinyin-debuginfo also prunning dir /usr/src/debug/libpinyin-2.8.1/src/include also prunning dir /usr/src/debug/libpinyin-2.8.1/src/lookup also prunning dir /usr/src/debug/libpinyin-2.8.1/src/storage Removing 1 extra deps from libpinyin-devel due to dependency on libpinyin Removing 1 extra deps from libpinyin-devel due to dependency on libzhuyin Removing 20 extra deps from libpinyin-tools due to repentancy on libpinyin Removing 21 extra deps from libzhuyin due to repentancy on libpinyin Removing 1 extra deps from libpinyin-devel due to repentancy on libzhuyin Removing 6 extra deps from libpinyin-tools-debuginfo due to repentancy on libpinyin-debuginfo Removing 6 extra deps from libzhuyin-debuginfo due to repentancy on libpinyin-debuginfo Wrote: /usr/src/RPM/RPMS/i586/libpinyin-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-devel-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-data-2.8.1-alt1_5.i586.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-tools-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libzhuyin-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-debuginfo-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-tools-debuginfo-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libzhuyin-debuginfo-2.8.1-alt1_5.i586.rpm (w2.lzdio) 674.99user 53.25system 2:58.45elapsed 408%CPU (0avgtext+0avgdata 355860maxresident)k 0inputs+0outputs (0major+10261520minor)pagefaults 0swaps 4.03user 3.00system 3:14.66elapsed 3%CPU (0avgtext+0avgdata 131812maxresident)k 800inputs+0outputs (0major+228145minor)pagefaults 0swaps --- libpinyin-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:37:59.627037178 +0000 @@ -15,3 +15,2 @@ Requires: libgcc_s.so.1(GCC_3.3.1) -Requires: libgcc_s.so.1(GLIBC_2.0) Requires: libglib-2.0.so.0 >= set:oifwKSvNHACiSm7f0KqCb14oGZ4ZK3NJn7OQ0v972X5Q6HVaKMlqMJFjZ1avlyybmcZwzRIg8CXWg1LBFC5CGy9D42CTcA7b7 @@ -22,2 +21,3 @@ Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.15) Requires: libstdc++.so.6(CXXABI_1.3.8) @@ -36,3 +36,3 @@ File: /usr/lib/libpinyin.so.15 120777 root:root libpinyin.so.15.0.0 -File: /usr/lib/libpinyin.so.15.0.0 100644 root:root d7f3e165596a5a1053696d6f27fffce3 +File: /usr/lib/libpinyin.so.15.0.0 100644 root:root 441893746f23bc581d6dce92e7c125a9 File: /usr/share/doc/libpinyin-2.8.1 40755 root:root @@ -41,2 +41,2 @@ File: /usr/share/doc/libpinyin-2.8.1/README 100644 root:root 66599c9cfc80e47e4babe1babec0c96e -RPMIdentity: c964b16dee1c4145fc88ab91a9d94c0a4c2d09b6f1a8af8d0dd3bf41240486e3251bd129f049c7b950b2798ebb0694c8e025c516b75cea78a002527f5e223df3 +RPMIdentity: 2c5d9581f266f88e55d215ff5c6d067d386a24a401724fcfdda8c6148cdae5b0e71c950597428ccd98805d18cfbb73cb016419ba45ef8386313eb6a53ff14386 --- libpinyin-data-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-data-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:37:59.700038495 +0000 @@ -28,3 +28,3 @@ File: /usr/lib/libpinyin/data/addon_phrase_index.bin 100644 root:root f4a28d14157d138afbebcb89cddac792 -File: /usr/lib/libpinyin/data/addon_pinyin_index.bin 100644 root:root 12c5302934f700e7927f65f534862d2b +File: /usr/lib/libpinyin/data/addon_pinyin_index.bin 100644 root:root cc6652956d7b8517ea27cd5786770d51 File: /usr/lib/libpinyin/data/art.bin 100644 root:root ab205ffe4223d7f4868dcfb51c83b18e @@ -43,3 +43,3 @@ File: /usr/lib/libpinyin/data/phrase_index.bin 100644 root:root 900a383c94de40a779652c63418a1d02 -File: /usr/lib/libpinyin/data/pinyin_index.bin 100644 root:root c31fef39e3c6c79371f800087cb6aea1 +File: /usr/lib/libpinyin/data/pinyin_index.bin 100644 root:root 45d1419320304189cfddd918722b9009 File: /usr/lib/libpinyin/data/science.bin 100644 root:root 9b602abff28398ac0a8c0bc22bc54b44 @@ -49,2 +49,2 @@ File: /usr/lib/libpinyin/data/technology.bin 100644 root:root fabebfbad08828cb7e601a759b572c87 -RPMIdentity: 78a2ca25e6beb51d24374ff941473b06ebccff040e726e1befc70417789178bb71942dd9f66e7a148e876a3c1244307bba3a77c0a467a89de3cb3a26f319e86c +RPMIdentity: 7795024209469ccf927ad40518c620e42e58b93b5e6ea6cd7df87f99ade4247e605336a65cb68115f0e5b6858ec2779080e093869d9fcbf085fce477d325820b --- libpinyin-debuginfo-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:28.000000000 +0000 +++ libpinyin-debuginfo-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:37:59.779039919 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/8e 40755 root:root -/usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca 120777 root:root ../../../libpinyin.so.15.0.0 -/usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug +/usr/lib/debug/.build-id/20 40755 root:root +/usr/lib/debug/.build-id/20/091c8f6371ab024ddde9cd7e1ef9443a91c92a 120777 root:root ../../../libpinyin.so.15.0.0 +/usr/lib/debug/.build-id/20/091c8f6371ab024ddde9cd7e1ef9443a91c92a.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug /usr/lib/debug/usr/lib/libpinyin.so.15.0.0.debug 100644 root:root @@ -77,6 +77,6 @@ Provides: libpinyin-debuginfo = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/lib/debug/.build-id/8e 40755 root:root -File: /usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca 120777 root:root ../../../libpinyin.so.15.0.0 -File: /usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug -File: /usr/lib/debug/usr/lib/libpinyin.so.15.0.0.debug 100644 root:root 7973dcc3fb812da0802ca2aff813e0ac +File: /usr/lib/debug/.build-id/20 40755 root:root +File: /usr/lib/debug/.build-id/20/091c8f6371ab024ddde9cd7e1ef9443a91c92a 120777 root:root ../../../libpinyin.so.15.0.0 +File: /usr/lib/debug/.build-id/20/091c8f6371ab024ddde9cd7e1ef9443a91c92a.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug +File: /usr/lib/debug/usr/lib/libpinyin.so.15.0.0.debug 100644 root:root a15728d7ab912a6b3849ccfa0e48e845 File: /usr/lib/debug/usr/lib/libpinyin.so.15.debug 120777 root:root libpinyin.so.15.0.0.debug @@ -144,2 +144,2 @@ File: /usr/src/debug/libpinyin-2.8.1/src/storage/zhuyin_table.h 100644 root:root eea9f724c55e54669fad41821176e683 -RPMIdentity: aedf07baac164a97d1162fa3d488087f51395329714b8b2d5d637c5812dd00622dfa46035033d506c80f040652f6096cd634b5dfa3fd7b974ccd38bc6321cbf8 +RPMIdentity: 4843f84aa71ab691d6f9ab6dbd4572ee1d5d355feef8950d709f39bda1ae1030c521ff4d3acd728ac61e65ba8a8787406848c31be766fa9ed2204f0f2e623b1d --- libpinyin-tools-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-tools-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:37:59.927042589 +0000 @@ -10,6 +10,6 @@ Provides: libpinyin-tools = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/bin/gen_binary_files 100755 root:root abd4d3832d6ec3e260445ea28fef2de3 -File: /usr/bin/gen_unigram 100755 root:root 160b6c216c1f5ae31f7694b465f0fa91 -File: /usr/bin/import_interpolation 100755 root:root ddf94ad08d6fda7bd636680f094ee065 +File: /usr/bin/gen_binary_files 100755 root:root b4f1f6efdaef2632a6d1bd130e7b0184 +File: /usr/bin/gen_unigram 100755 root:root 4771a34326c69a7defd632a5fa4a5e5a +File: /usr/bin/import_interpolation 100755 root:root 91a0955186bbea3a03a188605e4d24c0 File: /usr/share/man/man1/libpinyin.1.xz 100644 root:root 123bc41968ca973f6d3dd5ee974addfc -RPMIdentity: c55c2fb50d651d7055ddfd87fa07ad88e70b334503c50432e2ada58d76e9ed89d9d43ca29f1b1a787d47ab29e280c91cb5201f87ae6db229086312d040cb70e5 +RPMIdentity: 71ba916c547c0a5c0e29ae3d21dc40fdae68ef5fce8b62db204a5afcb77f236e3087518afdb0e87a090ed3b2b24283df96b531a3e7809a9f6831d01132732896 --- libpinyin-tools-debuginfo-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-tools-debuginfo-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:38:00.007044031 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/1d 40755 root:root -/usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c 120777 root:root ../../../../bin/import_interpolation -/usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c.debug 120777 root:root ../../usr/bin/import_interpolation.debug -/usr/lib/debug/.build-id/2c 40755 root:root -/usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9 120777 root:root ../../../../bin/gen_binary_files -/usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9.debug 120777 root:root ../../usr/bin/gen_binary_files.debug -/usr/lib/debug/.build-id/c9 40755 root:root -/usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e 120777 root:root ../../../../bin/gen_unigram -/usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e.debug 120777 root:root ../../usr/bin/gen_unigram.debug +/usr/lib/debug/.build-id/04 40755 root:root +/usr/lib/debug/.build-id/04/fb5dea575fee91c3349a9f0b20f2e2069d9055 120777 root:root ../../../../bin/import_interpolation +/usr/lib/debug/.build-id/04/fb5dea575fee91c3349a9f0b20f2e2069d9055.debug 120777 root:root ../../usr/bin/import_interpolation.debug +/usr/lib/debug/.build-id/90 40755 root:root +/usr/lib/debug/.build-id/90/b9ee8b02170f2570055df2ed19f0814a4c5ccc 120777 root:root ../../../../bin/gen_binary_files +/usr/lib/debug/.build-id/90/b9ee8b02170f2570055df2ed19f0814a4c5ccc.debug 120777 root:root ../../usr/bin/gen_binary_files.debug +/usr/lib/debug/.build-id/98 40755 root:root +/usr/lib/debug/.build-id/98/289efdeebbb5cfe824872d8db6357a8d34301d 120777 root:root ../../../../bin/gen_unigram +/usr/lib/debug/.build-id/98/289efdeebbb5cfe824872d8db6357a8d34301d.debug 120777 root:root ../../usr/bin/gen_unigram.debug /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root @@ -28,14 +28,14 @@ Provides: libpinyin-tools-debuginfo = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/lib/debug/.build-id/1d 40755 root:root -File: /usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c 120777 root:root ../../../../bin/import_interpolation -File: /usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c.debug 120777 root:root ../../usr/bin/import_interpolation.debug -File: /usr/lib/debug/.build-id/2c 40755 root:root -File: /usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9 120777 root:root ../../../../bin/gen_binary_files -File: /usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9.debug 120777 root:root ../../usr/bin/gen_binary_files.debug -File: /usr/lib/debug/.build-id/c9 40755 root:root -File: /usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e 120777 root:root ../../../../bin/gen_unigram -File: /usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e.debug 120777 root:root ../../usr/bin/gen_unigram.debug -File: /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root a4a640736f8e134eb04e32903c7bd36d -File: /usr/lib/debug/usr/bin/gen_unigram.debug 100644 root:root 92e30ee0a0958f4fa1e4ed64e3928c80 -File: /usr/lib/debug/usr/bin/import_interpolation.debug 100644 root:root 7cebea82272aed34360386b164cad8f7 +File: /usr/lib/debug/.build-id/04 40755 root:root +File: /usr/lib/debug/.build-id/04/fb5dea575fee91c3349a9f0b20f2e2069d9055 120777 root:root ../../../../bin/import_interpolation +File: /usr/lib/debug/.build-id/04/fb5dea575fee91c3349a9f0b20f2e2069d9055.debug 120777 root:root ../../usr/bin/import_interpolation.debug +File: /usr/lib/debug/.build-id/90 40755 root:root +File: /usr/lib/debug/.build-id/90/b9ee8b02170f2570055df2ed19f0814a4c5ccc 120777 root:root ../../../../bin/gen_binary_files +File: /usr/lib/debug/.build-id/90/b9ee8b02170f2570055df2ed19f0814a4c5ccc.debug 120777 root:root ../../usr/bin/gen_binary_files.debug +File: /usr/lib/debug/.build-id/98 40755 root:root +File: /usr/lib/debug/.build-id/98/289efdeebbb5cfe824872d8db6357a8d34301d 120777 root:root ../../../../bin/gen_unigram +File: /usr/lib/debug/.build-id/98/289efdeebbb5cfe824872d8db6357a8d34301d.debug 120777 root:root ../../usr/bin/gen_unigram.debug +File: /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root 1ef4034faa5a37c4f21f64a86876dab3 +File: /usr/lib/debug/usr/bin/gen_unigram.debug 100644 root:root a57c4d032cb992e55c7f246ac0f7d58b +File: /usr/lib/debug/usr/bin/import_interpolation.debug 100644 root:root bd8413eba57023e4963a2c83a08650fd File: /usr/src/debug/libpinyin-2.8.1 40755 root:root @@ -51,2 +51,2 @@ File: /usr/src/debug/libpinyin-2.8.1/utils/utils_helper.h 100644 root:root eeb95e82354fdfef3fd5ebf54f8b27d9 -RPMIdentity: 6a67da961d8fbc1dd1244a7b958ba8db297f3c4bdd270a7fa5bcdf2f7eeac08b3695e36819f95ceec0eef4137c553eff282260fcd3051d972d8aa03e0d47b7e5 +RPMIdentity: 675646c12850542425b68da0e13230534470020c2eb40323ef1a9cc471b3bb7c39fe257e08912c049bd0f7d9214deafcbb9e6792e90a2420ab7cd45594d28999 --- libzhuyin-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libzhuyin-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:38:00.070045167 +0000 @@ -9,3 +9,3 @@ File: /usr/lib/libzhuyin.so.15 120777 root:root libzhuyin.so.15.0.0 -File: /usr/lib/libzhuyin.so.15.0.0 100644 root:root 1bc4a8936e52add124e01e3111868c36 -RPMIdentity: ce1383dcb1a41696d51c97dda0c6e04b8fcf370a9807abe69869ee878011bd9e5cc972b1e1a5c05696cc83f4526cd2a0cb29c50cd88f66028d6699cd871b1821 +File: /usr/lib/libzhuyin.so.15.0.0 100644 root:root ececc412d8c33890c38a5e9238404292 +RPMIdentity: 86e2081b872203994f42dd64e9fa228e912b45afca09d2177222e98d599e8ded6bfa7330f3b6c1a966089081fdbe2ffb0160a733fa8fcfad0cbe63d666a8d40e --- libzhuyin-debuginfo-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:28.000000000 +0000 +++ libzhuyin-debuginfo-2.8.1-alt1_5.i586.rpm.hasher 2024-12-14 09:38:00.142046466 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/40 40755 root:root -/usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de 120777 root:root ../../../libzhuyin.so.15.0.0 -/usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug +/usr/lib/debug/.build-id/c9 40755 root:root +/usr/lib/debug/.build-id/c9/38fb098497f9011e2de027ee102c4f6bf35383 120777 root:root ../../../libzhuyin.so.15.0.0 +/usr/lib/debug/.build-id/c9/38fb098497f9011e2de027ee102c4f6bf35383.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug /usr/lib/debug/usr/lib/libzhuyin.so.15.0.0.debug 100644 root:root @@ -14,6 +14,6 @@ Provides: libzhuyin-debuginfo = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/lib/debug/.build-id/40 40755 root:root -File: /usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de 120777 root:root ../../../libzhuyin.so.15.0.0 -File: /usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug -File: /usr/lib/debug/usr/lib/libzhuyin.so.15.0.0.debug 100644 root:root e52e7eacea9a60469fd0967e3f5d868e +File: /usr/lib/debug/.build-id/c9 40755 root:root +File: /usr/lib/debug/.build-id/c9/38fb098497f9011e2de027ee102c4f6bf35383 120777 root:root ../../../libzhuyin.so.15.0.0 +File: /usr/lib/debug/.build-id/c9/38fb098497f9011e2de027ee102c4f6bf35383.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug +File: /usr/lib/debug/usr/lib/libzhuyin.so.15.0.0.debug 100644 root:root 48fcd4e6c3944fbcbda69a87fc197f6e File: /usr/lib/debug/usr/lib/libzhuyin.so.15.debug 120777 root:root libzhuyin.so.15.0.0.debug @@ -23,2 +23,2 @@ File: /usr/src/debug/libpinyin-2.8.1/src/zhuyin.h 100644 root:root c0408220d79bdda81a8e3e2f0bb26061 -RPMIdentity: 6ddf55c10fe3164f99a3de541dd85745e2d8a28f500347fd1228a7bb8ae6dab497d3d662074e1bf024a193fdea9ad27c8b9e19886e1a683f68d789641dbfbd29 +RPMIdentity: ea63cefe80bcd54a5d42e454ebacfbeddc415475af8e8aed9becc454760144c3cffd7698f2d571762ed208bedef41881c49ccde919392145ba6cc25fa77aff48