Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scim-fcitx.spec'], chrootPath='/var/lib/mock/f33-build-139734-42366/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scim-fcitx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/scim-fcitx-3.1.1-30.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scim-fcitx.spec'], chrootPath='/var/lib/mock/f33-build-139734-42366/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scim-fcitx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4hhbcO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fcitx + /usr/bin/bzip2 -dc /builddir/build/SOURCES/scim-fcitx.3.1.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fcitx + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scim-fcitx-3.1.1-gcc43.patch):' Patch #0 (scim-fcitx-3.1.1-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc43 --fuzz=0 patching file src/scim_fcitx_imengine.cpp patching file src/sp.cpp patching file src/ime.cpp Patch #1 (scim-fcitx-3.1.1-gcc47.patch): + echo 'Patch #1 (scim-fcitx-3.1.1-gcc47.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc47 --fuzz=0 patching file src/tools.cpp patching file src/sp.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PKRzpN + umask 022 + cd /builddir/build/BUILD + cd fcitx + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes 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 for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for an ANSI C-conforming const... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib include ld.so.conf.d/*.conf checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen in -ldl... (cached) yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for riscv64-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for an ANSI C-conforming const... (cached) yes checking for size_t... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for SCIM_CFLAGS... -I/usr/include/scim-1.0 checking for SCIM_LIBS... -lscim-1.0 checking for ANSI C header files... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating tools/Makefile config.status: creating icons/Makefile config.status: creating scim-fcitx.spec config.status: creating config.h config.status: executing depfiles commands + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/fcitx' Making all in src make[2]: Entering directory '/builddir/build/BUILD/fcitx/src' /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-scim_fcitx_imengine.lo `test -f 'scim_fcitx_imengine.cpp' || echo './'`scim_fcitx_imengine.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c scim_fcitx_imengine.cpp -fPIC -DPIC -o .libs/fcitx_la-scim_fcitx_imengine.o In file included from scim_fcitx_imengine.cpp:40: scim_fcitx_imengine.h: In constructor 'FcitxInstance::FcitxInstance(FcitxFactory*, const String&, int)': scim_fcitx_imengine.h:104:27: warning: 'FcitxInstance::m_lock_property' will be initialized after [-Wreorder] 104 | Property m_lock_property; | ^~~~~~~~~~~~~~~ scim_fcitx_imengine.h:91:23: warning: 'bool FcitxInstance::m_unicode' [-Wreorder] 91 | bool m_unicode; | ^~~~~~~~~ scim_fcitx_imengine.cpp:224:1: warning: when initialized here [-Wreorder] 224 | FcitxInstance::FcitxInstance (FcitxFactory *factory, | ^~~~~~~~~~~~~ scim_fcitx_imengine.cpp: In member function 'void FcitxInstance::DisplayInputWindow()': scim_fcitx_imengine.cpp:261:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 261 | for (int i=0; istrlen(messageUp[i].strMsg)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scim_fcitx_imengine.cpp:278:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 278 | else if (iCurTmp iCounter) | ~~~~~^~~~~~~~~~ py.cpp: In function 'int LoadPYOtherDict()': py.cpp:231:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 231 | if (iLen > iCounter) | ~~~~~^~~~~~~~~~ py.cpp:255:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 255 | if (iLen > iCounter) | ~~~~~^~~~~~~~~~ py.cpp:287:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 287 | for (i = 0; i < iPYFreqCount; i++) { | ~~^~~~~~~~~~~~~~ py.cpp:300:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 300 | for (k = 0; k < pyFreqTemp->iCount; k++) { | ~~^~~~~~~~~~~~~~~~~~~~ py.cpp: In function 'INPUT_RETURN_VALUE DoPYInput(const scim::KeyEvent&)': py.cpp:430:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 430 | if (!key2.mask&&(iKey >= 'a' && iKey <= 'z') || iKey == PY_SEPERATOR || (bSP && bSP_UseSemicolon && iKey == ';')) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:451:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 451 | for (i = 0; i < iPYSelected; i++) | ~~^~~~~~~~~~~~~ py.cpp:486:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 486 | if (iPYInsertPoint == strlen (strFindString)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:508:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 508 | if (iPYInsertPoint == strlen (strFindString)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:698:23: warning: array subscript has type 'char' [-Wchar-subscripts] 698 | if (PYCandWords[iYCDZ].iWhich == PY_CAND_USERPHRASE || PYCandWords[iYCDZ].iWhich == PY_CAND_SYMPHRASE) { | ^~~~~ py.cpp:698:74: warning: array subscript has type 'char' [-Wchar-subscripts] 698 | if (PYCandWords[iYCDZ].iWhich == PY_CAND_USERPHRASE || PYCandWords[iYCDZ].iWhich == PY_CAND_SYMPHRASE) { | ^~~~~ py.cpp:701:33: warning: array subscript has type 'char' [-Wchar-subscripts] 701 | pBase = PYFAList[PYCandWords[iYCDZ].cand.phrase.iPYFA].pyBase[PYCandWords[iYCDZ].cand.phrase.iBase].strHZ; | ^~~~~ py.cpp:701:78: warning: array subscript has type 'char' [-Wchar-subscripts] 701 | pBase = PYFAList[PYCandWords[iYCDZ].cand.phrase.iPYFA].pyBase[PYCandWords[iYCDZ].cand.phrase.iBase].strHZ; | ^~~~~ py.cpp:702:26: warning: array subscript has type 'char' [-Wchar-subscripts] 702 | pPhrase = PYCandWords[iYCDZ].cand.phrase.phrase->strPhrase; | ^~~~~ py.cpp:762:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 762 | for (i = 0; i < iPYSelected; i++) | ~~^~~~~~~~~~~~~ py.cpp: In function 'void CalculateCursorPosition()': py.cpp:794:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 794 | for (i = 0; i < iPYSelected; i++) | ~~^~~~~~~~~~~~~ py.cpp:797:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 797 | if (iPYInsertPoint > strlen (strFindString)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:802:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 802 | if (strlen (findMap.strPYParsed[i]) >= iTemp) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ py.cpp: In function 'void UpdateCodeInputPY()': py.cpp:825:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 825 | for (i = 0; i < iPYSelected; i++) | ~~^~~~~~~~~~~~~ py.cpp: In function 'void PYResetFlags()': py.cpp:852:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 852 | for (i = 0; i < iPYFreqCount; i++) { | ~~^~~~~~~~~~~~~~ py.cpp:854:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 854 | for (j = 0; j < freq->iCount; j++) { | ~~^~~~~~~~~~~~~~ py.cpp: In function 'void UpdateFindString()': py.cpp:872:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 872 | if (iPYInsertPoint > strlen (strFindString)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ py.cpp: In function 'INPUT_RETURN_VALUE PYGetCandWords(SEARCH_MODE)': py.cpp:901:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 901 | for (iVal = 0; iVal < iPYFreqCount; iVal++) { | ~~~~~^~~~~~~~~~~~~~ py.cpp: In function 'void PYCreateAuto()': py.cpp:1092:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1092 | if (!val || (val && (strlen (phrase->strMap) == iMatchedLength))) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ py.cpp:1099:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1099 | else if (strlen (phrase->strMap) <= (findMap.iHZCount - 1) * 2) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:1129:112: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1129 | if (!val || (val && (strlen (PYFAList[candPos.iPYFA].pyBase[candPos.iBase].phrase[candPos.iPhrase].strMap) == iMatchedLength))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ py.cpp:1135:104: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1135 | else if (strlen (PYFAList[candPos.iPYFA].pyBase[candPos.iBase].phrase[candPos.iPhrase].strMap) <= (findMap.iHZCount - 1) * 2) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp: In function 'char* PYGetCandWord(int)': py.cpp:1267:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 1267 | for (iLen = 0; iLen < iPYSelected; iLen++) | ~~~~~^~~~~~~~~~~~~ py.cpp:1274:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 1274 | for (i = 0; i < iPYSelected; i++) | ~~^~~~~~~~~~~~~ py.cpp: In function 'int PYCheckNextCandPage()': py.cpp:1369:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 1369 | for (val = 0; val < pCurFreq->iCount; val++) { | ~~~~^~~~~~~~~~~~~~~~~~ py.cpp:1385:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1385 | if (!val || (val && (strlen (phrase->strMap) == iMatchedLength))) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ py.cpp:1403:112: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1403 | if (!val || (val && (strlen (PYFAList[candPos.iPYFA].pyBase[candPos.iBase].phrase[candPos.iPhrase].strMap) == iMatchedLength))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ py.cpp:1416:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 1416 | for (val = 0; val < pCurFreq->iCount; val++) { | ~~~~^~~~~~~~~~~~~~~~~~ py.cpp: In function 'void PYGetPhraseCandWords(SEARCH_MODE)': py.cpp:1465:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1465 | if (!val || (val && (strlen (phrase->strMap) == iMatchedLength))) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ py.cpp:1487:111: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1487 | if (!val || (val && (strlen (PYFAList[candPos.iPYFA].pyBase[candPos.iBase].phrase[candPos.iPhrase].strMap) == iMatchedLength))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ py.cpp: In function 'void PYGetSymCandWords(SEARCH_MODE)': py.cpp:1740:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 1740 | for (i = 0; i < pCurFreq->iCount; i++) { | ~~^~~~~~~~~~~~~~~~~~ py.cpp: In function 'void PYGetFreqCandWords(SEARCH_MODE)': py.cpp:1991:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 1991 | for (i = 0; i < pCurFreq->iCount; i++) { | ~~^~~~~~~~~~~~~~~~~~ py.cpp: In function 'void SavePYFreq()': py.cpp:2365:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 2365 | for (k = 0; k < pPyFreq->iCount; k++) { | ~~^~~~~~~~~~~~~~~~~ py.cpp: In function 'void PYAddFreq(int)': py.cpp:2478:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 2478 | for (i = 0; i < pCurFreq->iCount; i++) { | ~~^~~~~~~~~~~~~~~~~~ py.cpp:2505:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 2505 | for (i = 0; i < iPYFreqCount; i++) | ~~^~~~~~~~~~~~~~ py.cpp:2524:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 2524 | for (i = 0; i < pCurFreq->iCount; i++) | ~~^~~~~~~~~~~~~~~~~~ py.cpp: In function 'int PYIsInFreq(char*)': py.cpp:2580:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 2580 | for (i = 0; i < pCurFreq->iCount; i++) { | ~~^~~~~~~~~~~~~~~~~~ py.cpp: In function 'int LoadPYBaseDict()': py.cpp:110:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | fread (&iPYFACount, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:113:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fread (PYFAList[i].strMap, sizeof (char) * 2, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:115:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fread (&(PYFAList[i].iBase), sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:118:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | fread (PYFAList[i].pyBase[j].strHZ, sizeof (char) * 2, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:120:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | fread (&iLen, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp: In function 'int LoadPYOtherDict()': py.cpp:186:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 186 | fread (&iLen, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:188:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | fread (PYFAList[i].pyBase[j].phrase[k].strMap, sizeof (char) * iLen, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:191:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | fread (PYFAList[i].pyBase[j].phrase[k].strPhrase, sizeof (char) * iLen, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:222:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | fread (&iLen, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:224:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | fread (phrase->strMap, sizeof (char) * iLen, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:227:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 227 | fread (phrase->strPhrase, sizeof (char) * iLen, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:229:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | fread (&iLen, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:233:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | fread (&iLen, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:254:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | fread (&iLen, sizeof (uint), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:258:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 258 | fread (&i, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:259:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | fread (&j, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:260:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | fread (&k, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:261:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 261 | fread (&iIndex, sizeof (uint), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:262:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | fread (&iLen, sizeof (uint), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:285:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | fread (&iPYFreqCount, sizeof (uint), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:292:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fread (pyFreqTemp->strPY, sizeof (char) * 11, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:293:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 293 | fread (&j, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:302:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | fread (HZTemp->strHZ, sizeof (char) * 2, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:304:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fread (&j, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:306:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 306 | fread (&j, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:308:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | fread (&j, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from py.cpp:14: In function 'char* strcpy(char*, const char*)', inlined from 'INPUT_RETURN_VALUE DoPYInput(const scim::KeyEvent&)' at py.cpp:489:13: /usr/include/bits/string_fortified.h:90:33: warning: 'char* __builtin_strcpy(char*, const char*)' accessing 1 byte at offsets [0, 301] and [0, 301] may overlap 1 byte at offset 0 [-Wrestrict] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-pyMapTable.lo `test -f 'pyMapTable.cpp' || echo './'`pyMapTable.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c pyMapTable.cpp -fPIC -DPIC -o .libs/fcitx_la-pyMapTable.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-qw.lo `test -f 'qw.cpp' || echo './'`qw.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qw.cpp -fPIC -DPIC -o .libs/fcitx_la-qw.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-tools.lo `test -f 'tools.cpp' || echo './'`tools.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tools.cpp -fPIC -DPIC -o .libs/fcitx_la-tools.o tools.cpp: In function 'int CheckHZCharset(char*)': tools.cpp:545:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 545 | for (i = 0; i < strlen (strHZ); i++) { | ~~^~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-table.lo `test -f 'table.cpp' || echo './'`table.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c table.cpp -fPIC -DPIC -o .libs/fcitx_la-table.o table.cpp: In function 'void LoadTableInfo()': table.cpp:128:8: warning: array subscript has type 'char' [-Wchar-subscripts] 128 | table[iTableIMIndex].strInputCode = NULL; | ^~~~~~~~~~~~~ table.cpp:129:8: warning: array subscript has type 'char' [-Wchar-subscripts] 129 | table[iTableIMIndex].strName[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:130:8: warning: array subscript has type 'char' [-Wchar-subscripts] 130 | table[iTableIMIndex].strPath[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:131:8: warning: array subscript has type 'char' [-Wchar-subscripts] 131 | table[iTableIMIndex].strSymbolFile[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:132:8: warning: array subscript has type 'char' [-Wchar-subscripts] 132 | table[iTableIMIndex].tableOrder = AD_NO; | ^~~~~~~~~~~~~ table.cpp:133:8: warning: array subscript has type 'char' [-Wchar-subscripts] 133 | table[iTableIMIndex].bGetPY = True; | ^~~~~~~~~~~~~ table.cpp:134:8: warning: array subscript has type 'char' [-Wchar-subscripts] 134 | table[iTableIMIndex].bUsePY = True; | ^~~~~~~~~~~~~ table.cpp:135:8: warning: array subscript has type 'char' [-Wchar-subscripts] 135 | table[iTableIMIndex].cPinyin = '\0'; | ^~~~~~~~~~~~~ table.cpp:136:8: warning: array subscript has type 'char' [-Wchar-subscripts] 136 | table[iTableIMIndex].bTableAutoSendToClient = True; | ^~~~~~~~~~~~~ table.cpp:137:8: warning: array subscript has type 'char' [-Wchar-subscripts] 137 | table[iTableIMIndex].bUseMatchingKey = False; | ^~~~~~~~~~~~~ table.cpp:138:8: warning: array subscript has type 'char' [-Wchar-subscripts] 138 | table[iTableIMIndex].cMatchingKey = '\0'; | ^~~~~~~~~~~~~ table.cpp:139:8: warning: array subscript has type 'char' [-Wchar-subscripts] 139 | table[iTableIMIndex].bTableExactMatch = False; | ^~~~~~~~~~~~~ table.cpp:140:8: warning: array subscript has type 'char' [-Wchar-subscripts] 140 | table[iTableIMIndex].bAutoPhrase = True; | ^~~~~~~~~~~~~ table.cpp:141:8: warning: array subscript has type 'char' [-Wchar-subscripts] 141 | table[iTableIMIndex].bAutoPhrasePhrase = True; | ^~~~~~~~~~~~~ table.cpp:142:8: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | table[iTableIMIndex].iSaveAutoPhraseAfter = 1; | ^~~~~~~~~~~~~ table.cpp:143:8: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | table[iTableIMIndex].iAutoPhrase = 4; | ^~~~~~~~~~~~~ table.cpp:144:8: warning: array subscript has type 'char' [-Wchar-subscripts] 144 | table[iTableIMIndex].bPromptTableCode = True; | ^~~~~~~~~~~~~ table.cpp:145:8: warning: array subscript has type 'char' [-Wchar-subscripts] 145 | table[iTableIMIndex].strSymbol[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:169:17: warning: array subscript has type 'char' [-Wchar-subscripts] 169 | if (table[iTableIMIndex].strName[0] == '\0' || table[iTableIMIndex].strPath[0] == '\0') { | ^~~~~~~~~~~~~ table.cpp:169:60: warning: array subscript has type 'char' [-Wchar-subscripts] 169 | if (table[iTableIMIndex].strName[0] == '\0' || table[iTableIMIndex].strPath[0] == '\0') { | ^~~~~~~~~~~~~ table.cpp:180:17: warning: array subscript has type 'char' [-Wchar-subscripts] 180 | strcpy (table[iTableIMIndex].strName, pstr); | ^~~~~~~~~~~~~ table.cpp:184:17: warning: array subscript has type 'char' [-Wchar-subscripts] 184 | strcpy (table[iTableIMIndex].strPath, pstr); | ^~~~~~~~~~~~~ table.cpp:188:9: warning: array subscript has type 'char' [-Wchar-subscripts] 188 | table[iTableIMIndex].tableOrder = (ADJUSTORDER) atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:192:9: warning: array subscript has type 'char' [-Wchar-subscripts] 192 | table[iTableIMIndex].bGetPY = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:196:9: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | table[iTableIMIndex].bUsePY = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:202:9: warning: array subscript has type 'char' [-Wchar-subscripts] 202 | table[iTableIMIndex].cPinyin = *pstr; | ^~~~~~~~~~~~~ table.cpp:206:9: warning: array subscript has type 'char' [-Wchar-subscripts] 206 | table[iTableIMIndex].bTableAutoSendToClient = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:210:9: warning: array subscript has type 'char' [-Wchar-subscripts] 210 | table[iTableIMIndex].bUseMatchingKey = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:216:9: warning: array subscript has type 'char' [-Wchar-subscripts] 216 | table[iTableIMIndex].cMatchingKey = *pstr; | ^~~~~~~~~~~~~ table.cpp:220:9: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | table[iTableIMIndex].bTableExactMatch = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:224:9: warning: array subscript has type 'char' [-Wchar-subscripts] 224 | table[iTableIMIndex].bAutoPhrase = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:228:9: warning: array subscript has type 'char' [-Wchar-subscripts] 228 | table[iTableIMIndex].iAutoPhrase = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:232:9: warning: array subscript has type 'char' [-Wchar-subscripts] 232 | table[iTableIMIndex].bAutoPhrasePhrase = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:236:9: warning: array subscript has type 'char' [-Wchar-subscripts] 236 | table[iTableIMIndex].iSaveAutoPhraseAfter = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:240:9: warning: array subscript has type 'char' [-Wchar-subscripts] 240 | table[iTableIMIndex].bPromptTableCode = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:244:17: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | strcpy (table[iTableIMIndex].strSymbol, pstr); | ^~~~~~~~~~~~~ table.cpp:248:17: warning: array subscript has type 'char' [-Wchar-subscripts] 248 | strcpy (table[iTableIMIndex].strSymbolFile, pstr); | ^~~~~~~~~~~~~ table.cpp:253:11: warning: array subscript has type 'char' [-Wchar-subscripts] 253 | table[iTableIMIndex].rule = NULL; | ^~~~~~~~~~~~~ table.cpp: In function 'int LoadTableDict()': table.cpp:278:28: warning: array subscript has type 'char' [-Wchar-subscripts] 278 | strcat (strPath, table[iTableIMIndex].strPath); | ^~~~~~~~~~~~~ table.cpp:282:25: warning: array subscript has type 'char' [-Wchar-subscripts] 282 | strcat (strPath, table[iTableIMIndex].strPath); | ^~~~~~~~~~~~~ table.cpp:293:11: warning: array subscript has type 'char' [-Wchar-subscripts] 293 | table[iTableIMIndex].strInputCode = (char *) malloc (sizeof (char) * (iTemp + 1)); | ^~~~~~~~~~~~~ table.cpp:294:18: warning: array subscript has type 'char' [-Wchar-subscripts] 294 | fread (table[iTableIMIndex].strInputCode, sizeof (char), iTemp + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:299:58: warning: array subscript has type 'char' [-Wchar-subscripts] 299 | recordIndex = (RECORD_INDEX *) malloc (strlen (table[iTableIMIndex].strInputCode) * sizeof (RECORD_INDEX)); | ^~~~~~~~~~~~~ table.cpp:300:43: warning: array subscript has type 'char' [-Wchar-subscripts] 300 | for (iTemp = 0; iTemp < strlen (table[iTableIMIndex].strInputCode); iTemp++) | ^~~~~~~~~~~~~ table.cpp:301:35: warning: array subscript has type 'char' [-Wchar-subscripts] 301 | recordIndex[iTemp].cCode = table[iTableIMIndex].strInputCode[iTemp]; | ^~~~~~~~~~~~~ table.cpp:304:20: warning: array subscript has type 'char' [-Wchar-subscripts] 304 | fread (&(table[iTableIMIndex].iCodeLength), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:306:11: warning: array subscript has type 'char' [-Wchar-subscripts] 306 | table[iTableIMIndex].strIgnoreChars = (char *) malloc (sizeof (char) * (iTemp + 1)); | ^~~~~~~~~~~~~ table.cpp:307:18: warning: array subscript has type 'char' [-Wchar-subscripts] 307 | fread (table[iTableIMIndex].strIgnoreChars, sizeof (char), iTemp + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:309:20: warning: array subscript has type 'char' [-Wchar-subscripts] 309 | fread (&(table[iTableIMIndex].bRule), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:311:15: warning: array subscript has type 'char' [-Wchar-subscripts] 311 | if (table[iTableIMIndex].bRule) { //��ʾ����ʹ��� | ^~~~~~~~~~~~~ table.cpp:312:8: warning: array subscript has type 'char' [-Wchar-subscripts] 312 | table[iTableIMIndex].rule = (RULE *) malloc (sizeof (RULE) * (table[iTableIMIndex].iCodeLength - 1)); | ^~~~~~~~~~~~~ table.cpp:312:70: warning: array subscript has type 'char' [-Wchar-subscripts] 312 | table[iTableIMIndex].rule = (RULE *) malloc (sizeof (RULE) * (table[iTableIMIndex].iCodeLength - 1)); | ^~~~~~~~~~~~~ table.cpp:313:24: warning: array subscript has type 'char' [-Wchar-subscripts] 313 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ^~~~~~~~~~~~~ table.cpp:313:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 313 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:314:21: warning: array subscript has type 'char' [-Wchar-subscripts] 314 | fread (&(table[iTableIMIndex].rule[i].iFlag), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:315:21: warning: array subscript has type 'char' [-Wchar-subscripts] 315 | fread (&(table[iTableIMIndex].rule[i].iWords), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:316:12: warning: array subscript has type 'char' [-Wchar-subscripts] 316 | table[iTableIMIndex].rule[i].rule = (RULE_RULE *) malloc (sizeof (RULE_RULE) * table[iTableIMIndex].iCodeLength); | ^~~~~~~~~~~~~ table.cpp:316:91: warning: array subscript has type 'char' [-Wchar-subscripts] 316 | table[iTableIMIndex].rule[i].rule = (RULE_RULE *) malloc (sizeof (RULE_RULE) * table[iTableIMIndex].iCodeLength); | ^~~~~~~~~~~~~ table.cpp:317:36: warning: array subscript has type 'char' [-Wchar-subscripts] 317 | for (iTemp = 0; iTemp < table[iTableIMIndex].iCodeLength; iTemp++) { | ^~~~~~~~~~~~~ table.cpp:318:18: warning: array subscript has type 'char' [-Wchar-subscripts] 318 | fread (&(table[iTableIMIndex].rule[i].rule[iTemp].iFlag), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:319:18: warning: array subscript has type 'char' [-Wchar-subscripts] 319 | fread (&(table[iTableIMIndex].rule[i].rule[iTemp].iWhich), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:320:18: warning: array subscript has type 'char' [-Wchar-subscripts] 320 | fread (&(table[iTableIMIndex].rule[i].rule[iTemp].iIndex), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:328:20: warning: array subscript has type 'char' [-Wchar-subscripts] 328 | fread (&(table[iTableIMIndex].iRecordCount), sizeof (unsigned int), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:331:27: warning: array subscript has type 'char' [-Wchar-subscripts] 331 | for (i = 0; i < table[iTableIMIndex].iRecordCount; i++) { | ^~~~~~~~~~~~~ table.cpp:332:39: warning: array subscript has type 'char' [-Wchar-subscripts] 332 | fread (strCode, sizeof (char), table[iTableIMIndex].iCodeLength + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:341:61: warning: array subscript has type 'char' [-Wchar-subscripts] 341 | recTemp->strCode = (char *) malloc (sizeof (char) * (table[iTableIMIndex].iCodeLength + 1)); | ^~~~~~~~~~~~~ table.cpp:375:28: warning: array subscript has type 'char' [-Wchar-subscripts] 375 | strcat (strPath, table[iTableIMIndex].strSymbolFile); | ^~~~~~~~~~~~~ table.cpp:379:25: warning: array subscript has type 'char' [-Wchar-subscripts] 379 | strcat (strPath, table[iTableIMIndex].strSymbolFile); | ^~~~~~~~~~~~~ table.cpp:388:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 388 | for (i = 0; i < iFH; i++) { | ~~^~~~~ table.cpp:397:64: warning: array subscript has type 'char' [-Wchar-subscripts] 397 | strNewPhraseCode = (char *) malloc (sizeof (char) * (table[iTableIMIndex].iCodeLength + 1)); | ^~~~~~~~~~~~~ table.cpp:398:28: warning: array subscript has type 'char' [-Wchar-subscripts] 398 | strNewPhraseCode[table[iTableIMIndex].iCodeLength] = '\0'; | ^~~~~~~~~~~~~ table.cpp:405:27: warning: array subscript has type 'char' [-Wchar-subscripts] 405 | for (i = 2; i < table[iTableIMIndex].iAutoPhrase; i++) | ^~~~~~~~~~~~~ table.cpp:410:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'INT16' {aka 'short int'} [-Wsign-compare] 410 | for (i = 0; i < iTotalAutoPhrase; i++) { | ~~^~~~~~~~~~~~~~~~~~ table.cpp:411:66: warning: array subscript has type 'char' [-Wchar-subscripts] 411 | autoPhrase[i].strCode = (char *) malloc (sizeof (char) * (table[iTableIMIndex].iCodeLength + 1)); | ^~~~~~~~~~~~~ table.cpp:414:8: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 414 | if (i == iTotalAutoPhrase - 1) | ~~^~~~~~~~~~~~~~~~~~~~~~~ table.cpp:441:15: warning: array subscript has type 'char' [-Wchar-subscripts] 441 | if (table[iTableIMIndex].bGetPY) | ^~~~~~~~~~~~~ table.cpp: In function 'void FreeTableIM()': table.cpp:489:17: warning: array subscript has type 'char' [-Wchar-subscripts] 489 | free (table[iTableIMIndex].strInputCode); | ^~~~~~~~~~~~~ table.cpp:490:17: warning: array subscript has type 'char' [-Wchar-subscripts] 490 | free (table[iTableIMIndex].strIgnoreChars); | ^~~~~~~~~~~~~ table.cpp:491:11: warning: array subscript has type 'char' [-Wchar-subscripts] 491 | table[iTableIMIndex].iRecordCount = 0; | ^~~~~~~~~~~~~ table.cpp:497:15: warning: array subscript has type 'char' [-Wchar-subscripts] 497 | if (table[iTableIMIndex].rule) { | ^~~~~~~~~~~~~ table.cpp:498:24: warning: array subscript has type 'char' [-Wchar-subscripts] 498 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) | ^~~~~~~~~~~~~ table.cpp:499:18: warning: array subscript has type 'char' [-Wchar-subscripts] 499 | free (table[iTableIMIndex].rule[i].rule); | ^~~~~~~~~~~~~ table.cpp:500:14: warning: array subscript has type 'char' [-Wchar-subscripts] 500 | free (table[iTableIMIndex].rule); | ^~~~~~~~~~~~~ table.cpp:502:8: warning: array subscript has type 'char' [-Wchar-subscripts] 502 | table[iTableIMIndex].rule = NULL; | ^~~~~~~~~~~~~ table.cpp: In function 'void SaveTableDict()': table.cpp:553:27: warning: array subscript has type 'char' [-Wchar-subscripts] 553 | iTemp = strlen (table[iTableIMIndex].strInputCode); | ^~~~~~~~~~~~~ table.cpp:555:19: warning: array subscript has type 'char' [-Wchar-subscripts] 555 | fwrite (table[iTableIMIndex].strInputCode, sizeof (char), iTemp + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:556:21: warning: array subscript has type 'char' [-Wchar-subscripts] 556 | fwrite (&(table[iTableIMIndex].iCodeLength), sizeof (INT8), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:557:27: warning: array subscript has type 'char' [-Wchar-subscripts] 557 | iTemp = strlen (table[iTableIMIndex].strIgnoreChars); | ^~~~~~~~~~~~~ table.cpp:559:19: warning: array subscript has type 'char' [-Wchar-subscripts] 559 | fwrite (table[iTableIMIndex].strIgnoreChars, sizeof (char), iTemp + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:561:21: warning: array subscript has type 'char' [-Wchar-subscripts] 561 | fwrite (&(table[iTableIMIndex].bRule), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:562:15: warning: array subscript has type 'char' [-Wchar-subscripts] 562 | if (table[iTableIMIndex].bRule) { //��ʾ����ʹ��� | ^~~~~~~~~~~~~ table.cpp:563:24: warning: array subscript has type 'char' [-Wchar-subscripts] 563 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ^~~~~~~~~~~~~ table.cpp:563:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 563 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:564:22: warning: array subscript has type 'char' [-Wchar-subscripts] 564 | fwrite (&(table[iTableIMIndex].rule[i].iFlag), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:565:22: warning: array subscript has type 'char' [-Wchar-subscripts] 565 | fwrite (&(table[iTableIMIndex].rule[i].iWords), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:566:36: warning: array subscript has type 'char' [-Wchar-subscripts] 566 | for (iTemp = 0; iTemp < table[iTableIMIndex].iCodeLength; iTemp++) { | ^~~~~~~~~~~~~ table.cpp:567:19: warning: array subscript has type 'char' [-Wchar-subscripts] 567 | fwrite (&(table[iTableIMIndex].rule[i].rule[iTemp].iFlag), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:568:19: warning: array subscript has type 'char' [-Wchar-subscripts] 568 | fwrite (&(table[iTableIMIndex].rule[i].rule[iTemp].iWhich), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:569:19: warning: array subscript has type 'char' [-Wchar-subscripts] 569 | fwrite (&(table[iTableIMIndex].rule[i].rule[iTemp].iIndex), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:574:21: warning: array subscript has type 'char' [-Wchar-subscripts] 574 | fwrite (&(table[iTableIMIndex].iRecordCount), sizeof (unsigned int), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:577:49: warning: array subscript has type 'char' [-Wchar-subscripts] 577 | fwrite (recTemp->strCode, sizeof (char), table[iTableIMIndex].iCodeLength + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:590:28: warning: array subscript has type 'char' [-Wchar-subscripts] 590 | strcat (strPath, table[iTableIMIndex].strPath); | ^~~~~~~~~~~~~ table.cpp: In function 'int IsInputKey(int)': table.cpp:603:15: warning: array subscript has type 'char' [-Wchar-subscripts] 603 | p = table[iTableIMIndex].strInputCode; | ^~~~~~~~~~~~~ table.cpp: In function 'int IsIgnoreChar(char)': table.cpp:620:15: warning: array subscript has type 'char' [-Wchar-subscripts] 620 | p = table[iTableIMIndex].strIgnoreChars; | ^~~~~~~~~~~~~ table.cpp: In function 'INPUT_RETURN_VALUE DoTableInput(const scim::KeyEvent&)': table.cpp:657:58: warning: array subscript has type 'char' [-Wchar-subscripts] 657 | if (!key.mask && (IsInputKey (iKey) || iKey == table[iTableIMIndex].cMatchingKey || iKey == table[iTableIMIndex].cPinyin)) { | ^~~~~~~~~~~~~ table.cpp:657:103: warning: array subscript has type 'char' [-Wchar-subscripts] 657 | if (!key.mask && (IsInputKey (iKey) || iKey == table[iTableIMIndex].cMatchingKey || iKey == table[iTableIMIndex].cPinyin)) { | ^~~~~~~~~~~~~ table.cpp:661:35: warning: array subscript has type 'char' [-Wchar-subscripts] 661 | if (strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:661:67: warning: array subscript has type 'char' [-Wchar-subscripts] 661 | if (strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:671:31: warning: array subscript has type 'char' [-Wchar-subscripts] 671 | if (iCodeInputCount < table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:675:60: warning: array subscript has type 'char' [-Wchar-subscripts] 675 | if (iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:675:92: warning: array subscript has type 'char' [-Wchar-subscripts] 675 | if (iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:682:14: warning: array subscript has type 'char' [-Wchar-subscripts] 682 | if (table[iTableIMIndex].bTableAutoSendToClient && (iCodeInputCount == table[iTableIMIndex].iCodeLength)) { | ^~~~~~~~~~~~~ table.cpp:682:81: warning: array subscript has type 'char' [-Wchar-subscripts] 682 | if (table[iTableIMIndex].bTableAutoSendToClient && (iCodeInputCount == table[iTableIMIndex].iCodeLength)) { | ^~~~~~~~~~~~~ table.cpp:695:17: warning: array subscript has type 'char' [-Wchar-subscripts] 695 | if (table[iTableIMIndex].bTableAutoSendToClient) { | ^~~~~~~~~~~~~ table.cpp:750:39: warning: array subscript has type 'char' [-Wchar-subscripts] 750 | if (iHZLastInputCount < 2 || !table[iTableIMIndex].bRule) //��������Ϊ�������� | ^~~~~~~~~~~~~ table.cpp:809:36: warning: array subscript has type 'char' [-Wchar-subscripts] 809 | if (strcmp (strCodeInput, table[iTableIMIndex].strSymbol) && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:809:90: warning: array subscript has type 'char' [-Wchar-subscripts] 809 | if (strcmp (strCodeInput, table[iTableIMIndex].strSymbol) && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:809:122: warning: array subscript has type 'char' [-Wchar-subscripts] 809 | if (strcmp (strCodeInput, table[iTableIMIndex].strSymbol) && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:855:56: warning: array subscript has type 'char' [-Wchar-subscripts] 855 | if (iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin) { | ^~~~~~~~~~~~~ table.cpp:866:19: warning: array subscript has type 'char' [-Wchar-subscripts] 866 | if (!(table[iTableIMIndex].bUsePY && iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin)) { | ^~~~~~~~~~~~~ table.cpp:866:93: warning: array subscript has type 'char' [-Wchar-subscripts] 866 | if (!(table[iTableIMIndex].bUsePY && iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin)) { | ^~~~~~~~~~~~~ table.cpp:867:36: warning: array subscript has type 'char' [-Wchar-subscripts] 867 | if (strcmp (strCodeInput, table[iTableIMIndex].strSymbol) && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:867:90: warning: array subscript has type 'char' [-Wchar-subscripts] 867 | if (strcmp (strCodeInput, table[iTableIMIndex].strSymbol) && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:867:122: warning: array subscript has type 'char' [-Wchar-subscripts] 867 | if (strcmp (strCodeInput, table[iTableIMIndex].strSymbol) && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp: In function 'char* TableGetCandWord(int)': table.cpp:920:38: warning: array subscript has type 'char' [-Wchar-subscripts] 920 | if (!strcmp (strCodeInput, table[iTableIMIndex].strSymbol)) | ^~~~~~~~~~~~~ table.cpp:935:15: warning: array subscript has type 'char' [-Wchar-subscripts] 935 | if (table[iTableIMIndex].tableOrder != AD_NO) { | ^~~~~~~~~~~~~ table.cpp:943:12: warning: array subscript has type 'char' [-Wchar-subscripts] 943 | if (table[iTableIMIndex].iSaveAutoPhraseAfter) { | ^~~~~~~~~~~~~ table.cpp:944:16: warning: array subscript has type 'char' [-Wchar-subscripts] 944 | if (table[iTableIMIndex].iSaveAutoPhraseAfter >= tableCandWord[iIndex].candWord.autoPhrase->iSelected) | ^~~~~~~~~~~~~ table.cpp:946:16: warning: array subscript has type 'char' [-Wchar-subscripts] 946 | if (table[iTableIMIndex].iSaveAutoPhraseAfter == tableCandWord[iIndex].candWord.autoPhrase->iSelected) { | ^~~~~~~~~~~~~ table.cpp:960:12: warning: array subscript has type 'char' [-Wchar-subscripts] 960 | if (table[iTableIMIndex].bPromptTableCode) { | ^~~~~~~~~~~~~ table.cpp:990:69: warning: array subscript has type 'char' [-Wchar-subscripts] 990 | if (strlen (pCandWord) == 2 || (strlen (pCandWord) > 2 && table[iTableIMIndex].bAutoPhrasePhrase)) | ^~~~~~~~~~~~~ table.cpp: In function 'INPUT_RETURN_VALUE TableGetPinyinCandWords(SEARCH_MODE)': table.cpp:1007:26: warning: array subscript has type 'char' [-Wchar-subscripts] 1007 | strCodeInput[0] = table[iTableIMIndex].cPinyin; | ^~~~~~~~~~~~~ table.cpp: In function 'INPUT_RETURN_VALUE TableGetCandWords(SEARCH_MODE)': table.cpp:1038:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1038 | if (!strcmp (strCodeInput, table[iTableIMIndex].strSymbol)) | ^~~~~~~~~~~~~ table.cpp:1041:34: warning: array subscript has type 'char' [-Wchar-subscripts] 1041 | if (strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:1041:66: warning: array subscript has type 'char' [-Wchar-subscripts] 1041 | if (strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) | ^~~~~~~~~~~~~ table.cpp:1079:31: warning: array subscript has type 'char' [-Wchar-subscripts] 1079 | if (mode == SM_PREV && table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase && iCodeInputCount == table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1079:61: warning: array subscript has type 'char' [-Wchar-subscripts] 1079 | if (mode == SM_PREV && table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase && iCodeInputCount == table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1079:116: warning: array subscript has type 'char' [-Wchar-subscripts] 1079 | if (mode == SM_PREV && table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase && iCodeInputCount == table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1102:12: warning: array subscript has type 'char' [-Wchar-subscripts] 1102 | if (table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase && mode != SM_PREV && iCodeInputCount == table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1102:42: warning: array subscript has type 'char' [-Wchar-subscripts] 1102 | if (table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase && mode != SM_PREV && iCodeInputCount == table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1102:116: warning: array subscript has type 'char' [-Wchar-subscripts] 1102 | if (table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase && mode != SM_PREV && iCodeInputCount == table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1136:52: warning: array subscript has type 'char' [-Wchar-subscripts] 1136 | if (HasMatchingKey () || strCodeInput[0] == table[iTableIMIndex].cPinyin) | ^~~~~~~~~~~~~ table.cpp:1143:13: warning: array subscript has type 'char' [-Wchar-subscripts] 1143 | if ((table[iTableIMIndex].bGetPY) && (strlen (tableCandWord[i].candWord.record->strHZ) == 2)) { | ^~~~~~~~~~~~~ table.cpp: In function 'void TableAddCandWord(RECORD*, SEARCH_MODE)': table.cpp:1211:19: warning: array subscript has type 'char' [-Wchar-subscripts] 1211 | switch (table[iTableIMIndex].tableOrder) { | ^~~~~~~~~~~~~ table.cpp: In function 'int HasMatchingKey()': table.cpp:1357:22: warning: array subscript has type 'char' [-Wchar-subscripts] 1357 | if (*str++ == table[iTableIMIndex].cMatchingKey) | ^~~~~~~~~~~~~ table.cpp: In function 'int TableCompareCode(char*, char*)': table.cpp:1368:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1368 | for (i = 0; i < strlen (strUser); i++) { | ~~^~~~~~~~~~~~~~~~~~ table.cpp:1371:26: warning: array subscript has type 'char' [-Wchar-subscripts] 1371 | if (strUser[i] != table[iTableIMIndex].cMatchingKey || !table[iTableIMIndex].bUseMatchingKey) { | ^~~~~~~~~~~~~ table.cpp:1371:64: warning: array subscript has type 'char' [-Wchar-subscripts] 1371 | if (strUser[i] != table[iTableIMIndex].cMatchingKey || !table[iTableIMIndex].bUseMatchingKey) { | ^~~~~~~~~~~~~ table.cpp:1377:15: warning: array subscript has type 'char' [-Wchar-subscripts] 1377 | if (table[iTableIMIndex].bTableExactMatch) { | ^~~~~~~~~~~~~ table.cpp: In function 'int TableFindFirstMatchCode()': table.cpp:1392:15: warning: array subscript has type 'char' [-Wchar-subscripts] 1392 | if (table[iTableIMIndex].bUseMatchingKey && (strCodeInput[0] == table[iTableIMIndex].cMatchingKey)) | ^~~~~~~~~~~~~ table.cpp:1392:75: warning: array subscript has type 'char' [-Wchar-subscripts] 1392 | if (table[iTableIMIndex].bUseMatchingKey && (strCodeInput[0] == table[iTableIMIndex].cMatchingKey)) | ^~~~~~~~~~~~~ table.cpp: In function 'RECORD* TableFindCode(char*, int)': table.cpp:1421:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1421 | for (i = 0; i < iSingleHZCount; i++) { | ~~^~~~~~~~~~~~~~~~ table.cpp: In function 'void TableDelPhrase(RECORD*)': table.cpp:1501:11: warning: array subscript has type 'char' [-Wchar-subscripts] 1501 | table[iTableIMIndex].iRecordCount--; | ^~~~~~~~~~~~~ table.cpp: In function 'void TableInsertPhrase(char*, char*)': table.cpp:1591:64: warning: array subscript has type 'char' [-Wchar-subscripts] 1591 | dictNew->strCode = (char *) malloc (sizeof (char) * (table[iTableIMIndex].iCodeLength + 1)); | ^~~~~~~~~~~~~ table.cpp:1603:11: warning: array subscript has type 'char' [-Wchar-subscripts] 1603 | table[iTableIMIndex].iRecordCount++; | ^~~~~~~~~~~~~ table.cpp: In function 'void TableCreatePhraseCode(char*)': table.cpp:1626:31: warning: array subscript has type 'char' [-Wchar-subscripts] 1626 | char *str[table[iTableIMIndex].iCodeLength]; | ^~~~~~~~~~~~~ table.cpp:1636:23: warning: array subscript has type 'char' [-Wchar-subscripts] 1636 | if (iLen >= table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:1637:13: warning: array subscript has type 'char' [-Wchar-subscripts] 1637 | i2 = table[iTableIMIndex].iCodeLength; | ^~~~~~~~~~~~~ table.cpp:1645:27: warning: array subscript has type 'char' [-Wchar-subscripts] 1645 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ^~~~~~~~~~~~~ table.cpp:1646:12: warning: array subscript has type 'char' [-Wchar-subscripts] 1646 | if (table[iTableIMIndex].rule[i].iWords == i2 && table[iTableIMIndex].rule[i].iFlag == i1) | ^~~~~~~~~~~~~ table.cpp:1646:57: warning: array subscript has type 'char' [-Wchar-subscripts] 1646 | if (table[iTableIMIndex].rule[i].iWords == i2 && table[iTableIMIndex].rule[i].iFlag == i1) | ^~~~~~~~~~~~~ table.cpp:1650:29: warning: array subscript has type 'char' [-Wchar-subscripts] 1650 | for (i1 = 0; i1 < table[iTableIMIndex].iCodeLength; i1++) { | ^~~~~~~~~~~~~ table.cpp:1651:12: warning: array subscript has type 'char' [-Wchar-subscripts] 1651 | if (table[iTableIMIndex].rule[i].rule[i1].iFlag) { | ^~~~~~~~~~~~~ table.cpp:1652:32: warning: array subscript has type 'char' [-Wchar-subscripts] 1652 | strTemp[0] = strHZ[(table[iTableIMIndex].rule[i].rule[i1].iWhich - 1) * 2]; | ^~~~~~~~~~~~~ table.cpp:1653:32: warning: array subscript has type 'char' [-Wchar-subscripts] 1653 | strTemp[1] = strHZ[(table[iTableIMIndex].rule[i].rule[i1].iWhich - 1) * 2 + 1]; | ^~~~~~~~~~~~~ table.cpp:1656:39: warning: array subscript has type 'char' [-Wchar-subscripts] 1656 | strTemp[0] = strHZ[(iLen - table[iTableIMIndex].rule[i].rule[i1].iWhich) * 2]; | ^~~~~~~~~~~~~ table.cpp:1657:39: warning: array subscript has type 'char' [-Wchar-subscripts] 1657 | strTemp[1] = strHZ[(iLen - table[iTableIMIndex].rule[i].rule[i1].iWhich) * 2 + 1]; | ^~~~~~~~~~~~~ table.cpp:1668:39: warning: array subscript has type 'char' [-Wchar-subscripts] 1668 | strNewPhraseCode[i1] = str[i1][table[iTableIMIndex].rule[i].rule[i1].iIndex - 1]; | ^~~~~~~~~~~~~ table.cpp: In function 'INPUT_RETURN_VALUE TableGetLegendCandWords(SEARCH_MODE)': table.cpp:1716:67: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1716 | if (((mode == SM_PREV) ^ (!tableLegend->flag)) && ((iLength + 2) == strlen (tableLegend->strHZ))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp: In function 'void TableCreateAutoPhrase(INT8)': table.cpp:1954:33: warning: array subscript has type 'char' [-Wchar-subscripts] 1954 | char strHZ[table[iTableIMIndex].iAutoPhrase * 2 + 1]; | ^~~~~~~~~~~~~ table.cpp:1960:35: warning: array subscript has type 'char' [-Wchar-subscripts] 1960 | j = iHZLastInputCount - table[iTableIMIndex].iAutoPhrase - iCount; | ^~~~~~~~~~~~~ table.cpp:1964:17: warning: array subscript has type 'char' [-Wchar-subscripts] 1964 | for (i = table[iTableIMIndex].iAutoPhrase; i >= 2; i--) { | ^~~~~~~~~~~~~ table.cpp: In function 'void UpdateHZLastInput(char*)': table.cpp:2002:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2002 | for (i = 0; i < strlen (str) / 2; i++) { | ~~^~~~~~~~~~~~~~~~~~ table.cpp:2016:15: warning: array subscript has type 'char' [-Wchar-subscripts] 2016 | if (table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase) | ^~~~~~~~~~~~~ table.cpp:2016:45: warning: array subscript has type 'char' [-Wchar-subscripts] 2016 | if (table[iTableIMIndex].bRule && table[iTableIMIndex].bAutoPhrase) | ^~~~~~~~~~~~~ table.cpp: In function 'int LoadTableDict()': table.cpp:292:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fread (&iTemp, sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:294:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 294 | fread (table[iTableIMIndex].strInputCode, sizeof (char), iTemp + 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:304:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fread (&(table[iTableIMIndex].iCodeLength), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:305:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | fread (&iTemp, sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:307:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | fread (table[iTableIMIndex].strIgnoreChars, sizeof (char), iTemp + 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:309:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 309 | fread (&(table[iTableIMIndex].bRule), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:314:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | fread (&(table[iTableIMIndex].rule[i].iFlag), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:315:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | fread (&(table[iTableIMIndex].rule[i].iWords), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:318:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | fread (&(table[iTableIMIndex].rule[i].rule[iTemp].iFlag), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:319:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 319 | fread (&(table[iTableIMIndex].rule[i].rule[iTemp].iWhich), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:320:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | fread (&(table[iTableIMIndex].rule[i].rule[iTemp].iIndex), sizeof (unsigned char), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:328:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 328 | fread (&(table[iTableIMIndex].iRecordCount), sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:332:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | fread (strCode, sizeof (char), table[iTableIMIndex].iCodeLength + 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:333:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | fread (&iTemp, sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:334:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | fread (strHZ, sizeof (char), iTemp, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:347:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | fread (&(recTemp->iHit), sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.cpp:348:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 348 | fread (&(recTemp->iIndex), sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-punc.lo `test -f 'punc.cpp' || echo './'`punc.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c punc.cpp -fPIC -DPIC -o .libs/fcitx_la-punc.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-PYFA.lo `test -f 'PYFA.cpp' || echo './'`PYFA.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c PYFA.cpp -fPIC -DPIC -o .libs/fcitx_la-PYFA.o PYFA.cpp:16:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | {"CD", 0} | ^~~~ PYFA.cpp:19:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | {"HI", 0} | ^~~~ PYFA.cpp:22:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | {"LM", 0} | ^~~~ PYFA.cpp:25:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | {"PQ", 0} | ^~~~ PYFA.cpp:28:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | {"VW", 0} | ^~~~ PYFA.cpp:31:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | {"Za", 0} | ^~~~ PYFA.cpp:34:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | {"\0", 0} | ^~~~ PYFA.cpp:39:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | {"bc", 0} | ^~~~ PYFA.cpp:42:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | {"TV", 0} | ^~~~ PYFA.cpp:45:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | {"OQ", 0} | ^~~~ PYFA.cpp:48:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | {"GH", 0} | ^~~~ PYFA.cpp:51:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | {"AB", 0} | ^~~~ PYFA.cpp:54:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | {"fg", 0} | ^~~~ PYFA.cpp:57:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | {"\0", 0} | ^~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-pyParser.lo `test -f 'pyParser.cpp' || echo './'`pyParser.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c pyParser.cpp -fPIC -DPIC -o .libs/fcitx_la-pyParser.o pyParser.cpp: In function 'int FindPYFAIndex(char*, int)': pyParser.cpp:60:21: warning: variable 'iTemp' set but not used [-Wunused-but-set-variable] 60 | int iTemp; | ^~~~~ pyParser.cpp: In function 'void ParsePY(char*, ParsePYStruct*, PYPARSEINPUTMODE)': pyParser.cpp:110:36: warning: array subscript has type 'char' [-Wchar-subscripts] 110 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:111:49: warning: array subscript has type 'char' [-Wchar-subscripts] 111 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:117:36: warning: array subscript has type 'char' [-Wchar-subscripts] 117 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:118:49: warning: array subscript has type 'char' [-Wchar-subscripts] 118 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:125:40: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | strcpy (parsePY->strMap[parsePY->iHZCount], strJP); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:127:40: warning: array subscript has type 'char' [-Wchar-subscripts] 127 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:128:49: warning: array subscript has type 'char' [-Wchar-subscripts] 128 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:167:36: warning: array subscript has type 'char' [-Wchar-subscripts] 167 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:172:37: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:173:37: warning: array subscript has type 'char' [-Wchar-subscripts] 173 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:176:37: warning: array subscript has type 'char' [-Wchar-subscripts] 176 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:177:49: warning: array subscript has type 'char' [-Wchar-subscripts] 177 | strcat (parsePY->strPYParsed[parsePY->iHZCount++], strTemp); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:189:34: warning: array subscript has type 'char' [-Wchar-subscripts] 189 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:190:34: warning: array subscript has type 'char' [-Wchar-subscripts] 190 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:193:34: warning: array subscript has type 'char' [-Wchar-subscripts] 193 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:194:45: warning: array subscript has type 'char' [-Wchar-subscripts] 194 | strcat (parsePY->strPYParsed[parsePY->iHZCount], consonantMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:196:48: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:204:38: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:205:38: warning: array subscript has type 'char' [-Wchar-subscripts] 205 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:208:38: warning: array subscript has type 'char' [-Wchar-subscripts] 208 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:209:42: warning: array subscript has type 'char' [-Wchar-subscripts] 209 | strcat (parsePY->strPYParsed[parsePY->iHZCount], syllabaryMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:211:45: warning: array subscript has type 'char' [-Wchar-subscripts] 211 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:220:34: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:221:34: warning: array subscript has type 'char' [-Wchar-subscripts] 221 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:222:29: warning: array subscript has type 'char' [-Wchar-subscripts] 222 | parsePY->strMap[parsePY->iHZCount][0] = '0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:223:29: warning: array subscript has type 'char' [-Wchar-subscripts] 223 | parsePY->strMap[parsePY->iHZCount][1] = '0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:224:29: warning: array subscript has type 'char' [-Wchar-subscripts] 224 | parsePY->strMap[parsePY->iHZCount][2] = '\0'; | ~~~~~~~~~^~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-sp.lo `test -f 'sp.cpp' || echo './'`sp.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sp.cpp -fPIC -DPIC -o .libs/fcitx_la-sp.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fcitx_la-xim.lo `test -f 'xim.cpp' || echo './'`xim.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c xim.cpp -fPIC -DPIC -o .libs/fcitx_la-xim.o xim.cpp: In function 'void EnterChineseMode(int)': xim.cpp:43:9: warning: array subscript has type 'char' [-Wchar-subscripts] 43 | if (im[iIMIndex].ResetIM) | ^~~~~~~~ xim.cpp:44:9: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | im[iIMIndex].ResetIM (); | ^~~~~~~~ /bin/sh ../libtool --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fcitx.la -rpath /usr/lib64/scim-1.0/1.4.0/IMEngine -avoid-version -rpath /usr/lib64/scim-1.0/1.4.0/IMEngine -module @LIBTOOL_EXPORT_OPTIONS@ -lscim-1.0 fcitx_la-scim_fcitx_imengine.lo fcitx_la-ime.lo fcitx_la-main.lo fcitx_la-py.lo fcitx_la-pyMapTable.lo fcitx_la-qw.lo fcitx_la-tools.lo fcitx_la-table.lo fcitx_la-punc.lo fcitx_la-PYFA.lo fcitx_la-pyParser.lo fcitx_la-sp.lo fcitx_la-xim.lo g++ -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/10/crti.o /usr/lib/gcc/riscv64-redhat-linux/10/crtbeginS.o .libs/fcitx_la-scim_fcitx_imengine.o .libs/fcitx_la-ime.o .libs/fcitx_la-main.o .libs/fcitx_la-py.o .libs/fcitx_la-pyMapTable.o .libs/fcitx_la-qw.o .libs/fcitx_la-tools.o .libs/fcitx_la-table.o .libs/fcitx_la-punc.o .libs/fcitx_la-PYFA.o .libs/fcitx_la-pyParser.o .libs/fcitx_la-sp.o .libs/fcitx_la-xim.o -lscim-1.0 -L/usr/lib/gcc/riscv64-redhat-linux/10 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/10/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/10/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,fcitx.so -o .libs/fcitx.so creating fcitx.la (cd .libs && rm -f fcitx.la && ln -s ../fcitx.la fcitx.la) make[2]: Leaving directory '/builddir/build/BUILD/fcitx/src' Making all in icons make[2]: Entering directory '/builddir/build/BUILD/fcitx/icons' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/fcitx/icons' Making all in tools make[2]: Entering directory '/builddir/build/BUILD/fcitx/tools' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `test -f 'mb2txt.c' || echo './'`mb2txt.c mb2txt.c: In function 'main': mb2txt.c:51:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:52:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fread(strCode,sizeof(char), iTemp+1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:54:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | fread(&iLen,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:56:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:57:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fread(strCode,sizeof(char), iTemp+1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:61:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fread(&iRule, sizeof(unsigned char),1, fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:65:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread(&iRule,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:67:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(&iRule,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:70:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fread(&iRule,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:72:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fread(&iRule,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:74:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | fread(&iRule,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:84:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | fread(&j,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:86:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | fread(strCode, sizeof(char), iLen+1, fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:87:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | fread(&iTemp, sizeof(unsigned int), 1, fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:88:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | fread(strHZ, sizeof(char), iTemp, fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:91:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:92:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mb2txt mb2txt.o mkdir .libs gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mb2txt mb2txt.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `test -f 'txt2mb.c' || echo './'`txt2mb.c /bin/sh ../libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o txt2mb txt2mb.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o txt2mb txt2mb.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o createPYMB-createPYMB.o `test -f 'createPYMB.cpp' || echo './'`createPYMB.cpp In file included from createPYMB.cpp:65: ../src/pyParser.cpp: In function 'int FindPYFAIndex(char*, int)': ../src/pyParser.cpp:60:21: warning: variable 'iTemp' set but not used [-Wunused-but-set-variable] 60 | int iTemp; | ^~~~~ ../src/pyParser.cpp: In function 'void ParsePY(char*, ParsePYStruct*, PYPARSEINPUTMODE)': ../src/pyParser.cpp:110:36: warning: array subscript has type 'char' [-Wchar-subscripts] 110 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:111:49: warning: array subscript has type 'char' [-Wchar-subscripts] 111 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:117:36: warning: array subscript has type 'char' [-Wchar-subscripts] 117 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:118:49: warning: array subscript has type 'char' [-Wchar-subscripts] 118 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:125:40: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | strcpy (parsePY->strMap[parsePY->iHZCount], strJP); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:127:40: warning: array subscript has type 'char' [-Wchar-subscripts] 127 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:128:49: warning: array subscript has type 'char' [-Wchar-subscripts] 128 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:167:36: warning: array subscript has type 'char' [-Wchar-subscripts] 167 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:172:37: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:173:37: warning: array subscript has type 'char' [-Wchar-subscripts] 173 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:176:37: warning: array subscript has type 'char' [-Wchar-subscripts] 176 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:177:49: warning: array subscript has type 'char' [-Wchar-subscripts] 177 | strcat (parsePY->strPYParsed[parsePY->iHZCount++], strTemp); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:189:34: warning: array subscript has type 'char' [-Wchar-subscripts] 189 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:190:34: warning: array subscript has type 'char' [-Wchar-subscripts] 190 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:193:34: warning: array subscript has type 'char' [-Wchar-subscripts] 193 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:194:45: warning: array subscript has type 'char' [-Wchar-subscripts] 194 | strcat (parsePY->strPYParsed[parsePY->iHZCount], consonantMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:196:48: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:204:38: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:205:38: warning: array subscript has type 'char' [-Wchar-subscripts] 205 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:208:38: warning: array subscript has type 'char' [-Wchar-subscripts] 208 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:209:42: warning: array subscript has type 'char' [-Wchar-subscripts] 209 | strcat (parsePY->strPYParsed[parsePY->iHZCount], syllabaryMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:211:45: warning: array subscript has type 'char' [-Wchar-subscripts] 211 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:220:34: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:221:34: warning: array subscript has type 'char' [-Wchar-subscripts] 221 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:222:29: warning: array subscript has type 'char' [-Wchar-subscripts] 222 | parsePY->strMap[parsePY->iHZCount][0] = '0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:223:29: warning: array subscript has type 'char' [-Wchar-subscripts] 223 | parsePY->strMap[parsePY->iHZCount][1] = '0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:224:29: warning: array subscript has type 'char' [-Wchar-subscripts] 224 | parsePY->strMap[parsePY->iHZCount][2] = '\0'; | ~~~~~~~~~^~~~~~~~ In file included from createPYMB.cpp:67: ../src/PYFA.cpp: At global scope: ../src/PYFA.cpp:16:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | {"CD", 0} | ^~~~ ../src/PYFA.cpp:19:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | {"HI", 0} | ^~~~ ../src/PYFA.cpp:22:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | {"LM", 0} | ^~~~ ../src/PYFA.cpp:25:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | {"PQ", 0} | ^~~~ ../src/PYFA.cpp:28:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | {"VW", 0} | ^~~~ ../src/PYFA.cpp:31:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | {"Za", 0} | ^~~~ ../src/PYFA.cpp:34:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | {"\0", 0} | ^~~~ ../src/PYFA.cpp:39:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | {"bc", 0} | ^~~~ ../src/PYFA.cpp:42:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | {"TV", 0} | ^~~~ ../src/PYFA.cpp:45:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | {"OQ", 0} | ^~~~ ../src/PYFA.cpp:48:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | {"GH", 0} | ^~~~ ../src/PYFA.cpp:51:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | {"AB", 0} | ^~~~ ../src/PYFA.cpp:54:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | {"fg", 0} | ^~~~ ../src/PYFA.cpp:57:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | {"\0", 0} | ^~~~ createPYMB.cpp: In function 'int LoadPY()': createPYMB.cpp:81:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | fread (&iPYFACount, sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ createPYMB.cpp:84:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | fread (PYFAList[i].strMap, sizeof (char) * 2, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ createPYMB.cpp:86:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | fread (&(PYFAList[i].iHZCount), sizeof (int), 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ createPYMB.cpp:89:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | fread (PYFAList[i].pyBase[j].strHZ, sizeof (char) * 2, 1, fp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ createPYMB.cpp: In function 'void CreatePYPhrase()': createPYMB.cpp:148:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fscanf (fpt, "%s", strPY); | ~~~~~~~^~~~~~~~~~~~~~~~~~ createPYMB.cpp:149:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fscanf (fpt, "%s\n", strPhrase); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ createPYMB.cpp: In function 'void CreatePYBase()': createPYMB.cpp:256:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 256 | fscanf (fps, "%s", strPY); | ~~~~~~~^~~~~~~~~~~~~~~~~~ createPYMB.cpp:257:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | fscanf (fps, "%s\n", strHZ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o createPYMB createPYMB-createPYMB.o -lscim-1.0 g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o createPYMB createPYMB-createPYMB.o -lscim-1.0 make[2]: Leaving directory '/builddir/build/BUILD/fcitx/tools' Making all in data make[2]: Entering directory '/builddir/build/BUILD/fcitx/data' ../tools/txt2mb cj.txt cj.mb Reading 6726 records. ../tools/txt2mb erbi.txt erbi.mb Reading 59859 records. ../tools/createPYMB gbkpy.org pyPhrase.org ת���� 27673 �����֣��� 410 �顣 ���ڱ���ƴ��������� OK! ������ 52196 �����飬�ɹ�ת�� 52196 ���� ����д������ļ����� OK! ../tools/txt2mb wbx.txt wbx.mb Reading 81157 records. make[2]: Leaving directory '/builddir/build/BUILD/fcitx/data' make[2]: Entering directory '/builddir/build/BUILD/fcitx' make[2]: Leaving directory '/builddir/build/BUILD/fcitx' make[1]: Leaving directory '/builddir/build/BUILD/fcitx' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n3yIqM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 + cd fcitx + make DESTDIR=/builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/fcitx/src' make[2]: Entering directory '/builddir/build/BUILD/fcitx/src' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine /bin/sh ../libtool --mode=install /usr/bin/install -c fcitx.la /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine/fcitx.la /usr/bin/install -c .libs/fcitx.so /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine/fcitx.so /usr/bin/install -c .libs/fcitx.lai /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine/fcitx.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/scim-1.0/1.4.0/IMEngine' make[2]: Leaving directory '/builddir/build/BUILD/fcitx/src' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/src' Making install in icons make[1]: Entering directory '/builddir/build/BUILD/fcitx/icons' make[2]: Entering directory '/builddir/build/BUILD/fcitx/icons' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx /usr/bin/install -c -m 644 cangjie.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/cangjie.png /usr/bin/install -c -m 644 full-punct.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/full-punct.png /usr/bin/install -c -m 644 legend.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/legend.png /usr/bin/install -c -m 644 nofcitx.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nofcitx.png /usr/bin/install -c -m 644 nopinyin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nopinyin.png /usr/bin/install -c -m 644 nowubi98.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nowubi98.png /usr/bin/install -c -m 644 wubi86.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/wubi86.png /usr/bin/install -c -m 644 erbi.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/erbi.png /usr/bin/install -c -m 644 gbk.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/gbk.png /usr/bin/install -c -m 644 lock.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/lock.png /usr/bin/install -c -m 644 nogbk.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nogbk.png /usr/bin/install -c -m 644 noquwei.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/noquwei.png /usr/bin/install -c -m 644 pinyin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/pinyin.png /usr/bin/install -c -m 644 wubi98.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/wubi98.png /usr/bin/install -c -m 644 fcitx.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/fcitx.png /usr/bin/install -c -m 644 half-letter.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/half-letter.png /usr/bin/install -c -m 644 nocangjie.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nocangjie.png /usr/bin/install -c -m 644 nolegend.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nolegend.png /usr/bin/install -c -m 644 noshuangpin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/noshuangpin.png /usr/bin/install -c -m 644 quwei.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/quwei.png /usr/bin/install -c -m 644 full-letter.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/full-letter.png /usr/bin/install -c -m 644 half-punct.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/half-punct.png /usr/bin/install -c -m 644 noerbi.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/noerbi.png /usr/bin/install -c -m 644 nolock.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nolock.png /usr/bin/install -c -m 644 nowubi86.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/nowubi86.png /usr/bin/install -c -m 644 shuangpin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/icons/fcitx/shuangpin.png make[2]: Leaving directory '/builddir/build/BUILD/fcitx/icons' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/icons' Making install in tools make[1]: Entering directory '/builddir/build/BUILD/fcitx/tools' make[2]: Entering directory '/builddir/build/BUILD/fcitx/tools' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin /bin/sh ../libtool --mode=install /usr/bin/install -c mb2txt /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/mb2txt /usr/bin/install -c mb2txt /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/mb2txt /bin/sh ../libtool --mode=install /usr/bin/install -c txt2mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/txt2mb /usr/bin/install -c txt2mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/txt2mb /bin/sh ../libtool --mode=install /usr/bin/install -c createPYMB /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/createPYMB /usr/bin/install -c createPYMB /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/createPYMB make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fcitx/tools' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/tools' Making install in data make[1]: Entering directory '/builddir/build/BUILD/fcitx/data' make[2]: Entering directory '/builddir/build/BUILD/fcitx/data' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx /usr/bin/install -c -m 644 cj.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/cj.mb /usr/bin/install -c -m 644 erbi.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/erbi.mb /usr/bin/install -c -m 644 punc.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/punc.mb /usr/bin/install -c -m 644 pybase.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/pybase.mb /usr/bin/install -c -m 644 pyphrase.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/pyphrase.mb /usr/bin/install -c -m 644 pySym.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/pySym.mb /usr/bin/install -c -m 644 sp.dat /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/sp.dat /usr/bin/install -c -m 644 wbx.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/wbx.mb /usr/bin/install -c -m 644 tables.conf /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/scim/fcitx/tables.conf make[2]: Leaving directory '/builddir/build/BUILD/fcitx/data' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/data' make[1]: Entering directory '/builddir/build/BUILD/fcitx' make[2]: Entering directory '/builddir/build/BUILD/fcitx' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fcitx' make[1]: Leaving directory '/builddir/build/BUILD/fcitx' + rm /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64//usr/lib64/scim-1.0/1.4.0/IMEngine/fcitx.la + pushd /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64//usr/bin/ ~/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin ~/build/BUILD/fcitx + mv createPYMB createPYMB3 + mv mb2txt mb2txt3 + mv txt2mb txt2mb3 + popd ~/build/BUILD/fcitx + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1.1-30.fc33 --unique-debug-suffix -3.1.1-30.fc33.riscv64 --unique-debug-src-base scim-fcitx-3.1.1-30.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fcitx explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/mb2txt3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/createPYMB3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/txt2mb3 extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/mb2txt3 extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/createPYMB3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine/fcitx.so extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/bin/txt2mb3 extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/lib64/scim-1.0/1.4.0/IMEngine/fcitx.so original debug info size: 1796kB, size after compression: 1436kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 528 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: scim-fcitx-3.1.1-30.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lv2y5J + umask 022 + cd /builddir/build/BUILD + cd fcitx + DOCDIR=/builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/doc/scim-fcitx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/doc/scim-fcitx + cp -pr AUTHORS /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/doc/scim-fcitx + cp -pr COPYING /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/doc/scim-fcitx + cp -pr README /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/doc/scim-fcitx + cp -pr ChangeLog /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64/usr/share/doc/scim-fcitx + RPM_EC=0 ++ jobs -p + exit 0 Provides: scim-fcitx = 3.1.1-30.fc33 scim-fcitx(riscv-64) = 3.1.1-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libscim-1.0.so.8()(64bit) libscim-1.0.so.8(LIBSCIM_1.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: scim-fcitx-tools-3.1.1-30.fc33.riscv64 Provides: scim-fcitx-tools = 3.1.1-30.fc33 scim-fcitx-tools(riscv-64) = 3.1.1-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: scim-fcitx-debugsource-3.1.1-30.fc33.riscv64 Provides: scim-fcitx-debugsource = 3.1.1-30.fc33 scim-fcitx-debugsource(riscv-64) = 3.1.1-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scim-fcitx-debuginfo-3.1.1-30.fc33.riscv64 Provides: debuginfo(build-id) = 34dbe3e037b6d2fd838226be4cbbe226ea90ac69 scim-fcitx-debuginfo = 3.1.1-30.fc33 scim-fcitx-debuginfo(riscv-64) = 3.1.1-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scim-fcitx-debugsource(riscv-64) = 3.1.1-30.fc33 Processing files: scim-fcitx-tools-debuginfo-3.1.1-30.fc33.riscv64 Provides: debuginfo(build-id) = ae765f3bd33f365b79d3aadd43be18db15b14b20 debuginfo(build-id) = cbdac92b65863ac8fd3d8a660ddcbb608f474bb4 debuginfo(build-id) = f3f148763b9c5fd58134073e25365bbdca1eed8f scim-fcitx-tools-debuginfo = 3.1.1-30.fc33 scim-fcitx-tools-debuginfo(riscv-64) = 3.1.1-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scim-fcitx-debugsource(riscv-64) = 3.1.1-30.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 Wrote: /builddir/build/RPMS/scim-fcitx-tools-3.1.1-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/scim-fcitx-tools-debuginfo-3.1.1-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/scim-fcitx-debugsource-3.1.1-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/scim-fcitx-debuginfo-3.1.1-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/scim-fcitx-3.1.1-30.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jcccTJ + umask 022 + cd /builddir/build/BUILD + cd fcitx + /usr/bin/rm -rf /builddir/build/BUILDROOT/scim-fcitx-3.1.1-30.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0