Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gcin.spec'], chrootPath='/var/lib/mock/f41-build-836553-158841/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gcin.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/gcin-2.9.0-11.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcin.spec'], chrootPath='/var/lib/mock/f41-build-836553-158841/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcin.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.98HTUy + umask 022 + cd /builddir/build/BUILD/gcin-2.9.0-build + test -d /builddir/build/BUILD/gcin-2.9.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/gcin-2.9.0-build + /usr/bin/rm -rf /builddir/build/BUILD/gcin-2.9.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/gcin-2.9.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/gcin-2.9.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WmRV8z + umask 022 + cd /builddir/build/BUILD/gcin-2.9.0-build + cd /builddir/build/BUILD/gcin-2.9.0-build + rm -rf gcin-2.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gcin-2.9.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcin-2.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Fix-FTBFS-on-big-endian.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-C99-Fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i.strip -e 's|install[ \t][ \t]*-s|install|' Makefile + find . -type f -executable -regex '.*\.\(cpp\|h\)' -exec chmod 0644 '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IZ1ihK + umask 022 + cd /builddir/build/BUILD/gcin-2.9.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gcin-2.9.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr --use_i18n=Y prefix: /usr Y .... Testing gtk+-3.0 : found gtk+-3.0 will be used. GTKINC: -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 GTKLDFLAGS: -lgtk-3 -lgdk-3 -lz -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 .... Testing indicator(Ubuntu) : Not found. It's ok if you don't want indicator support. .... Testing anthy : found. testing if you have qt3 support -> No, you don't have. It's ok if you don't want Qt3 immodule. testing if you have qt4 support -> Yes, you have Qt4 support. testing if you have qt5 support -> Yes, you have Qt5 support. testing if you have GTK+ 3.x support -> Yes, you have GTK+ 3.x support. Y QT4_MOC=/usr/lib64/qt4/bin/moc You have Qt > 5.5.1 QT5_MOC=/usr/lib64/qt5/bin/moc + make 'OPTFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -MM *.cpp > .depend gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c gcin.cpp In file included from gcin.h:5, from gcin.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcin.cpp: In function ‘get_dpy_xyl’: gcin.cpp:521:9: warning: ‘gdk_screen_width’ is deprecated [-Wdeprecated-declarations] 521 | dpy_xl = gdk_screen_width(), dpy_yl = gdk_screen_height(); | ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from os-dep.h:47: /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here 108 | gint gdk_screen_width (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~ gcin.cpp:521:9: warning: ‘gdk_screen_height’ is deprecated [-Wdeprecated-declarations] 521 | dpy_xl = gdk_screen_width(), dpy_yl = gdk_screen_height(); | ^~~~~~ /usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here 110 | gint gdk_screen_height (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~~ gcin.cpp: In function ‘main’: gcin.cpp:545:4: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 545 | chdir(homedir); | ^~~~~~~~~~~~~~ gcin.cpp:585:5: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 585 | daemon(1,1); | ^~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c eve.cpp In file included from gcin.h:5, from eve.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ eve.cpp: In function ‘send_text’: eve.cpp:267:1: warning: label ‘next’ defined but not used [-Wunused-label] 267 | next: | ^~~~ eve.cpp:217:1: warning: label ‘direct’ defined but not used [-Wunused-label] 217 | direct: | ^~~~~~ eve.cpp:200:9: warning: unused variable ‘filter’ [-Wunused-variable] 200 | char *filter; | ^~~~~~ eve.cpp: In function ‘toggle_im_enabled’: eve.cpp:818:9: warning: unused variable ‘status’ [-Wunused-variable] 818 | int status=0; | ^~~~~~ eve.cpp: In function ‘init_in_method2’: eve.cpp:1154:15: warning: unused variable ‘selkey’ [-Wunused-variable] 1154 | char *selkey; | ^~~~~~ eve.cpp: In function ‘disp_win_kbm_capslock_init’: eve.cpp:1284:3: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 1284 | old_capslock_on = gdk_keymap_get_caps_lock_state(gdk_keymap_get_default()); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:48, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from os-dep.h:47: /usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ eve.cpp: In function ‘gcin_get_preedit’: eve.cpp:1824:1: warning: label ‘empty’ defined but not used [-Wunused-label] 1824 | empty: | ^~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c util.cpp In file included from gcin.h:5, from util.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ util.cpp: In function ‘dbg_time’: util.cpp:90:14: warning: unused variable ‘ltime’ [-Wunused-variable] 90 | struct tm *ltime = localtime(&t); | ^~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c gcin-conf.cpp In file included from gcin-conf.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c gcin-settings.cpp In file included from gcin.h:5, from gcin-settings.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c locale.cpp In file included from gcin.h:5, from locale.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ locale.cpp: In function ‘utf8_dbg’: locale.cpp:103:7: warning: unused variable ‘len’ [-Wunused-variable] 103 | int len = utf8_sz(s); | ^~~ locale.cpp:102:7: warning: unused variable ‘i’ [-Wunused-variable] 102 | int i; | ^ locale.cpp: In function ‘skip_utf8_sigature’: locale.cpp:238:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 238 | fread(tt, 1, 3, fp); | ^~~~~~~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c gcin-icon.cpp In file included from gcin.h:5, from gcin-icon.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c about.cpp In file included from gcin.h:5, from about.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ about.cpp: In function ‘create_about_window’: about.cpp:48:5: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 48 | GtkWidget *vbox = gtk_vbox_new(FALSE,3); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ about.cpp:55:5: warning: ‘gtk_window_set_has_resize_grip’ is deprecated [-Wdeprecated-declarations] 55 | gtk_window_set_has_resize_grip(GTK_WINDOW(about_window), FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gcin.h:6: /usr/include/gtk-3.0/gtk/gtkwindow.h:478:10: note: declared here 478 | void gtk_window_set_has_resize_grip (GtkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ about.cpp:74:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 74 | hbox = gtk_hbox_new (FALSE, 0); | ^~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c html-browser.cpp In file included from gcin.h:5, from html-browser.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c gcin-exec-script.cpp In file included from gcin-exec-script.cpp:3: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcin-exec-script.cpp: In function ‘exec_script’: gcin-exec-script.cpp:12:3: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | system(scr); | ^~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o win-message.pico win-message.cpp In file included from gcin.h:5, from win-message.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-message.cpp: In function ‘create_win_message’: win-message.cpp:18:3: warning: ‘gtk_window_set_has_resize_grip’ is deprecated [-Wdeprecated-declarations] 18 | gtk_window_set_has_resize_grip(GTK_WINDOW(gwin_message), FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gcin.h:6: /usr/include/gtk-3.0/gtk/gtkwindow.h:478:10: note: declared here 478 | void gtk_window_set_has_resize_grip (GtkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-message.cpp:24:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 24 | GtkWidget *hbox = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-message.cpp:101:5: warning: ‘gtk_status_icon_get_geometry’ is deprecated [-Wdeprecated-declarations] 101 | if (gtk_status_icon_get_geometry(icon_main, NULL, &rect, &ori)) { | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:166:23: note: declared here 166 | gboolean gtk_status_icon_get_geometry (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-message.cpp:73:7: warning: variable ‘szx’ set but not used [-Wunused-but-set-variable] 73 | int szx, szy; | ^~~ win-message.cpp:21:14: warning: unused variable ‘gdkwin’ [-Wunused-variable] 21 | GdkWindow *gdkwin = gtk_widget_get_window(gwin_message); | ^~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o win-sym.pico win-sym.cpp In file included from gcin.h:5, from win-sym.cpp:2: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-sym.cpp: In function ‘create_win_sym’: win-sym.cpp:440:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 440 | GtkWidget *hbox_top = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:443:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 443 | GtkWidget *vbox_top = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:451:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 451 | GtkWidget *hbox_row = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:494:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 494 | GtkWidget *vbox_arrow = gtk_vbox_new (TRUE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:500:3: warning: ‘gtk_arrow_new’ is deprecated [-Wdeprecated-declarations] 500 | gtk_container_add(GTK_CONTAINER(eve_up), gtk_arrow_new(GTK_ARROW_UP, GTK_SHADOW_IN)); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:251, from gcin.h:6: /usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73:12: note: declared here 73 | GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, | ^~~~~~~~~~~~~ win-sym.cpp:502:3: warning: ‘gtk_arrow_new’ is deprecated [-Wdeprecated-declarations] 502 | gtk_container_add(GTK_CONTAINER(eve_down), gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_IN)); | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73:12: note: declared here 73 | GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, | ^~~~~~~~~~~~~ win-sym.cpp:510:14: warning: unused variable ‘gdkwin_sym’ [-Wunused-variable] 510 | GdkWindow *gdkwin_sym = gtk_widget_get_window(gwin_sym); | ^~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o win-inmd-switch.pico win-inmd-switch.cpp In file included from gcin.h:5, from win-inmd-switch.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-inmd-switch.cpp: In function ‘create_inmd_switch’: win-inmd-switch.cpp:41:5: warning: ‘gtk_image_menu_item_new_with_label’ is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations] 41 | GtkWidget *item = gtk_image_menu_item_new_with_label (tt); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:269, from gcin.h:6: /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here 80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-inmd-switch.cpp: In function ‘inmd_switch_popup_handler’: win-inmd-switch.cpp:70:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 70 | gtk_menu_popup (GTK_MENU(menu), NULL, NULL, NULL, NULL, | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ win-inmd-switch.cpp: In function ‘inmd_popup_tray’: win-inmd-switch.cpp:102:3: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 102 | gtk_menu_popup (GTK_MENU(menu), NULL, NULL, NULL, NULL, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o pinyin.pico pinyin.cpp In file included from gcin.h:5, from pinyin.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ pinyin.cpp: In function ‘load_pin_juyin’: pinyin.cpp:135:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 135 | fread(&pin_juyinN, sizeof(short), 1, fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinyin.cpp:137:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 137 | fread(pin_juyin, sizeof(PIN_JUYIN), pin_juyinN, fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o win-pho-near.pico win-pho-near.cpp In file included from gcin.h:5, from win-pho-near.cpp:2: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-pho-near.cpp: In function ‘create_win_pho_near’: win-pho-near.cpp:85:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 85 | GtkWidget *vbox_top = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-pho-near.cpp:124:9: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 124 | GtkWidget *hbox = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o win-kbm.pico win-kbm.cpp In file included from gcin.h:5, from win-kbm.cpp:5: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-kbm.cpp: In function ‘mod_fg_all’: win-kbm.cpp:64:5: warning: ‘gdk_color_to_string’ is deprecated: Use 'gdk_rgba_to_string' instead [-Wdeprecated-declarations] 64 | gdk_rgba_parse(&rgb, gdk_color_to_string(col)); | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26, from /usr/include/gtk-3.0/gdk/gdk.h:33, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from os-dep.h:47: /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:82:11: note: declared here 82 | gchar * gdk_color_to_string (const GdkColor *color); | ^~~~~~~~~~~~~~~~~~~ win-kbm.cpp:67:3: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 67 | gtk_widget_override_color(lab, GTK_STATE_FLAG_NORMAL, prgb); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gcin.h:6: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-kbm.cpp:68:3: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 68 | gtk_widget_override_color(lab, GTK_STATE_FLAG_ACTIVE, prgb); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-kbm.cpp:69:3: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 69 | gtk_widget_override_color(lab, GTK_STATE_FLAG_SELECTED, prgb); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-kbm.cpp:70:3: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 70 | gtk_widget_override_color(lab, GTK_STATE_FLAG_PRELIGHT, prgb); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-kbm.cpp: In function ‘create_win_kbm’: win-kbm.cpp:182:3: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 182 | gdk_color_parse("red", &red); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ win-kbm.cpp:187:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 187 | GtkWidget *hbox_top = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-kbm.cpp:191:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 191 | GtkWidget *vbox_l = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-kbm.cpp:194:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 194 | GtkWidget *vbox_r = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-kbm.cpp:200:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 200 | GtkWidget *hboxl = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-kbm.cpp:203:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 203 | GtkWidget *hboxr = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-kbm.cpp:226:7: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 226 | GtkWidget *v = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-kbm.cpp:246:14: warning: unused variable ‘gdkwin_kbm’ [-Wunused-variable] 246 | GdkWindow *gdkwin_kbm = gtk_widget_get_window(gwin_kbm); | ^~~~~~~~~~ win-kbm.cpp: In function ‘move_win_kbm’: win-kbm.cpp:289:3: warning: ‘gtk_status_icon_get_geometry’ is deprecated [-Wdeprecated-declarations] 289 | if (icon_main && gtk_status_icon_get_geometry(icon_main, NULL, &r, &ori)) { | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:166:23: note: declared here 166 | gboolean gtk_status_icon_get_geometry (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-kbm.cpp:264:7: warning: variable ‘szx’ set but not used [-Wunused-but-set-variable] 264 | int szx, szy; | ^~~ win-kbm.cpp: In function ‘get_keys_ent’: win-kbm.cpp:338:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 338 | if (p=strchr(shift_chars, keysym)) { | ^ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o gcin-module.pico gcin-module.cpp In file included from gcin.h:5, from gcin-module.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o pho2pinyin.pico pho2pinyin.cpp In file included from gcin.h:5, from pho2pinyin.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c pho.cpp In file included from gcin.h:5, from pho.cpp:6: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ pho.cpp: In function ‘find_match_phos_’: pho.cpp:132:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 132 | for (vv = hash_pho[poo.typ_pho[0]]; vv < hash_pho[poo.typ_pho[0]+1]; vv++) { | ~~~~~~~~~~~^~~ pho.cpp:121:16: warning: unused variable ‘mkey’ [-Wunused-variable] 121 | phokey_t mkey; | ^~~~ pho.cpp: In function ‘inph_typ_pho’: pho.cpp:426:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] 426 | poo.typ_pho[mtyp0] = 0; | ^ pho.cpp:428:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] 428 | poo.typ_pho[typ]=num; | ^ pho.cpp: In function ‘load_tab_pho_file’: pho.cpp:738:7: warning: unused variable ‘n’ [-Wunused-variable] 738 | int n = fread(&phkbm,sizeof(phkbm),1,fr); | ^ pho.cpp: In function ‘feedkey_pho’: pho.cpp:937:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 937 | poo.vv=hash_pho[poo.typ_pho[0]]; | ~~~~~~~~~~~^~~ pho.cpp:990:99: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 990 | if (poo.typ_pho[0]==L_BRACKET_NO||poo.typ_pho[0]==R_BRACKET_NO || poo.typ_pho[0]==BACK_QUOTE_NO && poo.typ_pho[1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c tsin.cpp In file included from gcin.h:5, from tsin.cpp:6: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ tsin.cpp: In function ‘get_sel_phrase0’: tsin.cpp:810:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 810 | if (eqlen && len!=mlen || (!eqlen && len > mlen) || len==1) { | ~~~~~~^~~~~~~~~~~~ tsin.cpp: In function ‘get_best_idx_pho_idx’: tsin.cpp:872:12: warning: unused variable ‘zero’ [-Wunused-variable] 872 | char zero=0; | ^~~~ tsin.cpp:901:24: warning: unused variable ‘zero’ [-Wunused-variable] 901 | char zero=0; | ^~~~ tsin.cpp:911:23: warning: unused variable ‘s’ [-Wunused-variable] 911 | char *s = pho_idx_str(pidx); | ^ tsin.cpp: In function ‘feedkey_tsin’: tsin.cpp:1980:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1980 | if (!(xkey>='A' && xkey<='Z' || xkey>='a' && xkey<='z')) | ~~~~~~~~~~^~~~~~~~~~~~ tsin.cpp:2241:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2241 | if (phkbm.phokbm[xkey][0].num && !pin_juyin || !tsin_pho_mode()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ tsin.cpp:2368:58: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2368 | if (!tsin_pho_mode() || poo.typ_pho[0]!=BACK_QUOTE_NO && (shift_m || key_pad || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2369 | (!key_has_pho))) { | ~~~~~~~~~~~~~~~ tsin.cpp:2509:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] 2509 | int vv=hash_pho[poo.typ_pho[0]]; | ~~~~~~~~~~~^~~ tsin.cpp:2551:102: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2551 | if (poo.typ_pho[0]==L_BRACKET_NO||poo.typ_pho[0]==R_BRACKET_NO || poo.typ_pho[0]==BACK_QUOTE_NO && poo.typ_pho[1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tsin.cpp: In function ‘set_chpho_ch’: tsin.cpp:1251:9: warning: ‘u8len’ may be used uninitialized [-Wmaybe-uninitialized] 1251 | utf8+=u8len; | ^~ tsin.cpp:1237:9: note: ‘u8len’ was declared here 1237 | int u8len; | ^~~~~ tsin.cpp: In function ‘tsin_pho_sel’: tsin.cpp:1732:3: warning: ‘sel_text’ may be used uninitialized [-Wmaybe-uninitialized] 1732 | set_chpho_ch(&tss.chpho[sel_idx], sel_text, len, is_pho_phrase); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tsin.cpp:1719:9: note: ‘sel_text’ was declared here 1719 | char *sel_text; | ^~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c gtab.cpp In file included from gcin.h:5, from gtab.cpp:7: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gtab.cpp: In function ‘hide_row2_if_necessary’: gtab.cpp:419:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 419 | if (!ggg.wild_mode && gtab_hide_row2 || !gtab_disp_key_codes) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ gtab.cpp: In function ‘putstr_inp’: gtab.cpp:443:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 443 | if (gtab_disp_key_codes && !gtab_hide_row2 || ggg.wild_mode) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ gtab.cpp:463:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 463 | if (gtab_disp_key_codes && !gtab_hide_row2 || ggg.wild_mode) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ gtab.cpp: In function ‘feedkey_gtab’: gtab.cpp:1133:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1133 | if (key < 'A' || key > 'z' || key > 'Z' && key < 'a' ) { | ~~~~~~~~~~~^~~~~~~~~~~~ gtab.cpp:1143:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1143 | key!='*' && (key!='?' || gtab_shift_phrase_key && !ggg.ci)) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gtab.cpp:1918:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1918 | ggg.ci==cur_inmd->MaxPress && (_gtab_space_auto_first & GTAB_space_auto_first_full)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtab.cpp:2093:76: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2093 | if (ggg.spc_pressed || gtab_full_space_auto_first || ggg.last_full && gtab_press_full_auto_send_on()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtab.cpp:1900:1: warning: label ‘refill’ defined but not used [-Wunused-label] 1900 | refill: | ^~~~~~ gtab.cpp:1098:1: warning: label ‘en_char’ defined but not used [-Wunused-label] 1098 | en_char: | ^~~~~~~ gtab.cpp:1027:12: warning: unused variable ‘ctrl_m’ [-Wunused-variable] 1027 | gboolean ctrl_m = (kbstate & ControlMask) > 0; | ^~~~~~ gtab.cpp:2019:8: warning: ‘pendkey’ may be used uninitialized [-Wmaybe-uninitialized] 2019 | if (pendkey && (!(cur_inmd->flag&FLAG_PHRASE_AUTO_SKIP_ENDKEY) || !gtab_phrase_on_() || ggg.ci==1)) { | ^ gtab.cpp:1791:9: note: ‘pendkey’ was declared here 1791 | char *pendkey = NULL; | ^~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c win-sym.cpp In file included from gcin.h:5, from win-sym.cpp:2: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-sym.cpp: In function ‘create_win_sym’: win-sym.cpp:440:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 440 | GtkWidget *hbox_top = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:443:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 443 | GtkWidget *vbox_top = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:451:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 451 | GtkWidget *hbox_row = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:494:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 494 | GtkWidget *vbox_arrow = gtk_vbox_new (TRUE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-sym.cpp:500:3: warning: ‘gtk_arrow_new’ is deprecated [-Wdeprecated-declarations] 500 | gtk_container_add(GTK_CONTAINER(eve_up), gtk_arrow_new(GTK_ARROW_UP, GTK_SHADOW_IN)); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:251, from gcin.h:6: /usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73:12: note: declared here 73 | GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, | ^~~~~~~~~~~~~ win-sym.cpp:502:3: warning: ‘gtk_arrow_new’ is deprecated [-Wdeprecated-declarations] 502 | gtk_container_add(GTK_CONTAINER(eve_down), gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_IN)); | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73:12: note: declared here 73 | GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, | ^~~~~~~~~~~~~ win-sym.cpp:510:14: warning: unused variable ‘gdkwin_sym’ [-Wunused-variable] 510 | GdkWindow *gdkwin_sym = gtk_widget_get_window(gwin_sym); | ^~~~~~~~~~ gcc -Wl,--as-needed -shared -o gcin1.so win-message.pico win-sym.pico win-inmd-switch.pico pinyin.pico win-pho-near.pico win-kbm.pico gcin-module.pico pho2pinyin.pico -Wl,--as-needed -lgtk-3 -lgdk-3 -lz -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lX11 -ldl -lm gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -fpic -o t2s-lookup.pico t2s-lookup.cpp In file included from gcin.h:5, from t2s-lookup.cpp:3: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ t2s-lookup.cpp: In function ‘k_lookup’: t2s-lookup.cpp:20:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 20 | fread(&t, sizeof(T2S), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,--as-needed -shared -o gcin2.so t2s-lookup.pico -Wl,--as-needed -lgtk-3 -lgdk-3 -lz -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lX11 -ldl -lm gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c pho-play.cpp In file included from gcin.h:5, from pho-play.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ pho-play.cpp: In function ‘pho_play’: pho-play.cpp:39:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 39 | if (pid = fork()) { | ^~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c cache.cpp In file included from gcin.h:5, from cache.cpp:2: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c -o gtk_bug_fix.o gtk_bug_fix.c In file included from gtk_bug_fix.c:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c phrase-save-menu.cpp In file included from gcin.h:5, from phrase-save-menu.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ phrase-save-menu.cpp: In function ‘create_phrase_save_menu’: phrase-save-menu.cpp:53:3: warning: ‘gtk_window_set_has_resize_grip’ is deprecated [-Wdeprecated-declarations] 53 | gtk_window_set_has_resize_grip(GTK_WINDOW(phrase_save_win), FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gcin.h:6: /usr/include/gtk-3.0/gtk/gtkwindow.h:478:10: note: declared here 478 | void gtk_window_set_has_resize_grip (GtkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrase-save-menu.cpp:64:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 64 | GtkWidget *vbox = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c win-pho.cpp In file included from gcin.h:5, from win-pho.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-pho.cpp: In function ‘create_win_pho_gui_simple’: win-pho.cpp:163:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 163 | GtkWidget *vbox_top = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-pho.cpp:187:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 187 | GtkWidget *align = gtk_alignment_new (0, 0, 0, 0); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255, from gcin.h:6: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ win-pho.cpp:194:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 194 | GtkWidget *hbox_row1 = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-pho.cpp:203:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 203 | hbox_row2 = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c pho-util.cpp In file included from gcin.h:5, from pho-util.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ pho-util.cpp: In function ‘pho_load’: pho-util.cpp:47:7: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | system(vv); | ^~~~~~~~~~ pho-util.cpp:67:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | fread(&idxnum_pho,sizeof(u_short),1,fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:68:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 68 | fread(&idxnum_pho,sizeof(u_short),1,fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:69:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 69 | fread(&ch_phoN,sizeof(int),1,fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:70:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | fread(&pho_phrase_area_sz, sizeof(pho_phrase_area_sz), 1,fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:75:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 75 | fread(idx_pho, sizeof(PHO_IDX), idxnum_pho, fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:86:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 86 | fread(ch_pho,sizeof(PHO_ITEM), ch_phoN, fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:94:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | fread(pho_phrase_area, 1,pho_phrase_area_sz, fr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pho-util.cpp:46:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 46 | sprintf(vv,"cp %s %s\n", sys_file, phofname); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:970, from gcin.h:2: In function ‘sprintf’, inlined from ‘pho_load’ at pho-util.cpp:46:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 388 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c pho-sym.cpp In file included from gcin.h:5, from pho-sym.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c table-update.cpp In file included from gcin.h:5, from table-update.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ table-update.cpp: In function ‘update_table_file’: table-update.cpp:23:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 23 | fscanf(fp, "%d", &ver); | ^~~~~~~~~~~~~~~~~~~~~~ table-update.cpp:34:3: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 34 | system(cmd); | ^~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c pho-dbg.cpp In file included from gcin.h:5, from pho-dbg.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ gcc -x c -std=gnu99 -DUNIX=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/webp -DWITH_GZFILEOP -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0 -DUSE_XIM=1 -DTRAY_ENABLED=1 -DGCIN_i18n_message=1 -DUSE_TSIN=1 -DUSE_GCB=1 -c win-gtab.cpp In file included from gcin.h:5, from win-gtab.cpp:1: os-dep.h:45:9: warning: "G_CONST_RETURN" redefined 45 | #define G_CONST_RETURN const | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from os-dep.h:43: /usr/include/glib-2.0/glib/gmacros.h:1046:9: note: this is the location of the previous definition 1046 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~ win-gtab.cpp: In function ‘set_gtab_input_color’: win-gtab.cpp:83:7: warning: ‘gdk_color_to_string’ is deprecated: Use 'gdk_rgba_to_string' instead [-Wdeprecated-declarations] 83 | gdk_rgba_parse(&rgbfg, gdk_color_to_string(color)); | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26, from /usr/include/gtk-3.0/gdk/gdk.h:33, from /usr/include/gtk-3.0/gdk/gdkx.h:28, from os-dep.h:47: /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:82:11: note: declared here 82 | gchar * gdk_color_to_string (const GdkColor *color); | ^~~~~~~~~~~~~~~~~~~ win-gtab.cpp:84:7: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 84 | gtk_widget_override_color(label_gtab, GTK_STATE_FLAG_NORMAL, &rgbfg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gcin.h:6: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp:86:7: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 86 | gtk_widget_override_color(label_gtab, GTK_STATE_FLAG_NORMAL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp: In function ‘set_gtab_input_error_color’: win-gtab.cpp:94:3: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 94 | gdk_color_parse("red", &red); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ win-gtab.cpp: In function ‘change_win_bg’: win-gtab.cpp:147:5: warning: ‘gtk_widget_override_background_color’ is deprecated [-Wdeprecated-declarations] 147 | gtk_widget_override_background_color(win, GTK_STATE_FLAG_NORMAL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here 1148 | void gtk_widget_override_background_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp:153:3: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 153 | gdk_color_parse(gcin_win_color_bg, &col); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ win-gtab.cpp:158:3: warning: ‘gdk_color_to_string’ is deprecated: Use 'gdk_rgba_to_string' instead [-Wdeprecated-declarations] 158 | gdk_rgba_parse(&rgbbg, gdk_color_to_string(&col)); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:82:11: note: declared here 82 | gchar * gdk_color_to_string (const GdkColor *color); | ^~~~~~~~~~~~~~~~~~~ win-gtab.cpp:159:3: warning: ‘gtk_widget_override_background_color’ is deprecated [-Wdeprecated-declarations] 159 | gtk_widget_override_background_color(win, GTK_STATE_FLAG_NORMAL, &rgbbg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here 1148 | void gtk_widget_override_background_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp: In function ‘change_win_fg_bg’: win-gtab.cpp:170:7: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 170 | gtk_widget_override_color(label, GTK_STATE_FLAG_NORMAL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp:176:3: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 176 | gdk_color_parse(gcin_win_color_fg, &col); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ win-gtab.cpp:184:3: warning: ‘gdk_color_to_string’ is deprecated: Use 'gdk_rgba_to_string' instead [-Wdeprecated-declarations] 184 | gdk_rgba_parse(&rgbfg, gdk_color_to_string(&col)); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:82:11: note: declared here 82 | gchar * gdk_color_to_string (const GdkColor *color); | ^~~~~~~~~~~~~~~~~~~ win-gtab.cpp:186:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 186 | gtk_widget_override_color(label, GTK_STATE_FLAG_NORMAL, &rgbfg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp:188:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 188 | gtk_widget_override_color(label_edit, GTK_STATE_FLAG_NORMAL, &rgbfg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp: In function ‘set_key_codes_label’: win-gtab.cpp:285:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 285 | gtk_widget_override_color(label_key_codes, GTK_STATE_FLAG_NORMAL, &better_color); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp:291:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 291 | gtk_widget_override_color(label_key_codes, GTK_STATE_FLAG_NORMAL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp: In function ‘destroy_if_necessary’: win-gtab.cpp:452:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 452 | (new_need_label_edit && label_edit || !new_need_label_edit && !label_edit) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ win-gtab.cpp:451:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 445 | current_gcin_inner_frame == gcin_inner_frame && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | current_gtab_in_row1 == gtab_in_row1 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 447 | new_last_cursor_off == last_cursor_off && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | current_gtab_vertical_select == gtab_vertical_select_on() && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | current_gtab_phrase_pre_select == gtab_phrase_pre_select && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | current_gcin_on_the_spot_key == gcin_on_the_spot_key && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | current_gtab_disp_im_name == gtab_disp_im_name && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 452 | (new_need_label_edit && label_edit || !new_need_label_edit && !label_edit) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win-gtab.cpp: In function ‘create_win_gtab_gui_simple’: win-gtab.cpp:486:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 486 | GtkWidget *vbox_top = gtk_vbox_new (FALSE, 0); | ^~~~~~~~~ In file included from gcin.h:29: gcin-gtk-compatible.h:96:21: note: declared here 96 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-gtab.cpp:520:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 520 | hbox_edit = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-gtab.cpp:522:5: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 522 | GtkWidget *align_edit = gtk_alignment_new (0, 0.0, 0, 0); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ win-gtab.cpp:528:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 528 | GtkWidget *align = gtk_alignment_new (0, 0.0, 0, 0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ win-gtab.cpp:537:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 537 | GtkWidget *hbox_row1 = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-gtab.cpp:558:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 558 | hbox_row2 = gtk_hbox_new (FALSE, 0); | ^~~~~~~~~ gcin-gtk-compatible.h:94:21: note: declared here 94 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ win-gtab.cpp:643:22: error: passing argument 1 of ‘gtk_label_set_text’ from incompatible pointer type [-Wincompatible-pointer-types] 643 | gtk_label_set_text(label_key_codes, str_key_codes); | ^~~~~~~~~~~~~~~ | | | GtkWidget * {aka struct _GtkWidget *} In file included from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/gtklabel.h:95:67: note: expected ‘GtkLabel *’ {aka ‘struct _GtkLabel *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} 95 | void gtk_label_set_text (GtkLabel *label, | ~~~~~~~~~~~~~~~^~~~~ win-gtab.cpp: In function ‘get_full_str’: win-gtab.cpp:851:3: warning: enumeration value ‘GCIN_STATE_DISABLED’ not handled in switch [-Wswitch] 851 | switch (current_CS->im_state) { | ^~~~~~ make: *** [suffixes-rule:4: win-gtab.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.IZ1ihK (%build) Bad exit status from /var/tmp/rpm-tmp.IZ1ihK (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcin.spec