Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/scim-fcitx.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672310701.379009/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsi6as9z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsi6as9z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '42cd6a0ef16f4bfeb7b422c64b8f3a49', '-D', '/var/lib/mock/fedora-rawhide-i686-1672310701.379009/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsi6as9z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/scim-fcitx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670716800 Wrote: /builddir/build/SRPMS/scim-fcitx-3.1.1-36.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/scim-fcitx.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672310701.379009/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsi6as9z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsi6as9z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ded38737e8b4d1fa7472cee86884022', '-D', '/var/lib/mock/fedora-rawhide-i686-1672310701.379009/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsi6as9z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/scim-fcitx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670716800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2xs1Ua + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fcitx + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scim-fcitx.3.1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd fcitx + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scim-fcitx-3.1.1-gcc43.patch):' Patch #0 (scim-fcitx-3.1.1-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc43 --fuzz=0 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-gcc47.patch):' Patch #1 (scim-fcitx-3.1.1-gcc47.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc47 --fuzz=0 patching file src/tools.cpp patching file src/sp.cpp + echo 'Patch #2 (scim-fcitx-configure-c99.patch):' Patch #2 (scim-fcitx-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file aclocal.m4 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xC6aCx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fcitx + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-29 10:47:12.012693244 +0000 +++ ./configure 2022-12-29 10:47:12.028693431 +0000 @@ -8258,7 +8258,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -8416,7 +8416,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -11954,7 +11954,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -12112,7 +12112,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -17457,7 +17457,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -17615,7 +17615,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -19640,7 +19640,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -20068,7 +20068,7 @@ #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup) choke me #else -char (*f) () = _dyld_func_lookup; +__attribute__ ((used)) char (*f) () = _dyld_func_lookup; #endif #ifdef __cplusplus } @@ -20193,7 +20193,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -20773,7 +20773,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -21354,7 +21354,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -21456,7 +21456,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -21558,7 +21558,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -21660,7 +21660,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -21763,7 +21763,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-29 10:47:12.028693431 +0000 +++ ./configure 2022-12-29 10:47:12.080694040 +0000 @@ -5440,7 +5440,7 @@ symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for style of include used by make... GNU checking for i686-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for i686-redhat-linux-gnu-g77... no checking for i686-redhat-linux-gnu-f77... no checking for i686-redhat-linux-gnu-xlf... no checking for i686-redhat-linux-gnu-frt... no checking for i686-redhat-linux-gnu-pgf77... no checking for i686-redhat-linux-gnu-fort77... no checking for i686-redhat-linux-gnu-fl32... no checking for i686-redhat-linux-gnu-af77... no checking for i686-redhat-linux-gnu-f90... no checking for i686-redhat-linux-gnu-xlf90... no checking for i686-redhat-linux-gnu-pgf90... no checking for i686-redhat-linux-gnu-epcf90... no checking for i686-redhat-linux-gnu-f95... no checking for i686-redhat-linux-gnu-fort... no checking for i686-redhat-linux-gnu-xlf95... no checking for i686-redhat-linux-gnu-ifc... no checking for i686-redhat-linux-gnu-efc... no checking for i686-redhat-linux-gnu-pgf95... no checking for i686-redhat-linux-gnu-lf95... no checking for i686-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for an ANSI C-conforming const... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib include ld.so.conf.d/*.conf checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen in -ldl... 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 i686-redhat-linux-gnu-g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking for i686-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for an ANSI C-conforming const... (cached) yes checking for size_t... yes checking for i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for SCIM_CFLAGS... -I/usr/include/scim-1.0 checking for SCIM_LIBS... -lscim-1.0 checking for ANSI C header files... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating tools/Makefile config.status: creating icons/Makefile config.status: creating scim-fcitx.spec config.status: creating config.h config.status: executing depfiles commands + make cd . && \ /bin/sh /builddir/build/BUILD/fcitx/missing --run automake-1.7 --gnu Makefile /builddir/build/BUILD/fcitx/missing: line 46: automake-1.7: command not found WARNING: `automake-1.7' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh ./config.status Makefile config.status: creating Makefile cd . && /bin/sh /builddir/build/BUILD/fcitx/missing --run autoheader /builddir/build/BUILD/fcitx/missing: line 46: autoheader: command not found WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.ac'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory '/builddir/build/BUILD/fcitx' Making all in src make[2]: Entering directory '/builddir/build/BUILD/fcitx/src' cd .. && /bin/sh ./config.status src/Makefile depfiles config.status: creating src/Makefile config.status: executing depfiles commands /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-scim_fcitx_imengine.lo `test -f 'scim_fcitx_imengine.cpp' || echo './'`scim_fcitx_imengine.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c scim_fcitx_imengine.cpp -fPIC -DPIC -o .libs/fcitx_la-scim_fcitx_imengine.o In file included from scim_fcitx_imengine.cpp:40: scim_fcitx_imengine.h: In constructor 'FcitxInstance::FcitxInstance(FcitxFactory*, const scim::String&, int)': scim_fcitx_imengine.h:104:27: warning: 'FcitxInstance::m_lock_property' will be initialized after [-Wreorder] 104 | Property m_lock_property; | ^~~~~~~~~~~~~~~ scim_fcitx_imengine.h:91:23: warning: 'bool FcitxInstance::m_unicode' [-Wreorder] 91 | bool m_unicode; | ^~~~~~~~~ scim_fcitx_imengine.cpp:224:1: warning: when initialized here [-Wreorder] 224 | FcitxInstance::FcitxInstance (FcitxFactory *factory, | ^~~~~~~~~~~~~ scim_fcitx_imengine.cpp: In member function 'void FcitxInstance::DisplayInputWindow()': scim_fcitx_imengine.cpp:261:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 261 | for (int i=0; istrlen(messageUp[i].strMsg)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scim_fcitx_imengine.cpp:278:25: 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:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 231 | if (iLen > iCounter) | ~~~~~^~~~~~~~~~ py.cpp:255:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 255 | if (iLen > iCounter) | ~~~~~^~~~~~~~~~ py.cpp:287:23: 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:27: 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:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 430 | if (!key2.mask&&(iKey >= 'a' && iKey <= 'z') || iKey == PY_SEPERATOR || (bSP && bSP_UseSemicolon && iKey == ';')) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ py.cpp:451:27: 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:32: 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:32: 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:37: 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:88: 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:54: 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:99: 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:47: warning: array subscript has type 'char' [-Wchar-subscripts] 702 | pPhrase = PYCandWords[iYCDZ].cand.phrase.phrase->strPhrase; | ^~~~~ py.cpp:762:27: 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:45: 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:23: 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:29: 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:74: 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:70: 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:140: 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:132: 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:29: 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:23: 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:27: 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:74: 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:140: 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:31: 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:74: 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:132: 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:23: 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:23: 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:27: 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:27: 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:23: 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:15: 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:15: 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:19: 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:19: 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:23: 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:23: 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:23: 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:23: 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:23: 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:23: 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:23: 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:23: 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:15: 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:19: 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:19: 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:19: 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:19: 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:19: 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:15: 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:19: 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:19: 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:23: 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:23: 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:23: 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:23: 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:535, from py.cpp:14: In function 'strcpy', inlined from 'DoPYInput(scim::KeyEvent const&)' at py.cpp:489:13: /usr/include/bits/string_fortified.h:79:33: warning: 'strcpy' accessing 1 byte at offsets [0, 301] and [0, 301] overlaps 1 byte at offset [0, 300] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-pyMapTable.lo `test -f 'pyMapTable.cpp' || echo './'`pyMapTable.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pyMapTable.cpp -fPIC -DPIC -o .libs/fcitx_la-pyMapTable.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-qw.lo `test -f 'qw.cpp' || echo './'`qw.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c qw.cpp -fPIC -DPIC -o .libs/fcitx_la-qw.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-tools.lo `test -f 'tools.cpp' || echo './'`tools.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tools.cpp -fPIC -DPIC -o .libs/fcitx_la-tools.o tools.cpp: In function 'int CheckHZCharset(char*)': tools.cpp:545:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 545 | for (i = 0; i < strlen (strHZ); i++) { | ~~^~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-table.lo `test -f 'table.cpp' || echo './'`table.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c table.cpp -fPIC -DPIC -o .libs/fcitx_la-table.o table.cpp: In function 'void LoadTableInfo()': table.cpp:128:15: warning: array subscript has type 'char' [-Wchar-subscripts] 128 | table[iTableIMIndex].strInputCode = NULL; | ^~~~~~~~~~~~~ table.cpp:129:15: warning: array subscript has type 'char' [-Wchar-subscripts] 129 | table[iTableIMIndex].strName[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:130:15: warning: array subscript has type 'char' [-Wchar-subscripts] 130 | table[iTableIMIndex].strPath[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:131:15: warning: array subscript has type 'char' [-Wchar-subscripts] 131 | table[iTableIMIndex].strSymbolFile[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:132:15: warning: array subscript has type 'char' [-Wchar-subscripts] 132 | table[iTableIMIndex].tableOrder = AD_NO; | ^~~~~~~~~~~~~ table.cpp:133:15: warning: array subscript has type 'char' [-Wchar-subscripts] 133 | table[iTableIMIndex].bGetPY = True; | ^~~~~~~~~~~~~ table.cpp:134:15: warning: array subscript has type 'char' [-Wchar-subscripts] 134 | table[iTableIMIndex].bUsePY = True; | ^~~~~~~~~~~~~ table.cpp:135:15: warning: array subscript has type 'char' [-Wchar-subscripts] 135 | table[iTableIMIndex].cPinyin = '\0'; | ^~~~~~~~~~~~~ table.cpp:136:15: warning: array subscript has type 'char' [-Wchar-subscripts] 136 | table[iTableIMIndex].bTableAutoSendToClient = True; | ^~~~~~~~~~~~~ table.cpp:137:15: warning: array subscript has type 'char' [-Wchar-subscripts] 137 | table[iTableIMIndex].bUseMatchingKey = False; | ^~~~~~~~~~~~~ table.cpp:138:15: warning: array subscript has type 'char' [-Wchar-subscripts] 138 | table[iTableIMIndex].cMatchingKey = '\0'; | ^~~~~~~~~~~~~ table.cpp:139:15: warning: array subscript has type 'char' [-Wchar-subscripts] 139 | table[iTableIMIndex].bTableExactMatch = False; | ^~~~~~~~~~~~~ table.cpp:140:15: warning: array subscript has type 'char' [-Wchar-subscripts] 140 | table[iTableIMIndex].bAutoPhrase = True; | ^~~~~~~~~~~~~ table.cpp:141:15: warning: array subscript has type 'char' [-Wchar-subscripts] 141 | table[iTableIMIndex].bAutoPhrasePhrase = True; | ^~~~~~~~~~~~~ table.cpp:142:15: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | table[iTableIMIndex].iSaveAutoPhraseAfter = 1; | ^~~~~~~~~~~~~ table.cpp:143:15: warning: array subscript has type 'char' [-Wchar-subscripts] 143 | table[iTableIMIndex].iAutoPhrase = 4; | ^~~~~~~~~~~~~ table.cpp:144:15: warning: array subscript has type 'char' [-Wchar-subscripts] 144 | table[iTableIMIndex].bPromptTableCode = True; | ^~~~~~~~~~~~~ table.cpp:145:15: warning: array subscript has type 'char' [-Wchar-subscripts] 145 | table[iTableIMIndex].strSymbol[0] = '\0'; | ^~~~~~~~~~~~~ table.cpp:169:31: warning: array subscript has type 'char' [-Wchar-subscripts] 169 | if (table[iTableIMIndex].strName[0] == '\0' || table[iTableIMIndex].strPath[0] == '\0') { | ^~~~~~~~~~~~~ table.cpp:169:74: warning: array subscript has type 'char' [-Wchar-subscripts] 169 | if (table[iTableIMIndex].strName[0] == '\0' || table[iTableIMIndex].strPath[0] == '\0') { | ^~~~~~~~~~~~~ table.cpp:180:31: warning: array subscript has type 'char' [-Wchar-subscripts] 180 | strcpy (table[iTableIMIndex].strName, pstr); | ^~~~~~~~~~~~~ table.cpp:184:31: warning: array subscript has type 'char' [-Wchar-subscripts] 184 | strcpy (table[iTableIMIndex].strPath, pstr); | ^~~~~~~~~~~~~ table.cpp:188:23: warning: array subscript has type 'char' [-Wchar-subscripts] 188 | table[iTableIMIndex].tableOrder = (ADJUSTORDER) atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:192:23: warning: array subscript has type 'char' [-Wchar-subscripts] 192 | table[iTableIMIndex].bGetPY = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:196:23: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | table[iTableIMIndex].bUsePY = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:202:23: warning: array subscript has type 'char' [-Wchar-subscripts] 202 | table[iTableIMIndex].cPinyin = *pstr; | ^~~~~~~~~~~~~ table.cpp:206:23: warning: array subscript has type 'char' [-Wchar-subscripts] 206 | table[iTableIMIndex].bTableAutoSendToClient = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:210:23: warning: array subscript has type 'char' [-Wchar-subscripts] 210 | table[iTableIMIndex].bUseMatchingKey = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:216:23: warning: array subscript has type 'char' [-Wchar-subscripts] 216 | table[iTableIMIndex].cMatchingKey = *pstr; | ^~~~~~~~~~~~~ table.cpp:220:23: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | table[iTableIMIndex].bTableExactMatch = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:224:23: warning: array subscript has type 'char' [-Wchar-subscripts] 224 | table[iTableIMIndex].bAutoPhrase = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:228:23: warning: array subscript has type 'char' [-Wchar-subscripts] 228 | table[iTableIMIndex].iAutoPhrase = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:232:23: warning: array subscript has type 'char' [-Wchar-subscripts] 232 | table[iTableIMIndex].bAutoPhrasePhrase = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:236:23: warning: array subscript has type 'char' [-Wchar-subscripts] 236 | table[iTableIMIndex].iSaveAutoPhraseAfter = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:240:23: warning: array subscript has type 'char' [-Wchar-subscripts] 240 | table[iTableIMIndex].bPromptTableCode = atoi (pstr); | ^~~~~~~~~~~~~ table.cpp:244:31: warning: array subscript has type 'char' [-Wchar-subscripts] 244 | strcpy (table[iTableIMIndex].strSymbol, pstr); | ^~~~~~~~~~~~~ table.cpp:248:31: 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:32: 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:42: 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:15: warning: array subscript has type 'char' [-Wchar-subscripts] 312 | table[iTableIMIndex].rule = (RULE *) malloc (sizeof (RULE) * (table[iTableIMIndex].iCodeLength - 1)); | ^~~~~~~~~~~~~ table.cpp:312:77: warning: array subscript has type 'char' [-Wchar-subscripts] 312 | table[iTableIMIndex].rule = (RULE *) malloc (sizeof (RULE) * (table[iTableIMIndex].iCodeLength - 1)); | ^~~~~~~~~~~~~ table.cpp:313:31: warning: array subscript has type 'char' [-Wchar-subscripts] 313 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ^~~~~~~~~~~~~ table.cpp:313:23: 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:28: warning: array subscript has type 'char' [-Wchar-subscripts] 314 | fread (&(table[iTableIMIndex].rule[i].iFlag), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:315:28: warning: array subscript has type 'char' [-Wchar-subscripts] 315 | fread (&(table[iTableIMIndex].rule[i].iWords), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:316:19: 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:98: 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:43: warning: array subscript has type 'char' [-Wchar-subscripts] 317 | for (iTemp = 0; iTemp < table[iTableIMIndex].iCodeLength; iTemp++) { | ^~~~~~~~~~~~~ table.cpp:318:32: 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:32: 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:32: 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:46: warning: array subscript has type 'char' [-Wchar-subscripts] 332 | fread (strCode, sizeof (char), table[iTableIMIndex].iCodeLength + 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:341:68: 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:32: warning: array subscript has type 'char' [-Wchar-subscripts] 379 | strcat (strPath, table[iTableIMIndex].strSymbolFile); | ^~~~~~~~~~~~~ table.cpp:388:23: 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:73: warning: array subscript has type 'char' [-Wchar-subscripts] 411 | autoPhrase[i].strCode = (char *) malloc (sizeof (char) * (table[iTableIMIndex].iCodeLength + 1)); | ^~~~~~~~~~~~~ table.cpp:414:15: 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:31: warning: array subscript has type 'char' [-Wchar-subscripts] 498 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) | ^~~~~~~~~~~~~ table.cpp:499:25: warning: array subscript has type 'char' [-Wchar-subscripts] 499 | free (table[iTableIMIndex].rule[i].rule); | ^~~~~~~~~~~~~ table.cpp:500:21: warning: array subscript has type 'char' [-Wchar-subscripts] 500 | free (table[iTableIMIndex].rule); | ^~~~~~~~~~~~~ table.cpp:502:15: 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:31: warning: array subscript has type 'char' [-Wchar-subscripts] 563 | for (i = 0; i < table[iTableIMIndex].iCodeLength - 1; i++) { | ^~~~~~~~~~~~~ table.cpp:563:23: 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:29: warning: array subscript has type 'char' [-Wchar-subscripts] 564 | fwrite (&(table[iTableIMIndex].rule[i].iFlag), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:565:29: warning: array subscript has type 'char' [-Wchar-subscripts] 565 | fwrite (&(table[iTableIMIndex].rule[i].iWords), sizeof (unsigned char), 1, fpDict); | ^~~~~~~~~~~~~ table.cpp:566:43: warning: array subscript has type 'char' [-Wchar-subscripts] 566 | for (iTemp = 0; iTemp < table[iTableIMIndex].iCodeLength; iTemp++) { | ^~~~~~~~~~~~~ table.cpp:567:33: 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:33: 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:33: 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:56: 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:42: warning: array subscript has type 'char' [-Wchar-subscripts] 661 | if (strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:661:74: warning: array subscript has type 'char' [-Wchar-subscripts] 661 | if (strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:671:45: warning: array subscript has type 'char' [-Wchar-subscripts] 671 | if (iCodeInputCount < table[iTableIMIndex].iCodeLength) { | ^~~~~~~~~~~~~ table.cpp:675:74: warning: array subscript has type 'char' [-Wchar-subscripts] 675 | if (iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:675:106: warning: array subscript has type 'char' [-Wchar-subscripts] 675 | if (iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin && table[iTableIMIndex].bUsePY) { | ^~~~~~~~~~~~~ table.cpp:682:35: warning: array subscript has type 'char' [-Wchar-subscripts] 682 | if (table[iTableIMIndex].bTableAutoSendToClient && (iCodeInputCount == table[iTableIMIndex].iCodeLength)) { | ^~~~~~~~~~~~~ table.cpp:682:102: warning: array subscript has type 'char' [-Wchar-subscripts] 682 | if (table[iTableIMIndex].bTableAutoSendToClient && (iCodeInputCount == table[iTableIMIndex].iCodeLength)) { | ^~~~~~~~~~~~~ table.cpp:695:31: warning: array subscript has type 'char' [-Wchar-subscripts] 695 | if (table[iTableIMIndex].bTableAutoSendToClient) { | ^~~~~~~~~~~~~ table.cpp:750:53: warning: array subscript has type 'char' [-Wchar-subscripts] 750 | if (iHZLastInputCount < 2 || !table[iTableIMIndex].bRule) //��������Ϊ�������� | ^~~~~~~~~~~~~ table.cpp:809:57: 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:111: 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:143: 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:70: warning: array subscript has type 'char' [-Wchar-subscripts] 855 | if (iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin) { | ^~~~~~~~~~~~~ table.cpp:866:33: warning: array subscript has type 'char' [-Wchar-subscripts] 866 | if (!(table[iTableIMIndex].bUsePY && iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin)) { | ^~~~~~~~~~~~~ table.cpp:866:107: warning: array subscript has type 'char' [-Wchar-subscripts] 866 | if (!(table[iTableIMIndex].bUsePY && iCodeInputCount == 1 && strCodeInput[0] == table[iTableIMIndex].cPinyin)) { | ^~~~~~~~~~~~~ table.cpp:867:57: 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:111: 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:143: 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:19: warning: array subscript has type 'char' [-Wchar-subscripts] 943 | if (table[iTableIMIndex].iSaveAutoPhraseAfter) { | ^~~~~~~~~~~~~ table.cpp:944:23: warning: array subscript has type 'char' [-Wchar-subscripts] 944 | if (table[iTableIMIndex].iSaveAutoPhraseAfter >= tableCandWord[iIndex].candWord.autoPhrase->iSelected) | ^~~~~~~~~~~~~ table.cpp:946:23: warning: array subscript has type 'char' [-Wchar-subscripts] 946 | if (table[iTableIMIndex].iSaveAutoPhraseAfter == tableCandWord[iIndex].candWord.autoPhrase->iSelected) { | ^~~~~~~~~~~~~ table.cpp:960:19: 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:33: 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:38: 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:68: 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:123: 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:19: 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:49: 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:123: 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:59: warning: array subscript has type 'char' [-Wchar-subscripts] 1136 | if (HasMatchingKey () || strCodeInput[0] == table[iTableIMIndex].cPinyin) | ^~~~~~~~~~~~~ table.cpp:1143:20: 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:29: 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:33: warning: array subscript has type 'char' [-Wchar-subscripts] 1371 | if (strUser[i] != table[iTableIMIndex].cMatchingKey || !table[iTableIMIndex].bUseMatchingKey) { | ^~~~~~~~~~~~~ table.cpp:1371:71: 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:20: 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:19: 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:64: 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:19: warning: array subscript has type 'char' [-Wchar-subscripts] 1651 | if (table[iTableIMIndex].rule[i].rule[i1].iFlag) { | ^~~~~~~~~~~~~ table.cpp:1652:39: warning: array subscript has type 'char' [-Wchar-subscripts] 1652 | strTemp[0] = strHZ[(table[iTableIMIndex].rule[i].rule[i1].iWhich - 1) * 2]; | ^~~~~~~~~~~~~ table.cpp:1653:39: 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:46: warning: array subscript has type 'char' [-Wchar-subscripts] 1656 | strTemp[0] = strHZ[(iLen - table[iTableIMIndex].rule[i].rule[i1].iWhich) * 2]; | ^~~~~~~~~~~~~ table.cpp:1657:46: 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:46: 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:74: 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:24: 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:19: 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:19: 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:23: 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:23: 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:23: 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:15: 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:15: 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:15: 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:15: 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:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 348 | fread (&(recTemp->iIndex), sizeof (unsigned int), 1, fpDict); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-punc.lo `test -f 'punc.cpp' || echo './'`punc.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c punc.cpp -fPIC -DPIC -o .libs/fcitx_la-punc.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-PYFA.lo `test -f 'PYFA.cpp' || echo './'`PYFA.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c PYFA.cpp -fPIC -DPIC -o .libs/fcitx_la-PYFA.o PYFA.cpp:16:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 16 | {"CD", 0} | ^~~~ PYFA.cpp:19:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | {"HI", 0} | ^~~~ PYFA.cpp:22:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | {"LM", 0} | ^~~~ PYFA.cpp:25:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | {"PQ", 0} | ^~~~ PYFA.cpp:28:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | {"VW", 0} | ^~~~ PYFA.cpp:31:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | {"Za", 0} | ^~~~ PYFA.cpp:34:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | {"\0", 0} | ^~~~ PYFA.cpp:39:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | {"bc", 0} | ^~~~ PYFA.cpp:42:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | {"TV", 0} | ^~~~ PYFA.cpp:45:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | {"OQ", 0} | ^~~~ PYFA.cpp:48:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | {"GH", 0} | ^~~~ PYFA.cpp:51:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | {"AB", 0} | ^~~~ PYFA.cpp:54:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | {"fg", 0} | ^~~~ PYFA.cpp:57:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | {"\0", 0} | ^~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-pyParser.lo `test -f 'pyParser.cpp' || echo './'`pyParser.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pyParser.cpp -fPIC -DPIC -o .libs/fcitx_la-pyParser.o pyParser.cpp: In function 'int IsSyllabary(char*, int)': pyParser.cpp:23:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 23 | register int i; | ^ pyParser.cpp: In function 'int IsConsonant(char*, int)': pyParser.cpp:41:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | register int i; | ^ 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:50: warning: array subscript has type 'char' [-Wchar-subscripts] 110 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:111:63: warning: array subscript has type 'char' [-Wchar-subscripts] 111 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:117:50: warning: array subscript has type 'char' [-Wchar-subscripts] 117 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:118:63: warning: array subscript has type 'char' [-Wchar-subscripts] 118 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:125:54: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | strcpy (parsePY->strMap[parsePY->iHZCount], strJP); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:127:54: warning: array subscript has type 'char' [-Wchar-subscripts] 127 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:128:63: warning: array subscript has type 'char' [-Wchar-subscripts] 128 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:167:50: warning: array subscript has type 'char' [-Wchar-subscripts] 167 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:172:51: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:173:51: warning: array subscript has type 'char' [-Wchar-subscripts] 173 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:176:51: warning: array subscript has type 'char' [-Wchar-subscripts] 176 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:177:63: warning: array subscript has type 'char' [-Wchar-subscripts] 177 | strcat (parsePY->strPYParsed[parsePY->iHZCount++], strTemp); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:189:55: warning: array subscript has type 'char' [-Wchar-subscripts] 189 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:190:55: warning: array subscript has type 'char' [-Wchar-subscripts] 190 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:193:55: warning: array subscript has type 'char' [-Wchar-subscripts] 193 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:194:59: warning: array subscript has type 'char' [-Wchar-subscripts] 194 | strcat (parsePY->strPYParsed[parsePY->iHZCount], consonantMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:196:62: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:204:59: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:205:59: warning: array subscript has type 'char' [-Wchar-subscripts] 205 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:208:59: warning: array subscript has type 'char' [-Wchar-subscripts] 208 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:209:63: warning: array subscript has type 'char' [-Wchar-subscripts] 209 | strcat (parsePY->strPYParsed[parsePY->iHZCount], syllabaryMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ pyParser.cpp:211:66: warning: array subscript has type 'char' [-Wchar-subscripts] 211 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ pyParser.cpp:220:55: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:221:55: warning: array subscript has type 'char' [-Wchar-subscripts] 221 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:222:50: warning: array subscript has type 'char' [-Wchar-subscripts] 222 | parsePY->strMap[parsePY->iHZCount][0] = '0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:223:50: warning: array subscript has type 'char' [-Wchar-subscripts] 223 | parsePY->strMap[parsePY->iHZCount][1] = '0'; | ~~~~~~~~~^~~~~~~~ pyParser.cpp:224:50: warning: array subscript has type 'char' [-Wchar-subscripts] 224 | parsePY->strMap[parsePY->iHZCount][2] = '\0'; | ~~~~~~~~~^~~~~~~~ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-sp.lo `test -f 'sp.cpp' || echo './'`sp.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c sp.cpp -fPIC -DPIC -o .libs/fcitx_la-sp.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fcitx_la-xim.lo `test -f 'xim.cpp' || echo './'`xim.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons/fcitx\" -DSCIM_FCITXDATADIR=\"/usr/share/scim/fcitx/\" -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c xim.cpp -fPIC -DPIC -o .libs/fcitx_la-xim.o xim.cpp: In function 'void EnterChineseMode(int)': xim.cpp:43:16: warning: array subscript has type 'char' [-Wchar-subscripts] 43 | if (im[iIMIndex].ResetIM) | ^~~~~~~~ xim.cpp:44:16: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | im[iIMIndex].ResetIM (); | ^~~~~~~~ /bin/sh ../libtool --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 g++ -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/13/../../../crti.o /usr/lib/gcc/i686-redhat-linux/13/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/i686-redhat-linux/13 -L/usr/lib/gcc/i686-redhat-linux/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/13/crtendS.o /usr/lib/gcc/i686-redhat-linux/13/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,fcitx.so -o .libs/fcitx.so creating fcitx.la (cd .libs && rm -f fcitx.la && ln -s ../fcitx.la fcitx.la) make[2]: Leaving directory '/builddir/build/BUILD/fcitx/src' Making all in icons make[2]: Entering directory '/builddir/build/BUILD/fcitx/icons' cd .. && /bin/sh ./config.status icons/Makefile config.status: creating icons/Makefile make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/fcitx/icons' Making all in tools make[2]: Entering directory '/builddir/build/BUILD/fcitx/tools' cd .. && /bin/sh ./config.status tools/Makefile depfiles config.status: creating tools/Makefile config.status: executing depfiles commands gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `test -f 'mb2txt.c' || echo './'`mb2txt.c mb2txt.c: In function 'main': mb2txt.c:51:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:52:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fread(strCode,sizeof(char), iTemp+1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:54:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | fread(&iLen,sizeof(unsigned char),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:56:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:57:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fread(strCode,sizeof(char), iTemp+1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:61:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fread(&iRule, sizeof(unsigned char),1, fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:65:17: 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:17: 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:25: 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:25: 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:25: 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:9: 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:9: 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:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | fread(strHZ, sizeof(char), iTemp, fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mb2txt.c:91:9: 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:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | fread(&iTemp,sizeof(unsigned int),1,fpDict); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mb2txt mb2txt.o mkdir .libs gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mb2txt mb2txt.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `test -f 'txt2mb.c' || echo './'`txt2mb.c /bin/sh ../libtool --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o txt2mb txt2mb.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o txt2mb txt2mb.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/include/scim-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o createPYMB-createPYMB.o `test -f 'createPYMB.cpp' || echo './'`createPYMB.cpp In file included from createPYMB.cpp:65: ../src/pyParser.cpp: In function 'int IsSyllabary(char*, int)': ../src/pyParser.cpp:23:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 23 | register int i; | ^ ../src/pyParser.cpp: In function 'int IsConsonant(char*, int)': ../src/pyParser.cpp:41:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 41 | register int i; | ^ ../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:50: warning: array subscript has type 'char' [-Wchar-subscripts] 110 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:111:63: warning: array subscript has type 'char' [-Wchar-subscripts] 111 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:117:50: warning: array subscript has type 'char' [-Wchar-subscripts] 117 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:118:63: warning: array subscript has type 'char' [-Wchar-subscripts] 118 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:125:54: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | strcpy (parsePY->strMap[parsePY->iHZCount], strJP); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:127:54: warning: array subscript has type 'char' [-Wchar-subscripts] 127 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:128:63: warning: array subscript has type 'char' [-Wchar-subscripts] 128 | strcpy (parsePY->strPYParsed[parsePY->iHZCount++], strJP); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:167:50: warning: array subscript has type 'char' [-Wchar-subscripts] 167 | strcpy (parsePY->strMap[parsePY->iHZCount], str_Map); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:172:51: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:173:51: warning: array subscript has type 'char' [-Wchar-subscripts] 173 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:176:51: warning: array subscript has type 'char' [-Wchar-subscripts] 176 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:177:63: warning: array subscript has type 'char' [-Wchar-subscripts] 177 | strcat (parsePY->strPYParsed[parsePY->iHZCount++], strTemp); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:189:55: warning: array subscript has type 'char' [-Wchar-subscripts] 189 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:190:55: warning: array subscript has type 'char' [-Wchar-subscripts] 190 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:193:55: warning: array subscript has type 'char' [-Wchar-subscripts] 193 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:194:59: warning: array subscript has type 'char' [-Wchar-subscripts] 194 | strcat (parsePY->strPYParsed[parsePY->iHZCount], consonantMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:196:62: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:204:59: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:205:59: warning: array subscript has type 'char' [-Wchar-subscripts] 205 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:208:59: warning: array subscript has type 'char' [-Wchar-subscripts] 208 | parsePY->strPYParsed[parsePY->iHZCount][0] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:209:63: warning: array subscript has type 'char' [-Wchar-subscripts] 209 | strcat (parsePY->strPYParsed[parsePY->iHZCount], syllabaryMapTable[iIndex].strPY); | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:211:66: warning: array subscript has type 'char' [-Wchar-subscripts] 211 | strcpy (parsePY->strMap[parsePY->iHZCount++], str_Map); | ~~~~~~~~~~~~~~~~~^~ ../src/pyParser.cpp:220:55: warning: array subscript has type 'char' [-Wchar-subscripts] 220 | parsePY->strPYParsed[parsePY->iHZCount][0] = PY_SEPERATOR; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:221:55: warning: array subscript has type 'char' [-Wchar-subscripts] 221 | parsePY->strPYParsed[parsePY->iHZCount][1] = '\0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:222:50: warning: array subscript has type 'char' [-Wchar-subscripts] 222 | parsePY->strMap[parsePY->iHZCount][0] = '0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:223:50: warning: array subscript has type 'char' [-Wchar-subscripts] 223 | parsePY->strMap[parsePY->iHZCount][1] = '0'; | ~~~~~~~~~^~~~~~~~ ../src/pyParser.cpp:224:50: 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:30: 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:15: 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:15: 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:19: 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:16: 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:16: 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:16: 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:16: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | fscanf (fps, "%s\n", strHZ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o createPYMB createPYMB-createPYMB.o -lscim-1.0 g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o createPYMB createPYMB-createPYMB.o -lscim-1.0 make[2]: Leaving directory '/builddir/build/BUILD/fcitx/tools' Making all in data make[2]: Entering directory '/builddir/build/BUILD/fcitx/data' cd .. && /bin/sh ./config.status data/Makefile config.status: creating data/Makefile ../tools/txt2mb cj.txt cj.mb Reading 6726 records. ../tools/txt2mb erbi.txt erbi.mb Reading 59859 records. ../tools/createPYMB gbkpy.org pyPhrase.org ת���� 27673 �����֣��� 410 �顣 ���ڱ���ƴ��������� OK! ������ 52196 �����飬�ɹ�ת�� 52196 ���� ����д������ļ����� OK! ../tools/txt2mb wbx.txt wbx.mb Reading 81157 records. make[2]: Leaving directory '/builddir/build/BUILD/fcitx/data' make[2]: Entering directory '/builddir/build/BUILD/fcitx' make[2]: Leaving directory '/builddir/build/BUILD/fcitx' make[1]: Leaving directory '/builddir/build/BUILD/fcitx' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.woFr1H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 ++ dirname /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fcitx + make DESTDIR=/builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/fcitx/src' make[2]: Entering directory '/builddir/build/BUILD/fcitx/src' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/lib/scim-1.0/1.4.0/IMEngine mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/lib/scim-1.0/1.4.0/IMEngine /bin/sh ../libtool --mode=install /usr/bin/install -c fcitx.la /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.la /usr/bin/install -c .libs/fcitx.so /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so /usr/bin/install -c .libs/fcitx.lai /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/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 '/builddir/build/BUILD/fcitx/src' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/src' Making install in icons make[1]: Entering directory '/builddir/build/BUILD/fcitx/icons' make[2]: Entering directory '/builddir/build/BUILD/fcitx/icons' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx /usr/bin/install -c -m 644 cangjie.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/cangjie.png /usr/bin/install -c -m 644 full-punct.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/full-punct.png /usr/bin/install -c -m 644 legend.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/legend.png /usr/bin/install -c -m 644 nofcitx.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nofcitx.png /usr/bin/install -c -m 644 nopinyin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nopinyin.png /usr/bin/install -c -m 644 nowubi98.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nowubi98.png /usr/bin/install -c -m 644 wubi86.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/wubi86.png /usr/bin/install -c -m 644 erbi.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/erbi.png /usr/bin/install -c -m 644 gbk.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/gbk.png /usr/bin/install -c -m 644 lock.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/lock.png /usr/bin/install -c -m 644 nogbk.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nogbk.png /usr/bin/install -c -m 644 noquwei.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/noquwei.png /usr/bin/install -c -m 644 pinyin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/pinyin.png /usr/bin/install -c -m 644 wubi98.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/wubi98.png /usr/bin/install -c -m 644 fcitx.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/fcitx.png /usr/bin/install -c -m 644 half-letter.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/half-letter.png /usr/bin/install -c -m 644 nocangjie.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nocangjie.png /usr/bin/install -c -m 644 nolegend.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nolegend.png /usr/bin/install -c -m 644 noshuangpin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/noshuangpin.png /usr/bin/install -c -m 644 quwei.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/quwei.png /usr/bin/install -c -m 644 full-letter.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/full-letter.png /usr/bin/install -c -m 644 half-punct.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/half-punct.png /usr/bin/install -c -m 644 noerbi.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/noerbi.png /usr/bin/install -c -m 644 nolock.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nolock.png /usr/bin/install -c -m 644 nowubi86.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/nowubi86.png /usr/bin/install -c -m 644 shuangpin.png /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/icons/fcitx/shuangpin.png make[2]: Leaving directory '/builddir/build/BUILD/fcitx/icons' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/icons' Making install in tools make[1]: Entering directory '/builddir/build/BUILD/fcitx/tools' make[2]: Entering directory '/builddir/build/BUILD/fcitx/tools' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin /bin/sh ../libtool --mode=install /usr/bin/install -c mb2txt /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/mb2txt /usr/bin/install -c mb2txt /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/mb2txt /bin/sh ../libtool --mode=install /usr/bin/install -c txt2mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/txt2mb /usr/bin/install -c txt2mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/txt2mb /bin/sh ../libtool --mode=install /usr/bin/install -c createPYMB /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/createPYMB /usr/bin/install -c createPYMB /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/createPYMB make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fcitx/tools' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/tools' Making install in data make[1]: Entering directory '/builddir/build/BUILD/fcitx/data' make[2]: Entering directory '/builddir/build/BUILD/fcitx/data' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx mkdir -p -- /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx /usr/bin/install -c -m 644 cj.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/cj.mb /usr/bin/install -c -m 644 erbi.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/erbi.mb /usr/bin/install -c -m 644 punc.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/punc.mb /usr/bin/install -c -m 644 pybase.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/pybase.mb /usr/bin/install -c -m 644 pyphrase.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/pyphrase.mb /usr/bin/install -c -m 644 pySym.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/pySym.mb /usr/bin/install -c -m 644 sp.dat /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/sp.dat /usr/bin/install -c -m 644 wbx.mb /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/wbx.mb /usr/bin/install -c -m 644 tables.conf /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/scim/fcitx/tables.conf make[2]: Leaving directory '/builddir/build/BUILD/fcitx/data' make[1]: Leaving directory '/builddir/build/BUILD/fcitx/data' make[1]: Entering directory '/builddir/build/BUILD/fcitx' make[2]: Entering directory '/builddir/build/BUILD/fcitx' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fcitx' make[1]: Leaving directory '/builddir/build/BUILD/fcitx' + rm /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386//usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.la + pushd /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386//usr/bin/ ~/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin ~/build/BUILD/fcitx + mv createPYMB createPYMB3 + mv mb2txt mb2txt3 + mv txt2mb txt2mb3 + popd ~/build/BUILD/fcitx + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.1.1-36.fc38 --unique-debug-suffix -3.1.1-36.fc38.i386 --unique-debug-src-base scim-fcitx-3.1.1-36.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fcitx extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/createPYMB3 extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/mb2txt3 extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/bin/txt2mb3 extracting debug info from /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/lib/scim-1.0/1.4.0/IMEngine/fcitx.so original debug info size: 1572kB, size after compression: 1248kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 528 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: scim-fcitx-3.1.1-36.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bgesSf + umask 022 + cd /builddir/build/BUILD + cd fcitx + DOCDIR=/builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/doc/scim-fcitx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/doc/scim-fcitx + cp -pr AUTHORS /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/doc/scim-fcitx + cp -pr COPYING /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/doc/scim-fcitx + cp -pr README /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/doc/scim-fcitx + cp -pr ChangeLog /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386/usr/share/doc/scim-fcitx + RPM_EC=0 ++ jobs -p + exit 0 Provides: scim-fcitx = 3.1.1-36.fc38 scim-fcitx(x86-32) = 3.1.1-36.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 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 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libm.so.6 libscim-1.0.so.8 libscim-1.0.so.8(LIBSCIM_1.0) libstdc++.so.6 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.30) rtld(GNU_HASH) Processing files: scim-fcitx-tools-3.1.1-36.fc38.i686 Provides: scim-fcitx-tools = 3.1.1-36.fc38 scim-fcitx-tools(x86-32) = 3.1.1-36.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: scim-fcitx-debugsource-3.1.1-36.fc38.i686 Provides: scim-fcitx-debugsource = 3.1.1-36.fc38 scim-fcitx-debugsource(x86-32) = 3.1.1-36.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scim-fcitx-debuginfo-3.1.1-36.fc38.i686 Provides: debuginfo(build-id) = a8c954f4508e19720aebb55ba9e26f22ad3de276 scim-fcitx-debuginfo = 3.1.1-36.fc38 scim-fcitx-debuginfo(x86-32) = 3.1.1-36.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scim-fcitx-debugsource(x86-32) = 3.1.1-36.fc38 Processing files: scim-fcitx-tools-debuginfo-3.1.1-36.fc38.i686 Provides: debuginfo(build-id) = 25420fadcb9f61bc649dba36de6a572525136b5b debuginfo(build-id) = 66987a5c137192ec81693547e2f93d89d7b28360 debuginfo(build-id) = a7b1693fef99f7bedf1ec361ad11c006cb7d232b scim-fcitx-tools-debuginfo = 3.1.1-36.fc38 scim-fcitx-tools-debuginfo(x86-32) = 3.1.1-36.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scim-fcitx-debugsource(x86-32) = 3.1.1-36.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 Wrote: /builddir/build/RPMS/scim-fcitx-debuginfo-3.1.1-36.fc38.i686.rpm Wrote: /builddir/build/RPMS/scim-fcitx-debugsource-3.1.1-36.fc38.i686.rpm Wrote: /builddir/build/RPMS/scim-fcitx-tools-debuginfo-3.1.1-36.fc38.i686.rpm Wrote: /builddir/build/RPMS/scim-fcitx-tools-3.1.1-36.fc38.i686.rpm Wrote: /builddir/build/RPMS/scim-fcitx-3.1.1-36.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.M52sfO + umask 022 + cd /builddir/build/BUILD + cd fcitx + /usr/bin/rm -rf /builddir/build/BUILDROOT/scim-fcitx-3.1.1-36.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.SPLzpR + umask 022 + cd /builddir/build/BUILD + rm -rf fcitx fcitx.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0