<86>Aug 21 12:54:01 userdel[2588220]: delete user 'rooter' <86>Aug 21 12:54:01 userdel[2588220]: removed group 'rooter' owned by 'rooter' <86>Aug 21 12:54:01 userdel[2588220]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 21 12:54:01 groupadd[2588231]: group added to /etc/group: name=rooter, GID=621 <86>Aug 21 12:54:01 groupadd[2588231]: group added to /etc/gshadow: name=rooter <86>Aug 21 12:54:01 groupadd[2588231]: new group: name=rooter, GID=621 <86>Aug 21 12:54:01 useradd[2588239]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Aug 21 12:54:01 userdel[2588252]: delete user 'builder' <86>Aug 21 12:54:01 userdel[2588252]: removed group 'builder' owned by 'builder' <86>Aug 21 12:54:01 userdel[2588252]: removed shadow group 'builder' owned by 'builder' <86>Aug 21 12:54:01 groupadd[2588263]: group added to /etc/group: name=builder, GID=622 <86>Aug 21 12:54:01 groupadd[2588263]: group added to /etc/gshadow: name=builder <86>Aug 21 12:54:01 groupadd[2588263]: new group: name=builder, GID=622 <86>Aug 21 12:54:01 useradd[2588272]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root warning: user glebfm does not exist - using root warning: group glebfm does not exist - using root <13>Aug 21 12:54:04 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Aug 21 12:54:04 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:04 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Aug 21 12:54:04 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Aug 21 12:54:04 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Aug 21 12:54:04 rpmi: zlib-devel-1.2.11-alt1 sisyphus+278099.4700.1.1 1626032672 installed <13>Aug 21 12:54:04 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Aug 21 12:54:04 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Aug 21 12:54:04 rpmi: libjpeg-2:2.0.6-alt3 sisyphus+276287.100.3.1 1625270467 installed <13>Aug 21 12:54:06 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Aug 21 12:54:06 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Aug 21 12:54:06 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Aug 21 12:54:06 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Aug 21 12:54:06 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Aug 21 12:54:06 rpmi: icu-utils-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Aug 21 12:54:06 rpmi: libicu-devel-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Aug 21 12:54:06 rpmi: libXau-devel-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Aug 21 12:54:06 rpmi: libpng-devel-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Aug 21 12:54:06 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Aug 21 12:54:06 rpmi: libGLES-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:06 rpmi: libOpenGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:06 rpmi: libltdl7-2.4.6-alt3 sisyphus+279621.400.1.1 1626628222 installed <13>Aug 21 12:54:06 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Aug 21 12:54:06 rpmi: libfribidi-1.0.10-alt1 sisyphus+277991.100.1.1 1625932304 installed <13>Aug 21 12:54:06 rpmi: libdatrie-0.2.9-alt1_6 sisyphus+278217.100.1.1 1626078473 installed <13>Aug 21 12:54:06 rpmi: libthai-0.1.28-alt1_1 sisyphus+275403.100.1.2 1624502531 installed <13>Aug 21 12:54:06 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476328 installed <13>Aug 21 12:54:06 rpmi: libgnutls30-3.6.16-alt1 sisyphus+273086.100.1.1 1622478374 installed <13>Aug 21 12:54:06 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444970 installed <13>Aug 21 12:54:07 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Aug 21 12:54:07 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455836 installed <13>Aug 21 12:54:07 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624456196 installed <13>Aug 21 12:54:07 rpmi: libsystemd-1:249.3-alt1 sisyphus+283275.200.2.1 1629304960 installed <13>Aug 21 12:54:07 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Aug 21 12:54:07 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530700 installed <13>Aug 21 12:54:07 rpmi: libcups-2.3.3-alt6.op2 sisyphus+274028.100.1.1 1623149062 installed <13>Aug 21 12:54:07 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Aug 21 12:54:07 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560101 installed <13>Aug 21 12:54:07 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Aug 21 12:54:07 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Aug 21 12:54:07 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Aug 21 12:54:07 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Aug 21 12:54:07 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Aug 21 12:54:07 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Aug 21 12:54:07 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Aug 21 12:54:07 rpmi: libXfixes-5.0.3-alt1 sisyphus+275326.100.2.2 1624573639 installed <13>Aug 21 12:54:09 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Aug 21 12:54:09 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Aug 21 12:54:09 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Aug 21 12:54:09 rpmi: libXext-devel-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Aug 21 12:54:09 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134584 installed <13>Aug 21 12:54:09 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Aug 21 12:54:09 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Aug 21 12:54:09 rpmi: libXi-1.7.10-alt1 sisyphus+278284.100.1.2 1626151193 installed <13>Aug 21 12:54:09 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Aug 21 12:54:09 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573270 installed <13>Aug 21 12:54:09 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573270 installed <13>Aug 21 12:54:09 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Aug 21 12:54:09 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Aug 21 12:54:09 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454723 installed <13>Aug 21 12:54:09 rpmi: libGLX-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Aug 21 12:54:09 rpmi: libGLX-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:09 rpmi: libGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:09 rpmi: libgbm-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Aug 21 12:54:09 rpmi: libEGL-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Aug 21 12:54:09 rpmi: libEGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:09 rpmi: libglvnd-devel-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Aug 21 12:54:09 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Aug 21 12:54:09 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955707 installed <13>Aug 21 12:54:09 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Aug 21 12:54:09 rpmi: libtiff5-4.2.0-alt1 sisyphus+279102.100.1.1 1626378268 installed <13>Aug 21 12:54:10 rpmi: shared-mime-info-2.1-alt1 sisyphus+278982.100.1.1 1626350327 installed <13>Aug 21 12:54:10 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Aug 21 12:54:10 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Aug 21 12:54:10 rpmi: libgio-2.68.4-alt1 sisyphus+283495.100.1.1 1629451614 installed <13>Aug 21 12:54:10 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041559 installed <13>Aug 21 12:54:10 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927159 installed <13>Aug 21 12:54:10 rpmi: gtk-update-icon-cache-3.24.30-alt1 sisyphus+277720.100.1.1 1625768759 installed <13>Aug 21 12:54:10 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Aug 21 12:54:10 rpmi: libstdc++10-devel-10.3.1-alt3 sisyphus+281519.340.4.1 1627910476 installed <13>Aug 21 12:54:12 rpmi: gcc10-c++-10.3.1-alt3 sisyphus+281519.340.4.1 1627910476 installed <13>Aug 21 12:54:12 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Aug 21 12:54:12 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Aug 21 12:54:12 rpmi: libharfbuzz-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Aug 21 12:54:12 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Aug 21 12:54:12 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274963 installed Updating fonts cache: <29>Aug 21 12:54:13 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Aug 21 12:54:13 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Aug 21 12:54:13 rpmi: libXft-2.3.3-alt1 sisyphus+278258.100.1.2 1626135738 installed <13>Aug 21 12:54:13 rpmi: libpango-1.48.9-alt1 sisyphus+283305.300.1.1 1629309223 installed <13>Aug 21 12:54:13 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Aug 21 12:54:13 rpmi: scim-libs-1.4.18-alt1 sisyphus+278558.100.1.2 1626254960 installed <13>Aug 21 12:54:13 rpmi: libharfbuzz-icu-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Aug 21 12:54:13 rpmi: libharfbuzz-gobject-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Aug 21 12:54:13 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Aug 21 12:54:13 rpmi: xml-utils-1:2.9.12-alt1 sisyphus+279621.1100.1.1 1626630532 installed <13>Aug 21 12:54:13 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Aug 21 12:54:13 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Aug 21 12:54:13 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Aug 21 12:54:13 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Aug 21 12:54:13 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Aug 21 12:54:13 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Aug 21 12:54:13 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469643 installed <13>Aug 21 12:54:14 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469643 installed <13>Aug 21 12:54:14 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Aug 21 12:54:14 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Aug 21 12:54:15 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Aug 21 12:54:15 rpmi: glib2-devel-2.68.4-alt1 sisyphus+283495.100.1.1 1629451614 installed <13>Aug 21 12:54:15 rpmi: libfreetype-devel-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Aug 21 12:54:15 rpmi: libharfbuzz-devel-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Aug 21 12:54:15 rpmi: fontconfig-devel-2.13.1-alt2 sisyphus+283256.100.1.1 1629274963 installed <13>Aug 21 12:54:15 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Aug 21 12:54:15 rpmi: libgio-devel-2.68.4-alt1 sisyphus+283495.100.1.1 1629451614 installed <13>Aug 21 12:54:15 rpmi: libgdk-pixbuf-devel-2.42.6-alt1 sisyphus+277964.100.1.1 1625927159 installed <13>Aug 21 12:54:15 rpmi: libXft-devel-2.3.3-alt1 sisyphus+278258.100.1.2 1626135738 installed <13>Aug 21 12:54:15 rpmi: libpango-devel-1.48.9-alt1 sisyphus+283305.300.1.1 1629309223 installed <13>Aug 21 12:54:15 rpmi: libatk-devel-2.36.0-alt1 sisyphus+275092.100.2.1 1624560101 installed <13>Aug 21 12:54:15 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Aug 21 12:54:15 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Aug 21 12:54:15 rpmi: scim-devel-1.4.18-alt1 sisyphus+278558.100.1.2 1626254960 installed <13>Aug 21 12:54:15 rpmi: gcc-c++-10-alt2 sisyphus+281519.400.4.1 1627911328 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/scim-fcitx-3.1.1-alt1.1.qa1.nosrc.rpm (w1.gzdio) Installing scim-fcitx-3.1.1-alt1.1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.67613 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf fcitx + echo 'Source #0 (scim-fcitx.3.1.1.tar.bz2):' Source #0 (scim-fcitx.3.1.1.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/scim-fcitx.3.1.1.tar.bz2 + /bin/tar -xf - + cd fcitx + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (scim-fcitx-3.1.1-gcc43.patch):' Patch #0 (scim-fcitx-3.1.1-gcc43.patch): + /usr/bin/patch -p1 -b --suffix .1-gcc43 patching file src/scim_fcitx_imengine.cpp patching file src/sp.cpp patching file src/ime.cpp + echo 'Patch #1 (scim-fcitx-3.1.1-alt-glibc-2.16.patch):' Patch #1 (scim-fcitx-3.1.1-alt-glibc-2.16.patch): + /usr/bin/patch -p2 patching file src/scim_fcitx_imengine.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67613 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fcitx + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for style of include used by make... GNU checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking dependency style of i586-alt-linux-gcc... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /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... (cached) pass_all checking how to run the C preprocessor... i586-alt-linux-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 i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for i586-alt-linux-g77... no checking for i586-alt-linux-f77... no checking for i586-alt-linux-xlf... no checking for i586-alt-linux-frt... no checking for i586-alt-linux-pgf77... no checking for i586-alt-linux-fort77... no checking for i586-alt-linux-fl32... no checking for i586-alt-linux-af77... no checking for i586-alt-linux-f90... no checking for i586-alt-linux-xlf90... no checking for i586-alt-linux-pgf90... no checking for i586-alt-linux-epcf90... no checking for i586-alt-linux-f95... no checking for i586-alt-linux-fort... no checking for i586-alt-linux-xlf95... no checking for i586-alt-linux-ifc... no checking for i586-alt-linux-efc... no checking for i586-alt-linux-pgf95... no checking for i586-alt-linux-lf95... no checking for i586-alt-linux-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 i586-alt-linux-gcc object... ok checking for objdir... .libs checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-strip... no checking for strip... strip checking if i586-alt-linux-gcc static flag works... yes checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC checking if i586-alt-linux-gcc PIC flag -fPIC works... yes checking if i586-alt-linux-gcc supports -c -o file.o... yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking 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 i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC checking if i586-alt-linux-g++ PIC flag -fPIC works... yes checking if i586-alt-linux-g++ supports -c -o file.o... yes checking whether the i586-alt-linux-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 /etc/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 i586-alt-linux-g++... (cached) i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether i586-alt-linux-g++ accepts -g... (cached) yes checking dependency style of i586-alt-linux-g++... (cached) none checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ANSI C... (cached) none needed checking dependency style of i586-alt-linux-gcc... (cached) none checking for an ANSI C-conforming const... (cached) yes checking for size_t... yes checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for 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: Entering directory '/usr/src/RPM/BUILD/fcitx' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/fcitx' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/src' /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-scim_fcitx_imengine.lo `test -f 'scim_fcitx_imengine.cpp' || echo './'`scim_fcitx_imengine.cpp mkdir .libs i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:106:27: warning: 'FcitxInstance::m_lock_property' will be initialized after [-Wreorder] 106 | Property m_lock_property; | ^~~~~~~~~~~~~~~ scim_fcitx_imengine.h:93:23: warning: 'bool FcitxInstance::m_unicode' [-Wreorder] 93 | 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; i<uMessageUp; i++) { | ~^~~~~~~~~~~ scim_fcitx_imengine.cpp:272:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 272 | if (iCurTmp>strlen(messageUp[i].strMsg)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scim_fcitx_imengine.cpp:278:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 278 | else if (iCurTmp<strlen(messageUp[i].strMsg)){ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scim_fcitx_imengine.cpp:286:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 286 | if(iCurTmp+1<strlen(messageUp[i].strMsg)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scim_fcitx_imengine.cpp:298:10: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 298 | if(i==uMessageUp-1) { | ~^~~~~~~~~~~~~~ scim_fcitx_imengine.cpp:321:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 321 | for (int i=0; i<uMessageDown; i++) { | ~^~~~~~~~~~~~~ scim_fcitx_imengine.cpp: In member function 'void FcitxInstance::refresh_status_property()': scim_fcitx_imengine.cpp:518:50: warning: array subscript has type 'char' [-Wchar-subscripts] 518 | int i = strlen(SCIM_STATUS_ICON) + strlen(im[iIMIndex].strName) + 5; | ^~~~~~~~ scim_fcitx_imengine.cpp:520:66: warning: array subscript has type 'char' [-Wchar-subscripts] 520 | sprintf(buff, SCIM_STATUS_ICON, imeState==IS_CHN?"":"no", im[iIMIndex].strName); | ^~~~~~~~ /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-ime.lo `test -f 'ime.cpp' || echo './'`ime.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ime.cpp -fPIC -DPIC -o .libs/fcitx_la-ime.o In file included from ime.cpp:13: ime.cpp: In function 'void ResetInput()': ime.h:16:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | #define NAME_OF_PINYIN "pinyin" | ^~~~~~~~ ime.cpp:138:15: note: in expansion of macro 'NAME_OF_PINYIN' 138 | if (IsIM (NAME_OF_PINYIN)) | ^~~~~~~~~~~~~~ ime.cpp:143:12: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | if (im[iIMIndex].ResetIM) | ^~~~~~~~ ime.cpp:144:5: warning: array subscript has type 'char' [-Wchar-subscripts] 144 | im[iIMIndex].ResetIM (); | ^~~~~~~~ ime.cpp: In function 'bool ProcessKey(FcitxInstance&, const scim::KeyEvent&)': ime.cpp:183:17: warning: array subscript has type 'char' [-Wchar-subscripts] 183 | pstr = im[iIMIndex].GetCandWord (1); | ^~~~~~~~ ime.cpp:204:17: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | pstr = im[iIMIndex].GetCandWord (2); | ^~~~~~~~ ime.cpp:252:16: warning: array subscript has type 'char' [-Wchar-subscripts] 252 | retVal = im[iIMIndex].DoInput (key); | ^~~~~~~~ In file included from ime.cpp:13: ime.h:16:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | #define NAME_OF_PINYIN "pinyin" | ^~~~~~~~ ime.cpp:253:15: note: in expansion of macro 'NAME_OF_PINYIN' 253 | if (!IsIM (NAME_OF_PINYIN) && !IsIM (NAME_OF_SHUANGPIN)) | ^~~~~~~~~~~~~~ ime.h:17:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | #define NAME_OF_SHUANGPIN "shuangpin" | ^~~~~~~~~~~ ime.cpp:253:41: note: in expansion of macro 'NAME_OF_SHUANGPIN' 253 | if (!IsIM (NAME_OF_PINYIN) && !IsIM (NAME_OF_SHUANGPIN)) | ^~~~~~~~~~~~~~~~~ ime.cpp:274:15: warning: array subscript has type 'char' [-Wchar-subscripts] 274 | pstr = im[iIMIndex].GetCandWord (0); | ^~~~~~~~ ime.cpp:292:20: warning: array subscript has type 'char' [-Wchar-subscripts] 292 | retVal = im[iIMIndex].GetCandWords (SM_PREV); | ^~~~~~~~ ime.cpp:294:20: warning: array subscript has type 'char' [-Wchar-subscripts] 294 | retVal = im[iIMIndex].GetCandWords (SM_NEXT); | ^~~~~~~~ ime.cpp:357:20: warning: array subscript has type 'char' [-Wchar-subscripts] 357 | pstr = im[iIMIndex].GetCandWord (0); | ^~~~~~~~ ime.cpp:387:21: warning: array subscript has type 'char' [-Wchar-subscripts] 387 | pstr = im[iIMIndex].GetCandWord (0); | ^~~~~~~~ ime.cpp:533:24: warning: array subscript has type 'char' [-Wchar-subscripts] 533 | if (bPhraseTips && im[iIMIndex].PhraseTips) | ^~~~~~~~ ime.cpp:154:21: warning: unused variable 'count' [-Wunused-variable] 154 | int count; //在原先的fcitx中,count表示keyboard buffer中有多少字符。 | ^~~~~ ime.cpp:158:21: warning: unused variable 'keyCount' [-Wunused-variable] 158 | int keyCount; | ^~~~~~~~ ime.cpp: In function 'void SwitchIM(INT8)': ime.cpp:640:12: warning: array subscript has type 'char' [-Wchar-subscripts] 640 | if (im[iLastIM].Destroy != NULL) | ^~~~~~~ ime.cpp:641:5: warning: array subscript has type 'char' [-Wchar-subscripts] 641 | im[iLastIM].Destroy (); | ^~~~~~~ ime.cpp:648:12: warning: array subscript has type 'char' [-Wchar-subscripts] 648 | if (im[iIMIndex].Init) | ^~~~~~~~ ime.cpp:649:5: warning: array subscript has type 'char' [-Wchar-subscripts] 649 | im[iIMIndex].Init (); | ^~~~~~~~ ime.cpp: In function 'void DoPhraseTips()': ime.cpp:657:12: warning: array subscript has type 'char' [-Wchar-subscripts] 657 | if (im[iIMIndex].PhraseTips ()) | ^~~~~~~~ ime.cpp: In function 'void RegisterNewIM(char*, void (*)(), INPUT_RETURN_VALUE (*)(const scim::KeyEvent&), INPUT_RETURN_VALUE (*)(SEARCH_MODE), char* (*)(int), char* (*)(int), int (*)(), void (*)(), void (*)())': ime.cpp:679:16: warning: array subscript has type 'char' [-Wchar-subscripts] 679 | strcpy (im[iIMCount].strName, strName); | ^~~~~~~~ ime.cpp:680:8: warning: array subscript has type 'char' [-Wchar-subscripts] 680 | im[iIMCount].ResetIM = ResetIM; | ^~~~~~~~ ime.cpp:681:8: warning: array subscript has type 'char' [-Wchar-subscripts] 681 | im[iIMCount].DoInput = DoInput; | ^~~~~~~~ ime.cpp:682:8: warning: array subscript has type 'char' [-Wchar-subscripts] 682 | im[iIMCount].GetCandWords = GetCandWords; | ^~~~~~~~ ime.cpp:683:8: warning: array subscript has type 'char' [-Wchar-subscripts] 683 | im[iIMCount].GetCandWord = GetCandWord; | ^~~~~~~~ ime.cpp:684:8: warning: array subscript has type 'char' [-Wchar-subscripts] 684 | im[iIMCount].GetLegendCandWord = GetLegendCandWord; | ^~~~~~~~ ime.cpp:685:8: warning: array subscript has type 'char' [-Wchar-subscripts] 685 | im[iIMCount].PhraseTips = PhraseTips; | ^~~~~~~~ ime.cpp:686:8: warning: array subscript has type 'char' [-Wchar-subscripts] 686 | im[iIMCount].Init = Init; | ^~~~~~~~ ime.cpp:687:8: warning: array subscript has type 'char' [-Wchar-subscripts] 687 | im[iIMCount].Destroy = Destroy; | ^~~~~~~~ ime.cpp: In function 'int IsIM(char*)': ime.cpp:694:20: warning: array subscript has type 'char' [-Wchar-subscripts] 694 | if (strstr (im[iIMIndex].strName, strName)) | ^~~~~~~~ In file included from ime.cpp:13: ime.cpp: In function 'void SetIM()': ime.h:16:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | #define NAME_OF_PINYIN "pinyin" | ^~~~~~~~ ime.cpp:735:17: note: in expansion of macro 'NAME_OF_PINYIN' 735 | RegisterNewIM (NAME_OF_PINYIN, ResetPYStatus, DoPYInput, PYGetCandWords, PYGetCandWord, PYGetLegendCandWord, NULL, PYInit, NULL); | ^~~~~~~~~~~~~~ ime.h:17:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | #define NAME_OF_SHUANGPIN "shuangpin" | ^~~~~~~~~~~ ime.cpp:737:17: note: in expansion of macro 'NAME_OF_SHUANGPIN' 737 | RegisterNewIM (NAME_OF_SHUANGPIN, ResetPYStatus, DoPYInput, PYGetCandWords, PYGetCandWord, PYGetLegendCandWord, NULL, SPInit, NULL); | ^~~~~~~~~~~~~~~~~ ime.h:18:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 18 | #define NAME_OF_QUWEI "quwei" | ^~~~~~~ ime.cpp:739:17: note: in expansion of macro 'NAME_OF_QUWEI' 739 | RegisterNewIM (NAME_OF_QUWEI, NULL, DoQWInput, QWGetCandWords, QWGetCandWord, NULL, NULL, NULL, NULL); | ^~~~~~~~~~~~~ ime.cpp:742:27: warning: array subscript has type 'char' [-Wchar-subscripts] 742 | RegisterNewIM (table[i].strName, TableResetStatus, DoTableInput, TableGetCandWords, TableGetCandWord, TableGetLegendCandWord, TablePhraseTips, TableInit, FreeTableIM); | ^ ime.cpp:743:12: warning: array subscript has type 'char' [-Wchar-subscripts] 743 | table[i].iIMIndex = iIMCount - 1; | ^ /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c main.cpp -fPIC -DPIC -o .libs/fcitx_la-main.o /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-py.lo `test -f 'py.cpp' || echo './'`py.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c py.cpp -fPIC -DPIC -o .libs/fcitx_la-py.o py.cpp: In function 'int LoadPYBaseDict()': py.cpp:124:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 124 | if (iLen > 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 '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 '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 'unsigned int'} [-Wsign-compare] 797 | if (iPYInsertPoint > strlen (strFindString)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:802:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka '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 '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:1067:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1067 | while (strlen (strPYAuto) != findMap.iHZCount * 2) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ py.cpp:1092:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka '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 '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 '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 '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 '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 '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 '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 '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:532, 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:75:33: warning: 'char* __builtin_strcpy(char*, const char*)' accessing 1 byte at offsets [0, 301] and [0, 301] overlaps 1 byte at offset [0, 300] [-Wrestrict] 75 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-pyMapTable.lo `test -f 'pyMapTable.cpp' || echo './'`pyMapTable.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c pyMapTable.cpp -fPIC -DPIC -o .libs/fcitx_la-pyMapTable.o /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-qw.lo `test -f 'qw.cpp' || echo './'`qw.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c qw.cpp -fPIC -DPIC -o .libs/fcitx_la-qw.o /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-tools.lo `test -f 'tools.cpp' || echo './'`tools.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c tools.cpp -fPIC -DPIC -o .libs/fcitx_la-tools.o tools.cpp: In function 'int CheckHZCharset(char*)': tools.cpp:544:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 544 | for (i = 0; i < strlen (strHZ); i++) { | ~~^~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-table.lo `test -f 'table.cpp' || echo './'`table.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:270:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'INT8' {aka 'char'} [-Wsign-compare] 270 | for (i = 0; i < iTableCount; i++) { | ~~^~~~~~~~~~~~~ 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:405:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'INT8' {aka 'char'} [-Wsign-compare] 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 '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 '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 '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 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-punc.lo `test -f 'punc.cpp' || echo './'`punc.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c punc.cpp -fPIC -DPIC -o .libs/fcitx_la-punc.o /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-PYFA.lo `test -f 'PYFA.cpp' || echo './'`PYFA.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-pyParser.lo `test -f 'pyParser.cpp' || echo './'`pyParser.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-sp.lo `test -f 'sp.cpp' || echo './'`sp.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c sp.cpp -fPIC -DPIC -o .libs/fcitx_la-sp.o /bin/sh ../libtool --mode=compile i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o fcitx_la-xim.lo `test -f 'xim.cpp' || echo './'`xim.cpp i586-alt-linux-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 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o fcitx.la -rpath /usr/lib/scim-1.0/1.4.0/IMEngine -avoid-version -rpath /usr/lib/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 i586-alt-linux-g++ -shared -nostdlib /usr/lib/gcc/i586-alt-linux/10/../../../crti.o /usr/lib/gcc/i586-alt-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/i586-alt-linux/10 -L/usr/lib/gcc/i586-alt-linux/10/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/10/crtendS.o /usr/lib/gcc/i586-alt-linux/10/../../../crtn.o -march=i586 -mtune=generic -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 '/usr/src/RPM/BUILD/fcitx/src' Making all in icons make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/icons' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx/icons' Making all in tools make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/tools' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o mb2txt mb2txt.o mkdir .libs i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o mb2txt mb2txt.o i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c `test -f 'txt2mb.c' || echo './'`txt2mb.c /bin/sh ../libtool --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o txt2mb txt2mb.o i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o txt2mb txt2mb.o i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/include/scim-1.0 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 'void CreatePYPhrase()': createPYMB.cpp:157:23: warning: comparison of integer expressions of different signedness: 'INT8' {aka 'char'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 157 | if (strTemp.iHZCount != strlen (strPhrase)/2 || (strTemp.iMode & PARSE_ABBR)) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 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 i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o createPYMB createPYMB-createPYMB.o -lscim-1.0 i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o createPYMB createPYMB-createPYMB.o -lscim-1.0 make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx/tools' Making all in data make[2]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/fcitx/data' make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx' make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx' make[1]: Leaving directory '/usr/src/RPM/BUILD/fcitx' make: Leaving directory '/usr/src/RPM/BUILD/fcitx' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.25003 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/scim-fcitx-buildroot + : + /bin/rm -rf -- /usr/src/tmp/scim-fcitx-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd fcitx + make DESTDIR=/usr/src/tmp/scim-fcitx-buildroot install make: Entering directory '/usr/src/RPM/BUILD/fcitx' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/fcitx/src' make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/src' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /usr/src/tmp/scim-fcitx-buildroot/usr/lib/scim-1.0/1.4.0/IMEngine mkdir -p -- /usr/src/tmp/scim-fcitx-buildroot/usr/lib/scim-1.0/1.4.0/IMEngine /bin/sh ../libtool --mode=install /bin/install -c fcitx.la /usr/src/tmp/scim-fcitx-buildroot/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.la /bin/install -c .libs/fcitx.so /usr/src/tmp/scim-fcitx-buildroot/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so /bin/install -c .libs/fcitx.lai /usr/src/tmp/scim-fcitx-buildroot/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.la libtool: install: warning: remember to run `libtool --finish /usr/lib/scim-1.0/1.4.0/IMEngine' make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/fcitx/src' Making install in icons make[1]: Entering directory '/usr/src/RPM/BUILD/fcitx/icons' make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/icons' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx mkdir -p -- /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx /bin/install -c -m 644 cangjie.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/cangjie.png /bin/install -c -m 644 full-punct.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/full-punct.png /bin/install -c -m 644 legend.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/legend.png /bin/install -c -m 644 nofcitx.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nofcitx.png /bin/install -c -m 644 nopinyin.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nopinyin.png /bin/install -c -m 644 nowubi98.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nowubi98.png /bin/install -c -m 644 wubi86.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/wubi86.png /bin/install -c -m 644 erbi.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/erbi.png /bin/install -c -m 644 gbk.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/gbk.png /bin/install -c -m 644 lock.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/lock.png /bin/install -c -m 644 nogbk.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nogbk.png /bin/install -c -m 644 noquwei.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/noquwei.png /bin/install -c -m 644 pinyin.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/pinyin.png /bin/install -c -m 644 wubi98.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/wubi98.png /bin/install -c -m 644 fcitx.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/fcitx.png /bin/install -c -m 644 half-letter.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/half-letter.png /bin/install -c -m 644 nocangjie.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nocangjie.png /bin/install -c -m 644 nolegend.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nolegend.png /bin/install -c -m 644 noshuangpin.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/noshuangpin.png /bin/install -c -m 644 quwei.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/quwei.png /bin/install -c -m 644 full-letter.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/full-letter.png /bin/install -c -m 644 half-punct.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/half-punct.png /bin/install -c -m 644 noerbi.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/noerbi.png /bin/install -c -m 644 nolock.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nolock.png /bin/install -c -m 644 nowubi86.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/nowubi86.png /bin/install -c -m 644 shuangpin.png /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/icons/fcitx/shuangpin.png make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx/icons' make[1]: Leaving directory '/usr/src/RPM/BUILD/fcitx/icons' Making install in tools make[1]: Entering directory '/usr/src/RPM/BUILD/fcitx/tools' make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/tools' /bin/sh ../mkinstalldirs /usr/src/tmp/scim-fcitx-buildroot/usr/bin mkdir -p -- /usr/src/tmp/scim-fcitx-buildroot/usr/bin /bin/sh ../libtool --mode=install /bin/install -c mb2txt /usr/src/tmp/scim-fcitx-buildroot/usr/bin/mb2txt /bin/install -c mb2txt /usr/src/tmp/scim-fcitx-buildroot/usr/bin/mb2txt /bin/sh ../libtool --mode=install /bin/install -c txt2mb /usr/src/tmp/scim-fcitx-buildroot/usr/bin/txt2mb /bin/install -c txt2mb /usr/src/tmp/scim-fcitx-buildroot/usr/bin/txt2mb /bin/sh ../libtool --mode=install /bin/install -c createPYMB /usr/src/tmp/scim-fcitx-buildroot/usr/bin/createPYMB /bin/install -c createPYMB /usr/src/tmp/scim-fcitx-buildroot/usr/bin/createPYMB make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx/tools' make[1]: Leaving directory '/usr/src/RPM/BUILD/fcitx/tools' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/fcitx/data' make[2]: Entering directory '/usr/src/RPM/BUILD/fcitx/data' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx mkdir -p -- /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx /bin/install -c -m 644 cj.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/cj.mb /bin/install -c -m 644 erbi.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/erbi.mb /bin/install -c -m 644 punc.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/punc.mb /bin/install -c -m 644 pybase.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/pybase.mb /bin/install -c -m 644 pyphrase.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/pyphrase.mb /bin/install -c -m 644 pySym.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/pySym.mb /bin/install -c -m 644 sp.dat /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/sp.dat /bin/install -c -m 644 wbx.mb /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/wbx.mb /bin/install -c -m 644 tables.conf /usr/src/tmp/scim-fcitx-buildroot/usr/share/scim/fcitx/tables.conf make[2]: Leaving directory '/usr/src/RPM/BUILD/fcitx/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/fcitx/data' make[1]: Entering directory '/usr/src/RPM/BUILD/fcitx' make[2]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/fcitx' make[1]: Leaving directory '/usr/src/RPM/BUILD/fcitx' make: Leaving directory '/usr/src/RPM/BUILD/fcitx' + rm /usr/src/tmp/scim-fcitx-buildroot//usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.la + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/scim-fcitx-buildroot (auto) mode of './usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/scim-fcitx-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/scim-fcitx-buildroot/ (default) Compressing files in /usr/src/tmp/scim-fcitx-buildroot (auto) Adjusting library links in /usr/src/tmp/scim-fcitx-buildroot ./usr/lib: (from <cmdline>:0) Verifying ELF objects in /usr/src/tmp/scim-fcitx-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/createPYMB: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/txt2mb: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/mb2txt: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so: uses non-LFS functions: fopen Processing files: scim-fcitx-3.1.1-alt1.1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.45816 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fcitx + DOCDIR=/usr/src/tmp/scim-fcitx-buildroot/usr/share/doc/scim-fcitx-3.1.1 + export DOCDIR + rm -rf /usr/src/tmp/scim-fcitx-buildroot/usr/share/doc/scim-fcitx-3.1.1 + /bin/mkdir -p /usr/src/tmp/scim-fcitx-buildroot/usr/share/doc/scim-fcitx-3.1.1 + cp -prL AUTHORS COPYING README ChangeLog /usr/src/tmp/scim-fcitx-buildroot/usr/share/doc/scim-fcitx-3.1.1 + chmod -R go-w /usr/src/tmp/scim-fcitx-buildroot/usr/share/doc/scim-fcitx-3.1.1 + chmod -R a+rX /usr/src/tmp/scim-fcitx-buildroot/usr/share/doc/scim-fcitx-3.1.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1RfZwf find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JR20bg find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: scim, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libscim-1.0.so.8 >= set:oi8BZ8OhgBFAFhFXWKQg4m5ih9s0mt8fobdjVhxM66kViHTbBU27ZGRZaF2TEAGCbin5ZGdGcGcHrq0eZwzYoKhddehUquTd45cK503ZC9wbZFg3E1ct0t5DxQ0fZhASNpvkJBAaDi1f9pl42N9n2, libscim-1.0.so.8(LIBSCIM_1.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GQ80jf Creating scim-fcitx-debuginfo package Processing files: scim-fcitx-tools-3.1.1-alt1.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oOkCOh find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hJgghh find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3qusvj Creating scim-fcitx-tools-debuginfo package Processing files: scim-fcitx-debuginfo-3.1.1-alt1.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6U5dsf find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0rpIaf find-requires: running scripts (debuginfo) Requires: scim-fcitx = 3.1.1-alt1.1.qa1, debug(libc.so.6), debug(libgcc_s.so.1), debug(libscim-1.0.so.8), debug(libstdc++.so.6) Processing files: scim-fcitx-tools-debuginfo-3.1.1-alt1.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6WlFKh find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gV3rGg find-requires: running scripts (debuginfo) Requires: scim-fcitx-tools = 3.1.1-alt1.1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/scim-fcitx-3.1.1-alt1.1.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/scim-fcitx-tools-3.1.1-alt1.1.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/scim-fcitx-debuginfo-3.1.1-alt1.1.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/scim-fcitx-tools-debuginfo-3.1.1-alt1.1.qa1.i586.rpm (w2.lzdio) 42.07user 10.84system 0:59.58elapsed 88%CPU (0avgtext+0avgdata 98712maxresident)k 0inputs+0outputs (0major+1658537minor)pagefaults 0swaps 59.40user 18.94system 1:24.67elapsed 92%CPU (0avgtext+0avgdata 102612maxresident)k 0inputs+0outputs (0major+2056055minor)pagefaults 0swaps --- scim-fcitx-3.1.1-alt1.1.qa1.i586.rpm.repo 2015-11-18 14:29:12.000000000 +0000 +++ scim-fcitx-3.1.1-alt1.1.qa1.i586.rpm.hasher 2021-08-21 12:55:22.083955964 +0000 @@ -56,2 +56,3 @@ Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) @@ -61,3 +62,3 @@ Provides: scim-fcitx = 3.1.1-alt1.1.qa1 -File: /usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so 100644 root:root 8225f8e98a4d0758a588308e4b799bfd +File: /usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so 100644 root:root 823cd24042a331fa4474d146b248ce3b File: /usr/share/doc/scim-fcitx-3.1.1 40755 root:root @@ -104,2 +105,2 @@ File: /usr/share/scim/icons/fcitx/wubi98.png 100644 root:root 282dcfeb05c27dd64746860dbaaa5ba7 -RPMIdentity: 6eb1dabc0305493e770acd450e6c81baecd68ed49f403bc716381074bffd807fa5be12f9a7e353d3dfe2c2b2c3d18c434c54800dff50993e12ded62ef846d641 +RPMIdentity: a7490ce01dde6569d35502b1526e30d93d6e7f79e1270ff53373238e18c1c4a9992b9d8860c5ff458409c155d747c93788c2aa40d920008188c1bce013fbf8e8 --- scim-fcitx-debuginfo-3.1.1-alt1.1.qa1.i586.rpm.repo 2015-11-18 14:29:12.000000000 +0000 +++ scim-fcitx-debuginfo-3.1.1-alt1.1.qa1.i586.rpm.hasher 2021-08-21 12:55:22.208951493 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/96 40755 root:root -/usr/lib/debug/.build-id/96/1cdb0a27c642a348dee0c75ac06f30aabaf257 120777 root:root ../../../scim-1.0/1.4.0/IMEngine/fcitx.so -/usr/lib/debug/.build-id/96/1cdb0a27c642a348dee0c75ac06f30aabaf257.debug 120777 root:root ../../usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so.debug +/usr/lib/debug/.build-id/61 40755 root:root +/usr/lib/debug/.build-id/61/fd58b8562bc67b32040f44eb947d6304e9a92b 120777 root:root ../../../scim-1.0/1.4.0/IMEngine/fcitx.so +/usr/lib/debug/.build-id/61/fd58b8562bc67b32040f44eb947d6304e9a92b.debug 120777 root:root ../../usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so.debug /usr/lib/debug/usr/lib/scim-1.0 40755 root:root @@ -41,5 +41,5 @@ Provides: scim-fcitx-debuginfo = 3.1.1-alt1.1.qa1 -File: /usr/lib/debug/.build-id/96 40755 root:root -File: /usr/lib/debug/.build-id/96/1cdb0a27c642a348dee0c75ac06f30aabaf257 120777 root:root ../../../scim-1.0/1.4.0/IMEngine/fcitx.so -File: /usr/lib/debug/.build-id/96/1cdb0a27c642a348dee0c75ac06f30aabaf257.debug 120777 root:root ../../usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so.debug +File: /usr/lib/debug/.build-id/61 40755 root:root +File: /usr/lib/debug/.build-id/61/fd58b8562bc67b32040f44eb947d6304e9a92b 120777 root:root ../../../scim-1.0/1.4.0/IMEngine/fcitx.so +File: /usr/lib/debug/.build-id/61/fd58b8562bc67b32040f44eb947d6304e9a92b.debug 120777 root:root ../../usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so.debug File: /usr/lib/debug/usr/lib/scim-1.0 40755 root:root @@ -47,3 +47,3 @@ File: /usr/lib/debug/usr/lib/scim-1.0/1.4.0/IMEngine 40755 root:root -File: /usr/lib/debug/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so.debug 100644 root:root 98c2ee2470911ea068c7ad8d9bd4e268 +File: /usr/lib/debug/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so.debug 100644 root:root 8b7ec0d67d746544cb3287d48101cd4c File: /usr/src/debug/fcitx 40755 root:root @@ -75,2 +75,2 @@ File: /usr/src/debug/fcitx/src/xim.h 100644 root:root 78d0b05f0c41c2ab9c4f36655dc4a5b8 -RPMIdentity: 6d6a44cc4a1e354a807d504c544e11ae40fb17cb663588764761c1768261a3621310e6663b8f97be9dcf17a89e031b749843e2fda4904701e4aca99da3f7511b +RPMIdentity: bd48ccf2939b249102128f690ad744a8107870e3c1ee45b03bceb3ba16b42c715bb92abe32a755720c6cef9bbfa55cb25d430a3a7f8ff8559ef0e747f988db33 --- scim-fcitx-tools-3.1.1-alt1.1.qa1.i586.rpm.repo 2015-11-18 14:29:12.000000000 +0000 +++ scim-fcitx-tools-3.1.1-alt1.1.qa1.i586.rpm.hasher 2021-08-21 12:55:22.331947094 +0000 @@ -14,5 +14,5 @@ Provides: scim-fcitx-tools = 3.1.1-alt1.1.qa1 -File: /usr/bin/createPYMB 100755 root:root 69ae3ef849f0d085809548f028ed927f -File: /usr/bin/mb2txt 100755 root:root 23354ea4212a9b5861e8d9b10a0697e9 -File: /usr/bin/txt2mb 100755 root:root 7555f782e947b176f053dd0cd0a3f30f -RPMIdentity: 3c22e988b2a1dfecb4c6e8083b93b7b0aae108080b877e541f7032ee17878544f702f8bd1e5be502cdc568e9f0508dbbab34657889eefae63d5d8685fd93098d +File: /usr/bin/createPYMB 100755 root:root 1261e1d755e2370a269c893266a36d02 +File: /usr/bin/mb2txt 100755 root:root 6f923e48a261829f341928f04d5f0714 +File: /usr/bin/txt2mb 100755 root:root d50cc4e5785bede68c7e2be023c7aaa6 +RPMIdentity: 671df6f910159e5e1e8605682e8b1a095155c5bd989a593ffe6b4d7c422db5b2d2f8d199663b0896a2b73c226d4e54332368c57c7ca6f4d96c8b63222f7b9a01 --- scim-fcitx-tools-debuginfo-3.1.1-alt1.1.qa1.i586.rpm.repo 2015-11-18 14:29:12.000000000 +0000 +++ scim-fcitx-tools-debuginfo-3.1.1-alt1.1.qa1.i586.rpm.hasher 2021-08-21 12:55:22.452942766 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/09 40755 root:root -/usr/lib/debug/.build-id/09/7c4aa3c0a6c8c9c71f33bbb5224f04455efc52 120777 root:root ../../../../bin/txt2mb -/usr/lib/debug/.build-id/09/7c4aa3c0a6c8c9c71f33bbb5224f04455efc52.debug 120777 root:root ../../usr/bin/txt2mb.debug -/usr/lib/debug/.build-id/66 40755 root:root -/usr/lib/debug/.build-id/66/77eb5b045d08e2a6596774a0540d747b42a4e7 120777 root:root ../../../../bin/mb2txt -/usr/lib/debug/.build-id/66/77eb5b045d08e2a6596774a0540d747b42a4e7.debug 120777 root:root ../../usr/bin/mb2txt.debug -/usr/lib/debug/.build-id/7b 40755 root:root -/usr/lib/debug/.build-id/7b/ba4ae6d6dd8a37a21dabf2e71e521a9cf07b1f 120777 root:root ../../../../bin/createPYMB -/usr/lib/debug/.build-id/7b/ba4ae6d6dd8a37a21dabf2e71e521a9cf07b1f.debug 120777 root:root ../../usr/bin/createPYMB.debug +/usr/lib/debug/.build-id/28 40755 root:root +/usr/lib/debug/.build-id/28/dd377137c91bbc3d563d6015e311c34cb67e73 120777 root:root ../../../../bin/mb2txt +/usr/lib/debug/.build-id/28/dd377137c91bbc3d563d6015e311c34cb67e73.debug 120777 root:root ../../usr/bin/mb2txt.debug +/usr/lib/debug/.build-id/6c 40755 root:root +/usr/lib/debug/.build-id/6c/85d1bf6e7f21d5e044f3e4ebe0adbbe021e779 120777 root:root ../../../../bin/createPYMB +/usr/lib/debug/.build-id/6c/85d1bf6e7f21d5e044f3e4ebe0adbbe021e779.debug 120777 root:root ../../usr/bin/createPYMB.debug +/usr/lib/debug/.build-id/f0 40755 root:root +/usr/lib/debug/.build-id/f0/21f63a106eedc7fabd8a6ca505649541fa0c1b 120777 root:root ../../../../bin/txt2mb +/usr/lib/debug/.build-id/f0/21f63a106eedc7fabd8a6ca505649541fa0c1b.debug 120777 root:root ../../usr/bin/txt2mb.debug /usr/lib/debug/usr/bin/createPYMB.debug 100644 root:root @@ -34,14 +34,14 @@ Provides: scim-fcitx-tools-debuginfo = 3.1.1-alt1.1.qa1 -File: /usr/lib/debug/.build-id/09 40755 root:root -File: /usr/lib/debug/.build-id/09/7c4aa3c0a6c8c9c71f33bbb5224f04455efc52 120777 root:root ../../../../bin/txt2mb -File: /usr/lib/debug/.build-id/09/7c4aa3c0a6c8c9c71f33bbb5224f04455efc52.debug 120777 root:root ../../usr/bin/txt2mb.debug -File: /usr/lib/debug/.build-id/66 40755 root:root -File: /usr/lib/debug/.build-id/66/77eb5b045d08e2a6596774a0540d747b42a4e7 120777 root:root ../../../../bin/mb2txt -File: /usr/lib/debug/.build-id/66/77eb5b045d08e2a6596774a0540d747b42a4e7.debug 120777 root:root ../../usr/bin/mb2txt.debug -File: /usr/lib/debug/.build-id/7b 40755 root:root -File: /usr/lib/debug/.build-id/7b/ba4ae6d6dd8a37a21dabf2e71e521a9cf07b1f 120777 root:root ../../../../bin/createPYMB -File: /usr/lib/debug/.build-id/7b/ba4ae6d6dd8a37a21dabf2e71e521a9cf07b1f.debug 120777 root:root ../../usr/bin/createPYMB.debug -File: /usr/lib/debug/usr/bin/createPYMB.debug 100644 root:root 081778e0388a79eecb94a5ada9c60c90 -File: /usr/lib/debug/usr/bin/mb2txt.debug 100644 root:root 05fd093bf543b9f091cd5eee2ffdde43 -File: /usr/lib/debug/usr/bin/txt2mb.debug 100644 root:root a98acbbe5e5850110a2fe46837b98ec1 +File: /usr/lib/debug/.build-id/28 40755 root:root +File: /usr/lib/debug/.build-id/28/dd377137c91bbc3d563d6015e311c34cb67e73 120777 root:root ../../../../bin/mb2txt +File: /usr/lib/debug/.build-id/28/dd377137c91bbc3d563d6015e311c34cb67e73.debug 120777 root:root ../../usr/bin/mb2txt.debug +File: /usr/lib/debug/.build-id/6c 40755 root:root +File: /usr/lib/debug/.build-id/6c/85d1bf6e7f21d5e044f3e4ebe0adbbe021e779 120777 root:root ../../../../bin/createPYMB +File: /usr/lib/debug/.build-id/6c/85d1bf6e7f21d5e044f3e4ebe0adbbe021e779.debug 120777 root:root ../../usr/bin/createPYMB.debug +File: /usr/lib/debug/.build-id/f0 40755 root:root +File: /usr/lib/debug/.build-id/f0/21f63a106eedc7fabd8a6ca505649541fa0c1b 120777 root:root ../../../../bin/txt2mb +File: /usr/lib/debug/.build-id/f0/21f63a106eedc7fabd8a6ca505649541fa0c1b.debug 120777 root:root ../../usr/bin/txt2mb.debug +File: /usr/lib/debug/usr/bin/createPYMB.debug 100644 root:root 769f0e9fc711407e2883d1285006928c +File: /usr/lib/debug/usr/bin/mb2txt.debug 100644 root:root 40f042d63d323e2b751130ece8d2b60e +File: /usr/lib/debug/usr/bin/txt2mb.debug 100644 root:root 42f51ee208225934c1130d9667274950 File: /usr/src/debug/fcitx 40755 root:root @@ -62,2 +62,2 @@ File: /usr/src/debug/fcitx/tools/txt2mb.c 100644 root:root e94d31350ac58c65ebe5762b5de016ea -RPMIdentity: 966357abc3257943ce958de578b919b5246a6e011f26cbf738f3091528bcb3d6ec56947d1802e5ef3291b9bc6419d65d10580f0e4ce2c2c000112e98f3225f24 +RPMIdentity: bb5253047cf39fb674bbe382c11ac28638ebbe055d9859c654dbce4699be21a62f013baf8229407fe2f97473f9905c3ac5c8c82f6d43bf47a0debda7ac70ce7e