<86>May 10 11:26:56 userdel[3743437]: delete user 'rooter' <86>May 10 11:26:56 userdel[3743437]: removed group 'rooter' owned by 'rooter' <86>May 10 11:26:56 userdel[3743437]: removed shadow group 'rooter' owned by 'rooter' <86>May 10 11:26:56 groupadd[3743443]: group added to /etc/group: name=rooter, GID=639 <86>May 10 11:26:56 groupadd[3743443]: group added to /etc/gshadow: name=rooter <86>May 10 11:26:56 groupadd[3743443]: new group: name=rooter, GID=639 <86>May 10 11:26:56 useradd[3743454]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>May 10 11:26:56 userdel[3743472]: delete user 'builder' <86>May 10 11:26:56 userdel[3743472]: removed group 'builder' owned by 'builder' <86>May 10 11:26:56 userdel[3743472]: removed shadow group 'builder' owned by 'builder' <86>May 10 11:26:56 groupadd[3743486]: group added to /etc/group: name=builder, GID=640 <86>May 10 11:26:56 groupadd[3743486]: group added to /etc/gshadow: name=builder <86>May 10 11:26:56 groupadd[3743486]: new group: name=builder, GID=640 <86>May 10 11:26:56 useradd[3743502]: new user: name=builder, UID=640, GID=640, 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>May 10 11:26:59 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>May 10 11:26:59 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:26:59 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>May 10 11:26:59 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>May 10 11:26:59 rpmi: libnettle8-3.7.2-alt1 sisyphus+268184.100.1.1 1616430275 installed <13>May 10 11:26:59 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>May 10 11:26:59 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>May 10 11:26:59 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed <13>May 10 11:26:59 rpmi: libjpeg-2:2.0.6-alt1 sisyphus+266888.100.1.1 1614172387 installed <13>May 10 11:27:00 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>May 10 11:27:00 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>May 10 11:27:00 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 10 11:27:00 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 10 11:27:00 rpmi: libgraphite2-devel-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>May 10 11:27:00 rpmi: icu-utils-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>May 10 11:27:00 rpmi: libicu-devel-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>May 10 11:27:00 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>May 10 11:27:00 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>May 10 11:27:00 rpmi: libhogweed6-3.7.2-alt1 sisyphus+268184.100.1.1 1616430275 installed <13>May 10 11:27:00 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:27:00 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:27:00 rpmi: libltdl7-2.4.6-alt3 sisyphus+269178.2000.13.1 1618328602 installed <13>May 10 11:27:00 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+263711.100.20.1 1609407991 installed <13>May 10 11:27:00 rpmi: libfribidi-1.0.10-alt1 sisyphus+254557.100.1.1 1594020362 installed <13>May 10 11:27:00 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>May 10 11:27:00 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>May 10 11:27:00 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>May 10 11:27:00 rpmi: libgnutls30-3.6.15-alt2 sisyphus+268189.200.4.1 1616495163 installed <13>May 10 11:27:00 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587971055 installed <13>May 10 11:27:00 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>May 10 11:27:00 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>May 10 11:27:01 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559234 installed <13>May 10 11:27:01 rpmi: libsystemd-1:247.3-alt2 sisyphus+266129.100.1.3 1613012672 installed <13>May 10 11:27:01 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>May 10 11:27:01 rpmi: libavahi-0.8-alt2 sisyphus+270871.100.1.1 1619610383 installed <13>May 10 11:27:01 rpmi: libcups-2.3.3-alt3.op2 sisyphus+268789.100.1.1 1617267118 installed <13>May 10 11:27:01 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed <13>May 10 11:27:01 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>May 10 11:27:01 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>May 10 11:27:01 rpmi: libX11-locales-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>May 10 11:27:01 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>May 10 11:27:01 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>May 10 11:27:01 rpmi: libX11-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>May 10 11:27:01 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>May 10 11:27:01 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>May 10 11:27:01 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>May 10 11:27:02 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>May 10 11:27:02 rpmi: libX11-devel-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>May 10 11:27:02 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>May 10 11:27:02 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>May 10 11:27:02 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>May 10 11:27:02 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>May 10 11:27:02 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>May 10 11:27:02 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>May 10 11:27:02 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>May 10 11:27:02 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>May 10 11:27:02 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>May 10 11:27:02 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed <13>May 10 11:27:02 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>May 10 11:27:02 rpmi: libdrm-1:2.4.105-alt2 sisyphus+271005.100.1.1 1619774937 installed <13>May 10 11:27:02 rpmi: libGLX-mesa-4:21.0.3-alt1 sisyphus+271005.200.1.1 1619775272 installed <13>May 10 11:27:02 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:27:02 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:27:02 rpmi: libgbm-4:21.0.3-alt1 sisyphus+271005.200.1.1 1619775272 installed <13>May 10 11:27:02 rpmi: libEGL-mesa-4:21.0.3-alt1 sisyphus+271005.200.1.1 1619775272 installed <13>May 10 11:27:02 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:27:02 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>May 10 11:27:02 rpmi: libEGL-devel-4:21.0.3-alt1 sisyphus+271005.200.1.1 1619775272 installed <13>May 10 11:27:02 rpmi: libGL-devel-4:21.0.3-alt1 sisyphus+271005.200.1.1 1619775272 installed <13>May 10 11:27:02 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>May 10 11:27:03 rpmi: libwebp7-1.2.0-alt1 sisyphus+265504.100.2.1 1612122046 installed <13>May 10 11:27:03 rpmi: libjbig-2.1-alt1 1401380926 installed <13>May 10 11:27:03 rpmi: libtiff5-4.2.0-alt1 sisyphus+266365.100.2.1 1613478695 installed <13>May 10 11:27:03 rpmi: shared-mime-info-2.1-alt1 sisyphus+264261.100.1.1 1609507723 installed <13>May 10 11:27:03 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+269312.100.1.1 1617990309 installed <13>May 10 11:27:03 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>May 10 11:27:03 rpmi: libgio-2.68.1-alt1.1 sisyphus+270993.100.1.1 1619769134 installed <13>May 10 11:27:03 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041559 installed <13>May 10 11:27:03 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+269312.100.1.1 1617990316 installed <13>May 10 11:27:03 rpmi: gtk-update-icon-cache-3.24.29-alt1 sisyphus+270517.100.1.1 1619154827 installed <13>May 10 11:27:03 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>May 10 11:27:03 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>May 10 11:27:04 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>May 10 11:27:04 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>May 10 11:27:04 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>May 10 11:27:04 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>May 10 11:27:04 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>May 10 11:27:04 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>May 10 11:27:05 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>May 10 11:27:05 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>May 10 11:27:05 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>May 10 11:27:06 rpmi: libpango-1.48.4-alt1 sisyphus+268501.500.4.2 1617042821 installed <13>May 10 11:27:06 rpmi: libgtk+2-2.24.33-alt1 sisyphus+263711.100.20.1 1609408077 installed <13>May 10 11:27:06 rpmi: scim-libs-1.4.18-alt1 sisyphus+263711.600.20.1 1609408799 installed <13>May 10 11:27:06 rpmi: libharfbuzz-icu-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>May 10 11:27:06 rpmi: libharfbuzz-gobject-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>May 10 11:27:06 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 10 11:27:06 rpmi: xml-utils-1:2.9.10-alt6 sisyphus+265234.30740.49.1 1613765060 installed <13>May 10 11:27:06 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>May 10 11:27:06 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 10 11:27:06 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 10 11:27:06 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 10 11:27:06 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 10 11:27:06 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 10 11:27:06 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 10 11:27:06 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 10 11:27:06 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>May 10 11:27:06 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>May 10 11:27:07 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>May 10 11:27:07 rpmi: glib2-devel-2.68.1-alt1.1 sisyphus+270993.100.1.1 1619769134 installed <13>May 10 11:27:07 rpmi: libfreetype-devel-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>May 10 11:27:07 rpmi: libharfbuzz-devel-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>May 10 11:27:07 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed <13>May 10 11:27:07 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>May 10 11:27:07 rpmi: libgio-devel-2.68.1-alt1.1 sisyphus+270993.100.1.1 1619769134 installed <13>May 10 11:27:07 rpmi: libgdk-pixbuf-devel-2.42.6-alt1 sisyphus+269312.100.1.1 1617990316 installed <13>May 10 11:27:07 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>May 10 11:27:07 rpmi: libpango-devel-1.48.4-alt1 sisyphus+268501.500.4.2 1617042821 installed <13>May 10 11:27:07 rpmi: libatk-devel-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>May 10 11:27:07 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+263711.100.20.1 1609407991 installed <13>May 10 11:27:08 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+263711.100.20.1 1609408077 installed <13>May 10 11:27:08 rpmi: scim-devel-1.4.18-alt1 sisyphus+263711.600.20.1 1609408799 installed <13>May 10 11:27:08 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 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.3730 + 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/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/scim-fcitx.3.1.1.tar.bz2 + 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.94476 + 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 '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + ./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; istrlen(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 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.58344 + 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 :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.79331 + 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.rclMgA 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.SWydTw 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.JbUbGx 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.mdyBsy 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.r1VWTz 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.4NNYNz 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.0MbcLA find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dtacoz 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.F2OMby find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pjkumB 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) 27.62user 6.46system 0:41.71elapsed 81%CPU (0avgtext+0avgdata 98680maxresident)k 0inputs+0outputs (0major+1723830minor)pagefaults 0swaps 40.15user 10.32system 1:00.90elapsed 82%CPU (0avgtext+0avgdata 109612maxresident)k 728inputs+0outputs (0major+2155447minor)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-05-10 11:27:55.488201072 +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)