Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lterm.spec'], chrootPath='/var/lib/mock/f33-build-145178-42928/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fe3675700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lterm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/lterm-1.5.1-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lterm.spec'], chrootPath='/var/lib/mock/f33-build-145178-42928/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fe3675700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lterm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ktGiq3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lterm-1.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/lterm-1.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lterm-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kvGPG1 + umask 022 + cd /builddir/build/BUILD + cd lterm-1.5.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./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 --with-gtk2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/lterm-1.5.1/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/lterm-1.5.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for xmlcatalog... /usr/bin/xmlcatalog checking for update-desktop-database... /usr/bin/update-desktop-database checking for update-mime-database... /usr/bin/update-mime-database checking for gtk libs... found gtk 2.0 checking for vte emulator widget... found vte checking for openssl lib... yes checking for libssh... yes no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for memset... yes checking for mkdir... yes checking for regcomp... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strrchr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating img/Makefile config.status: creating img/types/Makefile config.status: creating data/Makefile config.status: creating src/config.h config.status: src/config.h is unchanged config.status: executing depfiles commands + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OuDZE1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lterm-1.5.1-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lterm-1.5.1-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/lterm-1.5.1-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lterm-1.5.1-3.fc33.riscv64 + cd lterm-1.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lterm-1.5.1-3.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o connection.o connection.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from connection.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from connection.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from connection.c:38: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ connection.c: In function 'detect_serverlist_file_version': connection.c:130:8: warning: unused variable 'v2_s' [-Wunused-variable] 130 | char v2_s[] = ";mtsl-2"; | ^~~~ connection.c:127:8: warning: unused variable 'line' [-Wunused-variable] 127 | char line[1024]; | ^~~~ connection.c:126:9: warning: unused variable 'fp' [-Wunused-variable] 126 | FILE *fp; | ^~ connection.c: In function 'save_connections_to_file_xml': connection.c:569:7: warning: unused variable 'i' [-Wunused-variable] 569 | int i; | ^ connection.c: In function 'save_connections_to_file_xml_from_glist': connection.c:639:22: warning: unused variable 'c' [-Wunused-variable] 639 | struct Connection *c; | ^ connection.c:637:7: warning: unused variable 'i' [-Wunused-variable] 637 | int i; | ^ connection.c: In function 'read_connection_node': connection.c:720:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 720 | if (child = xml_node_get_child (node, "last_user")) | ^~~~~ connection.c:723:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 723 | if (child = xml_node_get_child (node, "user")) | ^~~~~ connection.c:728:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 728 | if (child = xml_node_get_child (node, "password")) | ^~~~~ connection.c:747:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 747 | if (child = xml_node_get_child (node, "directory")) | ^~~~~ connection.c:750:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 750 | if (child = xml_node_get_child (node, "note")) | ^~~~~ connection.c:753:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 753 | if (node_auth = xml_node_get_child (node, "authentication")) | ^~~~~~~~~ connection.c:763:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 763 | if (child = xml_node_get_child (node_auth, "mode")) | ^~~~~ connection.c:770:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 770 | if (child = xml_node_get_child (node_auth, "auth_user")) | ^~~~~ connection.c:773:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 773 | if (child = xml_node_get_child (node_auth, "auth_password")) | ^~~~~ connection.c:789:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 789 | if (child = xml_node_get_child (node_auth, "identityFile")) | ^~~~~ connection.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 794 | if (node_hist = xml_node_get_child (node, "history")) | ^~~~~~~~~ connection.c:812:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 812 | if (child = xml_node_get_child (node, "upload_dir")) | ^~~~~ connection.c:815:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 815 | if (child = xml_node_get_child (node, "download_dir")) | ^~~~~ connection.c:819:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 819 | if (child = xml_node_get_child (node, "x11Forwarding")) | ^~~~~ connection.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 827 | if (child = xml_node_get_child (node, "options")) | ^~~~~ connection.c:699:20: warning: unused variable 'pc' [-Wunused-variable] 699 | char name[256], *pc; | ^~ connection.c:699:8: warning: unused variable 'name' [-Wunused-variable] 699 | char name[256], *pc; | ^~~~ connection.c: In function 'read_xml_connection_item': connection.c:862:32: warning: unused variable 'node_hist' [-Wunused-variable] 862 | XMLNode *child, *node_auth, *node_hist; | ^~~~~~~~~ connection.c:862:20: warning: unused variable 'node_auth' [-Wunused-variable] 862 | XMLNode *child, *node_auth, *node_hist; | ^~~~~~~~~ connection.c:862:12: warning: unused variable 'child' [-Wunused-variable] 862 | XMLNode *child, *node_auth, *node_hist; | ^~~~~ connection.c: In function 'get_xml_doc': connection.c:915:20: warning: unused variable 'tmp_s' [-Wunused-variable] 915 | char line[2048], tmp_s[32]; | ^~~~~ connection.c: In function 'load_connections_from_file_xml': connection.c:967:8: warning: unused variable 'line' [-Wunused-variable] 967 | char line[2048], tmp_s[32]; | ^~~~ connection.c:965:22: warning: unused variable 'p_conn' [-Wunused-variable] 965 | struct Connection *p_conn; | ^~~~~~ connection.c: In function 'load_connections': connection.c:1082:22: warning: unused variable 'p_conn' [-Wunused-variable] 1082 | struct Connection *p_conn; | ^~~~~~ connection.c: In function 'count_current_connections': connection.c:1121:11: warning: implicit declaration of function 'cl_count' [-Wimplicit-function-declaration] 1121 | return (cl_count (&conn_list)); | ^~~~~~~~ connection.c: In function 'copy_button_clicked_cb': connection.c:1250:11: warning: implicit declaration of function 'get_selected_connection'; did you mean 'add_recent_connection'? [-Wimplicit-function-declaration] 1250 | found = get_selected_connection (select, &conn); | ^~~~~~~~~~~~~~~~~~~~~~~ | add_recent_connection connection.c: In function 'select_private_key_cb': connection.c:1373:38: warning: passing argument 1 of 'gtk_entry_set_text' from incompatible pointer type [-Wincompatible-pointer-types] 1373 | gtk_entry_set_text (authWidgets.entry_private_key, gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog))); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | GtkWidget * {aka struct _GtkWidget *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from connection.c:23: /usr/include/gtk-2.0/gtk/gtkentry.h:213:65: note: expected 'GtkEntry *' {aka 'struct _GtkEntry *'} but argument is of type 'GtkWidget *' {aka 'struct _GtkWidget *'} 213 | void gtk_entry_set_text (GtkEntry *entry, | ~~~~~~~~~~~~~~~^~~~~ connection.c: In function 'clear_private_key_cb': connection.c:1382:34: warning: passing argument 1 of 'gtk_entry_set_text' from incompatible pointer type [-Wincompatible-pointer-types] 1382 | gtk_entry_set_text (authWidgets.entry_private_key, ""); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | GtkWidget * {aka struct _GtkWidget *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from connection.c:23: /usr/include/gtk-2.0/gtk/gtkentry.h:213:65: note: expected 'GtkEntry *' {aka 'struct _GtkEntry *'} but argument is of type 'GtkWidget *' {aka 'struct _GtkWidget *'} 213 | void gtk_entry_set_text (GtkEntry *entry, | ~~~~~~~~~~~~~~~^~~~~ connection.c: In function 'add_update_connection': connection.c:1528:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1528 | return; | ^~~~~~ connection.c:1485:1: note: declared here 1485 | add_update_connection (struct GroupNode *p_node, struct Connection *p_conn_model) | ^~~~~~~~~~~~~~~~~~~~~ connection.c:1856:13: warning: implicit declaration of function 'connection_copy'; did you mean 'connection_init'? [-Wimplicit-function-declaration] 1856 | connection_copy (&conn_new, p_conn); | ^~~~~~~~~~~~~~~ | connection_init connection.c:1960:19: warning: implicit declaration of function 'refresh_search_completion' [-Wimplicit-function-declaration] 1960 | refresh_search_completion (); | ^~~~~~~~~~~~~~~~~~~~~~~~~ connection.c:1622:7: warning: unused variable 'sig_handler_prot' [-Wunused-variable] 1622 | int sig_handler_prot = g_signal_connect (G_OBJECT (GTK_COMBO_BOX (protocol_combo)), "changed", G_CALLBACK (change_protocol_cb), NULL); | ^~~~~~~~~~~~~~~~ connection.c:1509:32: warning: variable 'p_conn_ctrl' set but not used [-Wunused-but-set-variable] 1509 | struct Connection conn_new, *p_conn_ctrl = NULL; | ^~~~~~~~~~~ connection.c:1507:7: warning: unused variable 'len' [-Wunused-variable] 1507 | int len; | ^~~ connection.c:1506:9: warning: unused variable 'p_enc_b64' [-Wunused-variable] 1506 | char *p_enc_b64; | ^~~~~~~~~ connection.c:1505:9: warning: unused variable 'p_enc' [-Wunused-variable] 1505 | char *p_enc; | ^~~~~ connection.c:1496:14: warning: unused variable 'table' [-Wunused-variable] 1496 | GtkWidget *table; | ^~~~~ connection.c:1495:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable] 1495 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~ connection.c:1495:14: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable] 1495 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~~~~~ connection.c:1493:19: warning: unused variable 'y_pad' [-Wunused-variable] 1493 | int x_pad = 10, y_pad = 5; | ^~~~~ connection.c:1493:7: warning: unused variable 'x_pad' [-Wunused-variable] 1493 | int x_pad = 10, y_pad = 5; | ^~~~~ connection.c:1491:9: warning: unused variable 'emu_tmp' [-Wunused-variable] 1491 | char *emu_tmp, connection_name[1024], s_tmp[1024]; | ^~~~~~~ connection.c:1490:19: warning: unused variable 'temp' [-Wunused-variable] 1490 | char title[64], temp[256]; | ^~~~ connection.c: In function 'add_update_folder': connection.c:1997:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable] 1997 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~ connection.c:1997:14: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable] 1997 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~~~~~ connection.c:1995:10: warning: unused variable 'proceed' [-Wunused-variable] 1995 | int i, proceed, err_name_validation, result; | ^~~~~~~ connection.c:1995:7: warning: unused variable 'i' [-Wunused-variable] 1995 | int i, proceed, err_name_validation, result; | ^ connection.c:1993:19: warning: unused variable 'temp' [-Wunused-variable] 1993 | char title[64], temp[256]; | ^~~~ connection.c: In function 'rebuild_tree_store': connection.c:2196:3: warning: implicit declaration of function 'cl_check' [-Wimplicit-function-declaration] 2196 | cl_check (&conn_list); | ^~~~~~~~ connection.c: In function 'cursor_changed_cb': connection.c:2290:21: warning: unused variable 'selection' [-Wunused-variable] 2290 | GtkTreeSelection *selection; | ^~~~~~~~~ connection.c: In function 'row_activated_quick_cb': connection.c:2413:17: warning: implicit declaration of function 'log_on' [-Wimplicit-function-declaration] 2413 | retcode = log_on (p_connection_tab); | ^~~~~~ connection.c:2417:11: warning: implicit declaration of function 'connection_tab_add'; did you mean 'connection_tab_new'? [-Wimplicit-function-declaration] 2417 | connection_tab_add (p_connection_tab); | ^~~~~~~~~~~~~~~~~~ | connection_tab_new connection.c:2389:10: warning: unused variable 'sel_name' [-Wunused-variable] 2389 | gchar *sel_name; | ^~~~~~~~ connection.c:2388:8: warning: unused variable 'sel_port' [-Wunused-variable] 2388 | gint sel_port; | ^~~~~~~~ connection.c:2387:20: warning: unused variable 'p_prot' [-Wunused-variable] 2387 | struct Protocol *p_prot; | ^~~~~~ connection.c:2386:34: warning: unused variable 'conn1' [-Wunused-variable] 2386 | struct Connection *p_conn_new, conn1; | ^~~~~ connection.c:2386:22: warning: unused variable 'p_conn_new' [-Wunused-variable] 2386 | struct Connection *p_conn_new, conn1; | ^~~~~~~~~~ connection.c:2385:22: warning: unused variable 'p_conn_selected' [-Wunused-variable] 2385 | struct Connection *p_conn_selected, conn; | ^~~~~~~~~~~~~~~ connection.c:2384:12: warning: unused variable 'have_iter' [-Wunused-variable] 2384 | gboolean have_iter; | ^~~~~~~~~ connection.c:2383:15: warning: unused variable 'iter' [-Wunused-variable] 2383 | GtkTreeIter iter; | ^~~~ connection.c: In function 'on_drag_data_inserted': connection.c:2523:23: warning: unused variable 'tree_view' [-Wunused-variable] 2523 | struct GtkTreeView *tree_view = (struct GtkTreeView *) user_data; | ^~~~~~~~~ connection.c: In function 'create_connections_tree_view': connection.c:2671:10: warning: unused variable 'sel_name' [-Wunused-variable] 2671 | gchar *sel_name; | ^~~~~~~~ connection.c:2670:8: warning: unused variable 'sel_port' [-Wunused-variable] 2670 | gint sel_port; | ^~~~~~~~ connection.c:2669:20: warning: unused variable 'p_prot' [-Wunused-variable] 2669 | struct Protocol *p_prot; | ^~~~~~ connection.c:2668:22: warning: unused variable 'p_conn_new' [-Wunused-variable] 2668 | struct Connection *p_conn_new; | ^~~~~~~~~~ connection.c:2667:22: warning: unused variable 'p_conn_selected' [-Wunused-variable] 2667 | struct Connection *p_conn_selected; | ^~~~~~~~~~~~~~~ connection.c:2665:7: warning: unused variable 'retcode' [-Wunused-variable] 2665 | int retcode = 0; | ^~~~~~~ connection.c:2664:7: warning: unused variable 'port' [-Wunused-variable] 2664 | int port; | ^~~~ connection.c:2663:43: warning: unused variable 'port_tmp' [-Wunused-variable] 2663 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:2663:29: warning: unused variable 'protocol' [-Wunused-variable] 2663 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:2663:18: warning: unused variable 'host' [-Wunused-variable] 2663 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:2663:8: warning: unused variable 'name' [-Wunused-variable] 2663 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:2662:20: warning: unused variable 's_path' [-Wunused-variable] 2662 | char line[1024], s_path[16]; | ^~~~~~ connection.c:2662:8: warning: unused variable 'line' [-Wunused-variable] 2662 | char line[1024], s_path[16]; | ^~~~ connection.c:2661:9: warning: unused variable 'fp' [-Wunused-variable] 2661 | FILE *fp; | ^~ connection.c:2657:15: warning: unused variable 'iter' [-Wunused-variable] 2657 | GtkTreeIter iter; | ^~~~ connection.c:2656:17: warning: unused variable 'tree_model' [-Wunused-variable] 2656 | GtkTreeModel *tree_model; | ^~~~~~~~~~ connection.c: In function 'get_selected_connection': connection.c:2776:12: warning: unused variable 'have_iter' [-Wunused-variable] 2776 | gboolean have_iter; | ^~~~~~~~~ connection.c: In function 'edit_button_clicked_cb': connection.c:2877:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2877 | if (p_node = add_update_connection (g_selected_node, NULL)) | ^~~~~~ connection.c:2882:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2882 | if (p_node = add_update_folder (g_selected_node)) | ^~~~~~ connection.c: In function 'delete_button_clicked_cb': connection.c:2952:16: warning: unused variable 'path' [-Wunused-variable] 2952 | GtkTreePath *path; | ^~~~ connection.c: In function 'ok_button_clicked_cb': connection.c:3018:18: warning: unused variable 'buffer' [-Wunused-variable] 3018 | GtkTextBuffer *buffer = (GtkTextBuffer *) user_data; | ^~~~~~ connection.c: In function 'choose_manage_connection': connection.c:3314:7: warning: implicit declaration of function 'lterm_iteration'; did you mean 'gtk_main_iteration'? [-Wimplicit-function-declaration] 3314 | lterm_iteration (); | ^~~~~~~~~~~~~~~ | gtk_main_iteration connection.c:3064:10: warning: unused variable 'sel_name' [-Wunused-variable] 3064 | gchar *sel_name; | ^~~~~~~~ connection.c:3063:8: warning: unused variable 'sel_port' [-Wunused-variable] 3063 | gint sel_port; | ^~~~~~~~ connection.c:3062:21: warning: unused variable 'p_node' [-Wunused-variable] 3062 | struct GroupNode *p_node; | ^~~~~~ connection.c:3061:20: warning: unused variable 'p_prot' [-Wunused-variable] 3061 | struct Protocol *p_prot; | ^~~~~~ connection.c:3060:22: warning: unused variable 'p_conn_new' [-Wunused-variable] 3060 | struct Connection *p_conn_new; | ^~~~~~~~~~ connection.c:3059:22: warning: unused variable 'p_conn_selected' [-Wunused-variable] 3059 | struct Connection *p_conn_selected; | ^~~~~~~~~~~~~~~ connection.c:3055:7: warning: unused variable 'port' [-Wunused-variable] 3055 | int port; | ^~~~ connection.c:3053:43: warning: unused variable 'port_tmp' [-Wunused-variable] 3053 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:3053:29: warning: unused variable 'protocol' [-Wunused-variable] 3053 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:3053:18: warning: unused variable 'host' [-Wunused-variable] 3053 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:3053:8: warning: unused variable 'name' [-Wunused-variable] 3053 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:3052:20: warning: unused variable 's_path' [-Wunused-variable] 3052 | char line[1024], s_path[16]; | ^~~~~~ connection.c:3052:8: warning: unused variable 'line' [-Wunused-variable] 3052 | char line[1024], s_path[16]; | ^~~~ connection.c:3051:9: warning: unused variable 'fp' [-Wunused-variable] 3051 | FILE *fp; | ^~ connection.c:3049:12: warning: unused variable 'have_iter' [-Wunused-variable] 3049 | gboolean have_iter; | ^~~~~~~~~ connection.c:3038:22: warning: unused variable 'column' [-Wunused-variable] 3038 | GtkTreeViewColumn *column; | ^~~~~~ connection.c:3037:20: warning: unused variable 'cell' [-Wunused-variable] 3037 | GtkCellRenderer *cell; | ^~~~ connection.c:3036:15: warning: unused variable 'iter' [-Wunused-variable] 3036 | GtkTreeIter iter; | ^~~~ connection.c:3032:14: warning: unused variable 'vpaned' [-Wunused-variable] 3032 | GtkWidget *vpaned; | ^~~~~~ connection.c: In function 'connection_import_file_chooser': connection.c:3446:22: warning: unused variable 'p_conn' [-Wunused-variable] 3446 | struct Connection *p_conn; | ^~~~~~ connection.c:3445:7: warning: unused variable 'err' [-Wunused-variable] 3445 | int err = 0; | ^~~ connection.c: In function 'connection_import_MobaXterm': connection.c:3586:9: warning: implicit declaration of function 'list_get_nth' [-Wimplicit-function-declaration] 3586 | list_get_nth (line, 1, '=', conn.name); | ^~~~~~~~~~~~ connection.c:3579:19: warning: unused variable 'sshId' [-Wunused-variable] 3579 | const int sshId = '0'; | ^~~~~ connection.c:3577:34: warning: variable 'pConn' set but not used [-Wunused-but-set-variable] 3577 | struct Connection conn, *pConn; | ^~~~~ connection.c:3513:15: warning: unused variable 'err' [-Wunused-variable] 3513 | int result, err = 0; | ^~~ connection.c: In function 'connection_import_Putty': connection.c:3616:28: warning: unused variable 'pConn' [-Wunused-variable] 3616 | struct Connection conn, *pConn; | ^~~~~ connection.c:3613:15: warning: unused variable 'err' [-Wunused-variable] 3613 | int result, err = 0, n = 0; | ^~~ connection.c: In function 'connection_export_CSV': connection.c:3915:47: warning: unused variable 'template' [-Wunused-variable] 3915 | char filename[512], templateFilename[512], *template, *connectionEntry; | ^~~~~~~~ connection.c:3915:23: warning: unused variable 'templateFilename' [-Wunused-variable] 3915 | char filename[512], templateFilename[512], *template, *connectionEntry; | ^~~~~~~~~~~~~~~~ At top level: connection.c:2645:23: warning: 'row_targets' defined but not used [-Wunused-variable] 2645 | static GtkTargetEntry row_targets[] = { | ^~~~~~~~~~~ connection.c: In function 'add_update_connection': connection.c:1519:19: warning: '/edit-connection.glade' directive writing 22 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1519 | sprintf (ui, "%s/edit-connection.glade", globals.data_dir); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.c: In function 'duplicate_connection_button_clicked_cb': connection.c:2914:29: warning: ' (' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2914 | sprintf (new_name, "%s (%d)", p_conn->name, i); | ^~ connection.c:2914:26: note: directive argument in the range [1, 2147483647] 2914 | sprintf (new_name, "%s (%d)", p_conn->name, i); | ^~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 269 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from connection.c:37: connection.c: In function 'delete_button_clicked_cb': connection.c:2961:40: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=] 2961 | sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ connection.c:2961:56: note: format string is defined here 2961 | sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 42 and 297 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from connection.c:37: connection.c:2959:40: warning: '%s' directive writing up to 255 bytes into a region of size 237 [-Wformat-overflow=] 2959 | sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ connection.c:2959:60: note: format string is defined here 2959 | sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.c: In function 'connection_import_MobaXterm': connection.c:3600:17: warning: 'pFolderNode' may be used uninitialized in this function [-Wmaybe-uninitialized] 3600 | pNode = group_node_add_child (pFolderNode, GN_TYPE_CONNECTION, conn.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.c: In function 'connection_export_CSV': connection.c:3940:7: warning: 'connectionEntry' may be used uninitialized in this function [-Wmaybe-uninitialized] 3940 | free (connectionEntry); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o gui.o gui.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gui.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gui.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from gui.c:41: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ gui.c: In function 'child_exit': gui.c:540:9: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 540 | pid = wait (&status); | ^~~~ gui.c: In function 'tabResetFlag': gui.c:606:16: warning: operation on 'pConn->flags' may be undefined [-Wsequence-point] 606 | pConn->flags = pConn->flags &= ~bitmask; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'expand_args': gui.c:819:23: warning: implicit declaration of function 'conn_update_last_user' [-Wimplicit-function-declaration] 819 | if (conn_update_last_user (p_conn->name, p_conn->last_user)) | ^~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'show_login_mask': gui.c:946:1: warning: label 'run_dialog' defined but not used [-Wunused-label] 946 | run_dialog: | ^~~~~~~~~~ gui.c:888:23: warning: unused variable 'i' [-Wunused-variable] 888 | int result, rc = 0, i; | ^ gui.c: In function 'connection_tab_close': gui.c:1049:14: warning: unused variable 'child' [-Wunused-variable] 1049 | GtkWidget *child; | ^~~~~ gui.c: In function 'close_button_clicked_cb': gui.c:1112:22: warning: unused variable 'can_close' [-Wunused-variable] 1112 | int page, retcode, can_close; | ^~~~~~~~~ gui.c:1112:13: warning: unused variable 'retcode' [-Wunused-variable] 1112 | int page, retcode, can_close; | ^~~~~~~ gui.c:1112:7: warning: unused variable 'page' [-Wunused-variable] 1112 | int page, retcode, can_close; | ^~~~ gui.c: In function 'query_tooltip_cb': gui.c:1152:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1152 | if (p_conn = get_connection_by_host (g_match.matched_string)) | ^~~~~~ gui.c: In function 'connection_tab_add': gui.c:1232:7: warning: unused variable 'font_size' [-Wunused-variable] 1232 | int font_size; | ^~~~~~~~~ gui.c:1230:11: warning: unused variable 'h' [-Wunused-variable] 1230 | gint w, h; | ^ gui.c:1230:8: warning: unused variable 'w' [-Wunused-variable] 1230 | gint w, h; | ^ gui.c: In function 'connection_tab_getcwd': gui.c:1473:11: warning: value computed is not used [-Wunused-value] 1473 | *pc ++; | ^~~~~~ gui.c: In function 'connection_log_on_param': gui.c:1500:7: warning: implicit declaration of function 'connection_copy'; did you mean 'connection_init'? [-Wimplicit-function-declaration] 1500 | connection_copy (&p_connection_tab->connection, p_conn); | ^~~~~~~~~~~~~~~ | connection_init gui.c:1510:15: warning: implicit declaration of function 'choose_manage_connection' [-Wimplicit-function-declaration] 1510 | retcode = choose_manage_connection (&p_connection_tab->connection); | ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1550:15: warning: implicit declaration of function 'refresh_panel_history' [-Wimplicit-function-declaration] 1550 | refresh_panel_history (); | ^~~~~~~~~~~~~~~~~~~~~ gui.c:1492:20: warning: unused variable 'p_prot' [-Wunused-variable] 1492 | struct Protocol *p_prot; | ^~~~~~ gui.c: In function 'connection_duplicate': gui.c:1613:8: warning: unused variable 'command' [-Wunused-variable] 1613 | char command[1024]; | ^~~~~~~ gui.c: In function 'connection_new_terminal_dir': gui.c:1663:7: warning: unused variable 'rc' [-Wunused-variable] 1663 | int rc; | ^~ gui.c:1659:20: warning: unused variable 'p_prot' [-Wunused-variable] 1659 | struct Protocol *p_prot; | ^~~~~~ gui.c: In function 'application_quit': gui.c:1727:10: warning: unused variable 'item' [-Wunused-variable] 1727 | GList *item; | ^~~~ gui.c: In function 'open_recent_session_from_info': gui.c:1798:8: warning: unused variable 's_tmp' [-Wunused-variable] 1798 | char s_tmp[256]; | ^~~~~ gui.c:1796:22: warning: unused variable 'p_conn' [-Wunused-variable] 1796 | struct Connection *p_conn; | ^~~~~~ gui.c:1795:10: warning: unused variable 'item' [-Wunused-variable] 1795 | GList *item; | ^~~~ gui.c: In function 'session_recent_cb': gui.c:1815:22: warning: unused variable 'p_conn' [-Wunused-variable] 1815 | struct Connection *p_conn; | ^~~~~~ gui.c:1814:10: warning: unused variable 'item' [-Wunused-variable] 1814 | GList *item; | ^~~~ gui.c:1813:8: warning: unused variable 's_tmp' [-Wunused-variable] 1813 | char s_tmp[256]; | ^~~~~ gui.c:1812:7: warning: unused variable 'i' [-Wunused-variable] 1812 | int i; | ^ gui.c: In function 'update_recent_sessions_menu': gui.c:1961:12: warning: unused variable 's_tmp' [-Wunused-variable] 1961 | char s_tmp[256]; | ^~~~~ gui.c:1960:14: warning: unused variable 'location' [-Wunused-variable] 1960 | GFile *location; | ^~~~~~~~ gui.c:1957:14: warning: unused variable 'tip' [-Wunused-variable] 1957 | gchar *tip; | ^~~ gui.c:1956:14: warning: unused variable 'ruri' [-Wunused-variable] 1956 | gchar *ruri; | ^~~~ gui.c:1955:14: warning: unused variable 'uri' [-Wunused-variable] 1955 | gchar *uri; | ^~~ gui.c: In function 'add_recent_connection': gui.c:2046:7: warning: unused variable 'found' [-Wunused-variable] 2046 | int found = 0; | ^~~~~ gui.c:2042:22: warning: unused variable 'p_conn_recent' [-Wunused-variable] 2042 | struct Connection *p_conn_recent; | ^~~~~~~~~~~~~ gui.c: In function 'recent_chooser_item_activated': gui.c:2174:8: warning: unused variable 's_tmp' [-Wunused-variable] 2174 | char s_tmp[256]; | ^~~~~ gui.c:2173:8: warning: unused variable 'display_name' [-Wunused-variable] 2173 | char display_name[1024]; | ^~~~~~~~~~~~ gui.c:2172:22: warning: unused variable 'p_conn' [-Wunused-variable] 2172 | struct Connection *p_conn; | ^~~~~~ gui.c:2170:10: warning: unused variable 'item' [-Wunused-variable] 2170 | GList *item; | ^~~~ gui.c: In function 'load_recent_connections': gui.c:2244:22: warning: unused variable 'c' [-Wunused-variable] 2244 | struct Connection *c; | ^ gui.c:2243:26: warning: unused variable 'cl' [-Wunused-variable] 2243 | struct Connection_List cl; | ^~ gui.c:2242:10: warning: unused variable 'item' [-Wunused-variable] 2242 | GList *item; | ^~~~ gui.c:2241:7: warning: unused variable 'rc' [-Wunused-variable] 2241 | int rc; | ^~ gui.c: In function 'save_recent_connections': gui.c:2302:10: warning: unused variable 'item' [-Wunused-variable] 2302 | GList *item; | ^~~~ gui.c:2301:7: warning: unused variable 'i' [-Wunused-variable] 2301 | int i; | ^ gui.c:2300:12: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2300 | int len, rc = 0; | ^~ gui.c:2300:7: warning: unused variable 'len' [-Wunused-variable] 2300 | int len, rc = 0; | ^~~ gui.c:2299:8: warning: unused variable 'name_tmp' [-Wunused-variable] 2299 | char name_tmp[256]; | ^~~~~~~~ gui.c:2298:9: warning: unused variable 'p_enc_b64' [-Wunused-variable] 2298 | char *p_enc_b64; | ^~~~~~~~~ gui.c:2297:9: warning: unused variable 'p_enc' [-Wunused-variable] 2297 | char *p_enc; | ^~~~~ gui.c:2296:26: warning: unused variable 'cl' [-Wunused-variable] 2296 | struct Connection_List cl; | ^~ gui.c:2295:22: warning: unused variable 'p_conn' [-Wunused-variable] 2295 | struct Connection *p_conn; | ^~~~~~ gui.c:2294:21: warning: unused variable 'conn' [-Wunused-variable] 2294 | struct Connection conn; | ^~~~ gui.c: In function 'edit_find': gui.c:2510:1: warning: label 'run_dialog' defined but not used [-Wunused-label] 2510 | run_dialog: | ^~~~~~~~~~ gui.c:2468:23: warning: unused variable 'i' [-Wunused-variable] 2468 | int result, rc = 0, i; | ^ gui.c: In function 'edit_current_profile': gui.c:2549:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2549 | if (p_profile = profile_get_by_id (&g_profile_list, p_current_connection_tab->profile_id)) | ^~~~~~~~~ gui.c: At top level: gui.c:2777:2: warning: "/*" within comment [-Wcomment] 2777 | \/* | gui.c: In function 'view_fullscreen': gui.c:2898:14: warning: variable 'toggle' set but not used [-Wunused-but-set-variable] 2898 | GtkWidget *toggle; | ^~~~~~ gui.c: In function 'terminal_detach': gui.c:3018:3: warning: implicit declaration of function 'lterm_iteration'; did you mean 'gtk_main_iteration'? [-Wimplicit-function-declaration] 3018 | lterm_iteration (); | ^~~~~~~~~~~~~~~ | gtk_main_iteration gui.c: In function 'terminal_toggled_cb': gui.c:3178:16: warning: unused variable 'path' [-Wunused-variable] 3178 | GtkTreePath *path = gtk_tree_path_new_from_string (path_str); | ^~~~ gui.c: In function 'terminal_cluster': gui.c:3231:17: warning: unused variable 'tree_model' [-Wunused-variable] 3231 | GtkTreeModel *tree_model; | ^~~~~~~~~~ gui.c:3228:21: warning: unused variable 'select' [-Wunused-variable] 3228 | GtkTreeSelection *select; | ^~~~~~ gui.c:3194:17: warning: unused variable 'tmp' [-Wunused-variable] 3194 | char ui[256], tmp[512]; | ^~~ gui.c:3192:26: warning: unused variable 'button_cancel' [-Wunused-variable] 3192 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~~~~~ gui.c:3192:14: warning: unused variable 'button_ok' [-Wunused-variable] 3192 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~ gui.c: In function 'sftp_upload_files': gui.c:3420:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3420 | if (p_conn = cl_get_by_name (&conn_list, p_current_connection_tab->connection.name)) | ^~~~~~ gui.c:3403:1: warning: label 'l_upl_dialog' defined but not used [-Wunused-label] 3403 | l_upl_dialog: | ^~~~~~~~~~~~ gui.c:3362:9: warning: unused variable 's_tmp' [-Wunused-variable] 3362 | char *s_tmp; | ^~~~~ gui.c: In function 'sftp_download_files': gui.c:3530:1: warning: label 'l_dwl_dialog' defined but not used [-Wunused-label] 3530 | l_dwl_dialog: | ^~~~~~~~~~~~ gui.c:3487:23: warning: unused variable 'remote_directory' [-Wunused-variable] 3487 | char pattern[1024], remote_directory[1024] = ""; | ^~~~~~~~~~~~~~~~ gui.c:3487:8: warning: unused variable 'pattern' [-Wunused-variable] 3487 | char pattern[1024], remote_directory[1024] = ""; | ^~~~~~~ gui.c:3486:32: warning: unused variable 's_tmp' [-Wunused-variable] 3486 | char *local_directory=NULL, *s_tmp; | ^~~~~ gui.c: In function 'go_to_url': gui.c:3568:7: warning: variable 'exit_code' set but not used [-Wunused-but-set-variable] 3568 | int exit_code; | ^~~~~~~~~ gui.c: In function 'Info': gui.c:3665:3: warning: implicit declaration of function 'get_system'; did you mean 'system'? [-Wimplicit-function-declaration] 3665 | get_system (sys); | ^~~~~~~~~~ | system gui.c:3628:9: warning: unused variable 'fp' [-Wunused-variable] 3628 | FILE *fp; | ^~ gui.c:3627:27: warning: unused variable 'vbox_versions' [-Wunused-variable] 3627 | GtkWidget *hbox_title, *vbox_versions; | ^~~~~~~~~~~~~ gui.c:3627:14: warning: unused variable 'hbox_title' [-Wunused-variable] 3627 | GtkWidget *hbox_title, *vbox_versions; | ^~~~~~~~~~ gui.c:3625:18: warning: unused variable 'info' [-Wunused-variable] 3625 | struct utsname info; | ^~~~ gui.c:3623:8: warning: unused variable 's' [-Wunused-variable] 3623 | char s[1024], text[1024]; | ^ gui.c: In function 'activate_radio_action': gui.c:3821:12: warning: unused variable 'active' [-Wunused-variable] 3821 | gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); | ^~~~~~ gui.c:3820:16: warning: unused variable 'typename' [-Wunused-variable] 3820 | const gchar *typename = G_OBJECT_TYPE_NAME (GTK_ACTION (current)); | ^~~~~~~~ gui.c:3819:16: warning: unused variable 'name' [-Wunused-variable] 3819 | const gchar *name = gtk_action_get_name (GTK_ACTION (current)); | ^~~~ gui.c: In function 'profile_radio_action_cb': gui.c:3839:8: warning: unused variable 'value' [-Wunused-variable] 3839 | gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); | ^~~~~ gui.c:3838:12: warning: unused variable 'active' [-Wunused-variable] 3838 | gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); | ^~~~~~ gui.c: In function 'refresh_profile_menu': gui.c:3944:14: warning: unused variable 'action' [-Wunused-variable] 3944 | GtkAction *action; | ^~~~~~ gui.c:3943:24: warning: unused variable 'items' [-Wunused-variable] 3943 | GList *actions, *l, *items; | ^~~~~ gui.c: In function 'get_main_menu': gui.c:4003:8: warning: unused variable 'recent_connections_desc' [-Wunused-variable] 4003 | char recent_connections_desc[10000]; | ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:4000:21: warning: unused variable 'recent_manager' [-Wunused-variable] 4000 | GtkRecentManager *recent_manager; | ^~~~~~~~~~~~~~ gui.c: In function 'completion_match_selected_cb': gui.c:4135:3: warning: implicit declaration of function 'open_connection'; did you mean 'get_connection'? [-Wimplicit-function-declaration] 4135 | open_connection (connection_string); | ^~~~~~~~~~~~~~~ | get_connection gui.c:4137:3: warning: implicit declaration of function 'search_entry_focus_out_event_cb' [-Wimplicit-function-declaration] 4137 | search_entry_focus_out_event_cb (search_entry, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'refresh_search_completion': gui.c:4245:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4245 | while (p_conn = cl_get_by_index (/*cl_get_current ()*/ &conn_list, i)) | ^~~~~~ gui.c: In function 'statusbar_push': gui.c:4399:8: warning: unused variable 'result' [-Wunused-variable] 4399 | gint result; | ^~~~~~ gui.c: In function 'statusbar_msg': gui.c:4430:8: warning: unused variable 'result' [-Wunused-variable] 4430 | gint result; | ^~~~~~ gui.c: In function 'hyperlink_add_host': gui.c:4603:21: warning: variable 'p_node' set but not used [-Wunused-but-set-variable] 4603 | struct GroupNode *p_node; | ^~~~~~ gui.c: In function 'terminal_popup_menu': gui.c:4633:12: warning: implicit declaration of function 'count_current_connections'; did you mean 'load_recent_connections'? [-Wimplicit-function-declaration] 4633 | n_conn = count_current_connections (); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | load_recent_connections gui.c: In function 'child_exited_cb': gui.c:4792:7: warning: unused variable 'code' [-Wunused-variable] 4792 | int code; | ^~~~ gui.c: In function 'button_press_event_cb': gui.c:4938:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4938 | if (p_conn = get_connection_by_host (g_match.matched_string)) | ^~~~~~ gui.c:4897:17: warning: unused variable 'tag' [-Wunused-variable] 4897 | int row, col, tag; | ^~~ gui.c: In function 'contents_changed_cb': gui.c:5107:5: warning: implicit declaration of function 'lower' [-Wimplicit-function-declaration] 5107 | lower (line); | ^~~~~ gui.c: In function 'char_size_changed_cb': gui.c:5278:3: warning: 'vte_terminal_get_padding' is deprecated [-Wdeprecated-declarations] 5278 | vte_terminal_get_padding (terminal, &xpad, &ypad); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-0.0/vte/vte.h:529, from gui.c:26: /usr/include/vte-0.0/vte/vtedeprecated.h:93:6: note: declared here 93 | void vte_terminal_get_padding(VteTerminal *terminal, int *xpad, int *ypad) G_GNUC_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'apply_preferences': gui.c:5503:12: warning: unused variable 'terminal_back_color' [-Wunused-variable] 5503 | GdkColor terminal_back_color; | ^~~~~~~~~~~~~~~~~~~ gui.c:5502:12: warning: unused variable 'terminal_fore_color' [-Wunused-variable] 5502 | GdkColor terminal_fore_color; | ^~~~~~~~~~~~~~~~~~~ gui.c: In function 'apply_profile_terminal': gui.c:5561:12: warning: unused variable 'object' [-Wunused-variable] 5561 | GObject *object; | ^~~~~~ gui.c: In function 'start_gtk': gui.c:5736:37: warning: unused variable 'ifr_function' [-Wunused-variable] 5736 | struct Iteration_Function_Request ifr_function; | ^~~~~~~~~~~~ gui.c:5735:7: warning: unused variable 'font_size' [-Wunused-variable] 5735 | int font_size; | ^~~~~~~~~ gui.c:5734:25: warning: unused variable 'font_desc' [-Wunused-variable] 5734 | PangoFontDescription *font_desc; | ^~~~~~~~~ gui.c:5733:14: warning: unused variable 'scrollbar' [-Wunused-variable] 5733 | GtkWidget *scrollbar; | ^~~~~~~~~ gui.c:5732:14: warning: unused variable 'hbox_terminal' [-Wunused-variable] 5732 | GtkWidget *hbox_terminal; /* vte + scrollbar */ | ^~~~~~~~~~~~~ gui.c:5730:8: warning: unused variable 's_tmp' [-Wunused-variable] 5730 | char s_tmp[256]; | ^~~~~ gui.c:5729:7: warning: unused variable 'i' [-Wunused-variable] 5729 | int i; | ^ gui.c: In function 'open_connection': gui.c:5686:1: warning: control reaches end of non-void function [-Wreturn-type] 5686 | } | ^ gui.c: In function 'edit_find': gui.c:2475:19: warning: '/find.glade' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2475 | sprintf (ui, "%s/find.glade", globals.data_dir); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'Info': gui.c:3635:19: warning: '/credits.glade' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 3635 | sprintf (ui, "%s/credits.glade", globals.data_dir); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3656:31: warning: '/main_icon.png' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 3656 | sprintf (image_filename, "%s/main_icon.png", globals.img_dir); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'terminal_cluster': gui.c:3203:19: warning: '/cluster.glade' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 3203 | sprintf (ui, "%s/cluster.glade", globals.data_dir); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'set_title': gui.c:622:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 622 | sprintf (title, "%s - %s", user_s, appname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui.c:34: gui.c: In function 'expand_args': gui.c:807:37: warning: '%s' directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=] 807 | sprintf (label, _("Enter user for <b>%s</b>:"), p_conn->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ gui.c:807:56: note: format string is defined here 807 | sprintf (label, _("Enter user for <b>%s</b>:"), p_conn->name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui.c:34: gui.c:852:37: warning: '%s' directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 852 | sprintf (label, _("Enter directory for <b>%s</b>:"), p_conn->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ gui.c:852:61: note: format string is defined here 852 | sprintf (label, _("Enter directory for <b>%s</b>:"), p_conn->name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui.c:34: gui.c:837:37: warning: '%s' directive writing up to 255 bytes into a region of size between 202 and 233 [-Wformat-overflow=] 837 | sprintf (label, _("Enter password for <b>%s@%s</b>:"), p_conn->user, p_conn->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ gui.c:837:63: note: format string is defined here 837 | sprintf (label, _("Enter password for <b>%s@%s</b>:"), p_conn->user, p_conn->name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 315 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'show_login_mask': gui.c:892:19: warning: '/login.glade' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 892 | sprintf (ui, "%s/login.glade", globals.data_dir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:898:36: warning: '/keys-64.png' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 898 | sprintf (image_auth_filename, "%s/keys-64.png", globals.img_dir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'update_recent_sessions_menu': gui.c:1920:127: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] 1920 | g_signal_handlers_disconnect_by_func (GTK_ACTION (l->data), G_CALLBACK (session_recent_cb), (gpointer) recent_entries[i].name); | ^ gui.c: In function 'add_recent_connection': gui.c:2106:23: warning: '%s' directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=] 2106 | sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 353 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui.c:34: gui.c: In function 'sftp_upload_files': gui.c:3385:21: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] 3385 | sprintf (title, _("Upload to %s (%s)"), p_current_connection_tab->connection.name, p_current_connection_tab->connection.host); | ^~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ gui.c:3385:32: note: format string is defined here 3385 | sprintf (title, _("Upload to %s (%s)"), p_current_connection_tab->connection.name, p_current_connection_tab->connection.host); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 524 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'sftp_download_files': gui.c:3547:6: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 3547 | if (result == GTK_RESPONSE_ACCEPT && local_directory) | ^ gui.c: In function 'update_title': gui.c:4387:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 4387 | sprintf (title, "%s - %s", label, appname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'update_statusbar': gui.c:4490:31: warning: '%s' directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=] 4490 | sprintf (s, "%s@%s (%s)", | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 546 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui.c:34: gui.c: In function 'connection_tab_close': gui.c:1059:28: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 1059 | sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ gui.c:1059:49: note: format string is defined here 1059 | sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'terminal_popup_menu': gui.c:4679:26: warning: ' (' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 4679 | sprintf (s_tmp, "%s (%s)", p_conn->name, p_conn->host); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'open_recent_connection_from_info': gui.c:1771:27: warning: '%s' directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=] 1771 | sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gui.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 353 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o main.o main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:33: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.c:33: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:33: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from main.c:45: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ main.c: In function 'log_write': main.c:111:8: warning: unused variable 'log_file' [-Wunused-variable] 111 | char log_file[256]; | ^~~~~~~~ main.c: In function 'lterm_iteration': main.c:208:10: warning: implicit declaration of function 'ifr_get' [-Wimplicit-function-declaration] 208 | while (ifr_get (&ifr_function)) | ^~~~~~~ main.c:218:11: warning: implicit declaration of function 'refresh_connection_tree_view' [-Wimplicit-function-declaration] 218 | refresh_connection_tree_view ((struct GtkTreeView *) ifr_function.user_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:226:11: warning: implicit declaration of function 'connection_tab_close'; did you mean 'connection_tab_new'? [-Wimplicit-function-declaration] 226 | connection_tab_close ((SConnectionTab *) ifr_function.user_data); | ^~~~~~~~~~~~~~~~~~~~ | connection_tab_new main.c:199:25: warning: unused variable 'lterminal' [-Wunused-variable] 199 | struct ConnectionTab *lterminal; | ^~~~~~~~~ main.c: In function 'main': main.c:382:3: warning: implicit declaration of function 'textdomain' [-Wimplicit-function-declaration] 382 | textdomain (PACKAGE); | ^~~~~~~~~~ main.c:383:3: warning: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration] 383 | bindtextdomain (PACKAGE, LOCALEDIR); | ^~~~~~~~~~~~~~ main.c:510:3: warning: implicit declaration of function 'pl_init'; did you mean 'cl_init'? [-Wimplicit-function-declaration] 510 | pl_init (&g_prot_list); | ^~~~~~~ | cl_init main.c:517:3: warning: implicit declaration of function 'check_standard_protocols' [-Wimplicit-function-declaration] 517 | check_standard_protocols (&g_prot_list); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:539:3: warning: implicit declaration of function 'XInitThreads' [-Wimplicit-function-declaration] 539 | XInitThreads (); | ^~~~~~~~~~~~ main.c:542:13: warning: Deprecated pre-processor symbol 542 | if (!g_thread_supported()) | ^~~~~~~~~~~~~~~~ main.c:543:7: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 543 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:33: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.c:551:3: warning: implicit declaration of function 'start_gtk' [-Wimplicit-function-declaration] 551 | start_gtk (argc, argv); | ^~~~~~~~~ main.c:558:3: warning: implicit declaration of function 'ifr_init' [-Wimplicit-function-declaration] 558 | ifr_init (); | ^~~~~~~~ main.c:586:7: warning: implicit declaration of function 'list_count' [-Wimplicit-function-declaration] 586 | if (list_count (globals.start_connections, '#')) | ^~~~~~~~~~ main.c:590:11: warning: implicit declaration of function 'list_get_nth' [-Wimplicit-function-declaration] 590 | list_get_nth (globals.start_connections, i, '#', s_tmp); | ^~~~~~~~~~~~ main.c:591:11: warning: implicit declaration of function 'open_connection'; did you mean 'get_connection'? [-Wimplicit-function-declaration] 591 | open_connection (s_tmp); | ^~~~~~~~~~~~~~~ | get_connection main.c:597:9: warning: implicit declaration of function 'load_session_file'; did you mean 'save_session_file'? [-Wimplicit-function-declaration] 597 | load_session_file (NULL); | ^~~~~~~~~~~~~~~~~ | save_session_file main.c:645:3: warning: implicit declaration of function 'save_recent_connections'; did you mean 'add_recent_connection'? [-Wimplicit-function-declaration] 645 | save_recent_connections (); | ^~~~~~~~~~~~~~~~~~~~~~~ | add_recent_connection main.c:648:3: warning: implicit declaration of function 'save_connections_to_file_xml'; did you mean 'save_connections_to_file'? [-Wimplicit-function-declaration] 648 | save_connections_to_file_xml (globals.connections_xml); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | save_connections_to_file main.c:654:3: warning: implicit declaration of function 'pl_release'; did you mean 'cl_release'? [-Wimplicit-function-declaration] 654 | pl_release (&g_prot_list); | ^~~~~~~~~~ | cl_release main.c:343:7: warning: unused variable 'digit_optind' [-Wunused-variable] 343 | int digit_optind; | ^~~~~~~~~~~~ main.c:342:7: warning: unused variable 'c' [-Wunused-variable] 342 | int c, n, rc; | ^ main.c: In function 'save_settings': main.c:795:7: warning: unused variable 'err' [-Wunused-variable] 795 | int err; | ^~~ main.c: In function 'cmpver': main.c:878:19: warning: unused variable 'cmp3' [-Wunused-variable] 878 | int cmp1, cmp2, cmp3; | ^~~~ main.c:878:13: warning: unused variable 'cmp2' [-Wunused-variable] 878 | int cmp1, cmp2, cmp3; | ^~~~ main.c:878:7: warning: unused variable 'cmp1' [-Wunused-variable] 878 | int cmp1, cmp2, cmp3; | ^~~~ At top level: main.c:154:13: warning: 'handle_signals' defined but not used [-Wunused-function] 154 | static void handle_signals (void) | ^~~~~~~~~~~~~~ main.c: In function 'log_write': main.c:134:23: warning: '%s' directive writing up to 2047 bytes into a region of size between 1983 and 2046 [-Wformat-overflow=] 134 | sprintf (line, "%s: %s", time_s, msg); | ^~ ~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 2113 bytes into a destination of size 2048 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:457:35: warning: '/serverlist' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 457 | sprintf (globals.serverlist, "%s/serverlist", globals.app_dir); /* deprecated */ | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:458:40: warning: '/connections.xml' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 458 | sprintf (globals.connections_xml, "%s/connections.xml", globals.app_dir); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:459:37: warning: '/session.xml' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 459 | sprintf (globals.session_file, "%s/session.xml", globals.app_dir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:460:33: warning: '/lterm.log' directive writing 10 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 460 | sprintf (globals.log_file, "%s/lterm.log", globals.app_dir); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:461:38: warning: '/profiles.xml' directive writing 13 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 461 | sprintf (globals.profiles_file, "%s/profiles.xml", globals.app_dir); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 269 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:462:39: warning: '/protocols.xml' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 462 | sprintf (globals.protocols_file, "%s/protocols.xml", globals.app_dir); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:464:48: warning: '/recents.xml' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 464 | sprintf (globals.recent_connections_file, "%s/recents.xml", globals.app_dir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:465:45: warning: '/recent_sessions' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 465 | sprintf (globals.recent_sessions_file, "%s/recent_sessions", globals.app_dir); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:466:35: warning: '%s' directive writing 5 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 466 | sprintf (globals.conf_file, "%s/%s.conf", globals.app_dir, PACKAGE_NAME); | ^~ In file included from /usr/include/stdio.h:871, from main.c:32: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o preferences.o preferences.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from preferences.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from preferences.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from preferences.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from preferences.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ preferences.c: In function 'profile_selected_cb': preferences.c:352:3: warning: implicit declaration of function 'apply_profile_terminal' [-Wimplicit-function-declaration] 352 | apply_profile_terminal (vte_profile, g_selected_profile); | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:334:15: warning: unused variable 'iter' [-Wunused-variable] 334 | GtkTreeIter iter; | ^~~~ preferences.c: In function 'show_preferences': preferences.c:626:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 626 | if (p_profile = profile_get_by_position (&g_profile_list, | ^~~~~~~~~ preferences.c:472:15: warning: unused variable 'iter' [-Wunused-variable] 472 | GtkTreeIter iter; | ^~~~ preferences.c:471:17: warning: unused variable 'tree_model' [-Wunused-variable] 471 | GtkTreeModel *tree_model; | ^~~~~~~~~~ preferences.c:388:17: warning: unused variable 'tmp' [-Wunused-variable] 388 | char ui[256], tmp[512]; | ^~~ preferences.c:384:44: warning: unused variable 'bg_color_entry' [-Wunused-variable] 384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; | ^~~~~~~~~~~~~~ preferences.c:384:27: warning: unused variable 'fg_color_entry' [-Wunused-variable] 384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; | ^~~~~~~~~~~~~~ preferences.c:384:14: warning: unused variable 'font_entry' [-Wunused-variable] 384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; | ^~~~~~~~~~ preferences.c:382:26: warning: unused variable 'button_cancel' [-Wunused-variable] 382 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~~~~~ preferences.c:382:14: warning: unused variable 'button_ok' [-Wunused-variable] 382 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~ preferences.c: In function 'profile_edit': preferences.c:123:19: warning: '/profile.glade' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 123 | sprintf (ui, "%s/profile.glade", globals.data_dir); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from preferences.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c: In function 'show_preferences': preferences.c:392:19: warning: '/preferences.glade' directive writing 18 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 392 | sprintf (ui, "%s/preferences.glade", globals.data_dir); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from preferences.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o profile.o profile.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:11, from profile.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.h:11, from profile.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.h:11, from profile.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.h:11, from profile.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from profile.c:29: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ profile.c: In function 'profile_get_name_param': profile.c:45:10: warning: unused variable 'nmatch' [-Wunused-variable] 45 | size_t nmatch; | ^~~~~~ profile.c: In function 'profile_load_int': profile.c:162:8: warning: unused variable 'buffer' [-Wunused-variable] 162 | char buffer[33]; | ^~~~~~ profile.c: In function 'profile_modify_string': profile.c:182:10: warning: unused variable 'nmatch' [-Wunused-variable] 182 | size_t nmatch; | ^~~~~~ profile.c: In function 'profile_delete_section': profile.c:403:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 403 | while (pl = fgets (line, 1024, fp)) | ^~ profile.c: In function 'load_profiles': profile.c:687:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 687 | if (child = xml_node_get_child (node, "fg-color")) | ^~~~~ profile.c:690:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 690 | if (node_2 = xml_node_get_child (node, "fonts")) | ^~~~~~ profile.c:692:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 692 | if (child = xml_node_get_child (node_2, "use-system")) | ^~~~~ profile.c:699:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 699 | if (child = xml_node_get_child (node_2, "font")) | ^~~~~ profile.c:703:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 703 | if (node_2 = xml_node_get_child (node, "background")) | ^~~~~~ profile.c:705:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 705 | if (child = xml_node_get_child (node_2, "color")) | ^~~~~ profile.c:708:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 708 | if (child = xml_node_get_child (node_2, "alpha")) | ^~~~~ profile.c:719:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 719 | if (node_2 = xml_node_get_child (node, "cursor")) | ^~~~~~ profile.c:721:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 721 | if (child = xml_node_get_child (node_2, "shape")) | ^~~~~ profile.c:729:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 729 | if (child = xml_node_get_child (node_2, "blinking")) | ^~~~~ profile.c:738:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 738 | if (node_2 = xml_node_get_child (node, "bell")) | ^~~~~~ profile.c:740:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 740 | if (child = xml_node_get_child (node_2, "audible")) | ^~~~~ profile.c:748:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 748 | if (child = xml_node_get_child (node_2, "visible")) | ^~~~~ profile.c:626:20: warning: unused variable 'pc' [-Wunused-variable] 626 | char tmp_s[32], *pc; | ^~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o protocol.o protocol.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from protocol.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from protocol.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from protocol.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from protocol.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from protocol.c:25: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ protocol.c: In function 'load_protocols_from_file_xml': protocol.c:282:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 282 | if (child = xml_node_get_child (node, "command")) | ^~~~~ protocol.c:285:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 285 | if (child = xml_node_get_child (node, "port")) | ^~~~~ protocol.c:292:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 292 | if (child = xml_node_get_child (node, "arguments")) | ^~~~~ protocol.c:295:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 295 | if (node_2 = xml_node_get_child (node, "flags")) | ^~~~~~ protocol.c:297:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 297 | if (child = xml_node_get_child (node_2, "askuser")) | ^~~~~ protocol.c:305:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 305 | if (child = xml_node_get_child (node_2, "askpassword")) | ^~~~~ protocol.c:313:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 313 | if (child = xml_node_get_child (node_2, "disconnectclose")) | ^~~~~ protocol.c:228:20: warning: unused variable 'pc' [-Wunused-variable] 228 | char tmp_s[32], *pc; | ^~ protocol.c:225:7: warning: unused variable 'rc' [-Wunused-variable] 225 | int rc = 0; | ^~ protocol.c: In function 'save_protocols_to_file_xml': protocol.c:341:8: warning: unused variable 's_flags' [-Wunused-variable] 341 | char s_flags[1024]; | ^~~~~~~ protocol.c:340:8: warning: unused variable 'line' [-Wunused-variable] 340 | char line[1024]; | ^~~~ protocol.c: In function 'prot_save_clicked_cb': protocol.c:569:8: warning: unused variable 's_port' [-Wunused-variable] 569 | char s_port[256]; | ^~~~~~ protocol.c: In function 'manage_protocols': protocol.c:713:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 713 | gint result; | ^~~~~~ protocol.c:712:20: warning: unused variable 'p' [-Wunused-variable] 712 | struct Protocol *p; | ^ protocol.c:711:10: warning: unused variable 'client_glist' [-Wunused-variable] 711 | GList *client_glist = NULL; | ^~~~~~~~~~~~ protocol.c:710:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable] 710 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~ protocol.c:710:14: warning: unused variable 'cancel_button' [-Wunused-variable] 710 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o utils.o utils.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:11, from utils.c:42: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.h:11, from utils.c:42: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.h:11, from utils.c:42: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from utils.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from utils.c:43: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ utils.c: In function 'seconds_to_hhmmdd': utils.c:136:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 136 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); | ~~~~~^ ~~~~ | | | | long long int uint64_t {aka long unsigned int} | %02ld utils.c:136:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 136 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); | ~~~~~^ ~~~ | | | | long long int uint64_t {aka long unsigned int} | %02ld utils.c:136:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 136 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); | ~~~~~^ ~~~ | | | | long long int uint64_t {aka long unsigned int} | %02ld utils.c: In function 'permissions_octal_to_string': utils.c:149:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 149 | triple[i] = (value & (0x01 << 8-i)) ? flags[i] : '-'; | ~^~ utils.c:144:10: warning: unused variable 'n' [-Wunused-variable] 144 | int i, n; | ^ utils.c: In function 'lower': utils.c:534:12: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 534 | s[i] = tolower (s[i]); | ^~~~~~~ utils.c: In function 'upper': utils.c:545:12: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 545 | s[i] = toupper (s[i]); | ^~~~~~~ utils.c: In function 'get_desktop_environment': utils.c:700:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 700 | if (value = getenv ("DESKTOP_SESSION")) | ^~~~~ utils.c:712:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 712 | if (value = getenv ("GNOME_KEYRING_PID")) | ^~~~~ utils.c: In function 'des_encrypt_b64': utils.c:815:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 815 | p_enc = Encrypt (KEY, clear_text, strlen (clear_text)); | ^ utils.c:817:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 817 | if (strlen (p_enc) > strlen (clear_text)) | ^~~~~ | | | unsigned char * In file included from /usr/include/glib-2.0/glib/gtestutils.h:30, from /usr/include/glib-2.0/glib.h:85, from utils.c:23: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c:820:71: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 820 | p_enc_b64 = g_base64_encode ((const unsigned char *) p_enc, strlen (p_enc)); | ^~~~~ | | | unsigned char * In file included from /usr/include/glib-2.0/glib/gtestutils.h:30, from /usr/include/glib-2.0/glib.h:85, from utils.c:23: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c: In function 'des_decrypt_b64': utils.c:837:9: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 837 | p_enc = g_base64_decode (ecrypted_text, &len); | ^ utils.c: In function 'readFile': utils.c:1008:1: warning: type of 'filename' defaults to 'int' [-Wimplicit-int] 1008 | readFile (filename) | ^~~~~~~~ utils.c:1012:21: warning: passing argument 1 of 'fopen' makes pointer from integer without a cast [-Wint-conversion] 1012 | FILE * f = fopen (filename, "rb"); | ^~~~~~~~ | | | int In file included from utils.c:32: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'int' 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ utils.c:1024:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1024 | fread (buffer, 1, length, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o grouptree.o grouptree.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from connection_list.h:5, from grouptree.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection_list.h:5, from grouptree.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from connection_list.h:5, from grouptree.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection_list.h:5, from grouptree.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ grouptree.c: In function 'group_node_find': grouptree.c:134:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 134 | if (p_node = group_node_find (p_parent->child[i], name)) | ^~~~~~ grouptree.c: In function 'group_node_delete_child': grouptree.c:187:13: warning: implicit declaration of function 'cl_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] 187 | cl_remove (&conn_list, p_node->name); | ^~~~~~~~~ | remove grouptree.c: In function 'group_node_find_by_path': grouptree.c:232:3: warning: implicit declaration of function 'list_get_nth' [-Wimplicit-function-declaration] 232 | list_get_nth (path, index, '/', nodename); | ^~~~~~~~~~~~ grouptree.c:236:7: warning: implicit declaration of function 'list_count' [-Wimplicit-function-declaration] 236 | if (list_count (path, '/') < index) | ^~~~~~~~~~ grouptree.c:229:8: warning: unused variable 's_tmp' [-Wunused-variable] 229 | char s_tmp[64]; | ^~~~~ grouptree.c: In function 'group_node_find_by_numeric_path': grouptree.c:262:8: warning: unused variable 's_tmp' [-Wunused-variable] 262 | char s_tmp[64]; | ^~~~~ grouptree.c: In function 'group_node_get_child_next': grouptree.c:354:21: warning: unused variable 'p_child_next' [-Wunused-variable] 354 | struct GroupNode *p_child_next = NULL; | ^~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o connection_list.o connection_list.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from connection.h:5, from connection_list.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.h:5, from connection_list.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from connection.h:5, from connection_list.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from connection.h:5, from connection_list.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from connection_list.c:30: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ connection_list.c: In function 'cl_check': connection_list.c:240:31: warning: unused variable 'pc' [-Wunused-variable] 240 | struct Connection *p_conn, *pc; | ^~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o xml.o xml.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:11, from xml.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.h:11, from xml.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.h:11, from xml.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.h:11, from xml.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ xml.c: In function 'xml_parse': xml.c:650:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 650 | return; | ^~~~~~ xml.c:639:1: note: declared here 639 | xml_parse (char *doc, XML *p_xml) | ^~~~~~~~~ xml.c: In function 'xml_load': xml.c:663:10: warning: unused variable 'rc' [-Wunused-variable] 663 | int i, rc = 0; | ^~ xml.c:663:7: warning: unused variable 'i' [-Wunused-variable] 663 | int i, rc = 0; | ^ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o sftp-panel.o sftp-panel.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from sftp-panel.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from sftp-panel.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from sftp-panel.c:35: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ sftp-panel.c: In function 'sftp_set_status': sftp-panel.c:162:8: warning: unused variable 'text' [-Wunused-variable] 162 | char text[4096]; | ^~~~ sftp-panel.c: In function 'sftp_copy_file_upload': sftp-panel.c:267:3: warning: implicit declaration of function 'lockSSH' [-Wimplicit-function-declaration] 267 | lockSSH (__func__, TRUE); | ^~~~~~~ sftp-panel.c: In function 'sftp_copy_file_download': sftp-panel.c:345:25: warning: unused variable 'rc' [-Wunused-variable] 345 | int nbytes, nwritten, rc; | ^~ sftp-panel.c: In function 'upload_directory': sftp-panel.c:489:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if (pc = (char *) strrchr (rootdir, '/')) | ^~ sftp-panel.c: In function 'download_directory': sftp-panel.c:586:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 586 | if (pc = (char *) strrchr (rootdir, '/')) | ^~ sftp-panel.c: In function 'sftp_panel_check_inotify': sftp-panel.c:867:18: warning: unused variable 'timeout' [-Wunused-variable] 867 | struct timeval timeout; | ^~~~~~~ sftp-panel.c:822:12: warning: unused variable 'isModified' [-Wunused-variable] 822 | gboolean isModified = FALSE; | ^~~~~~~~~~ sftp-panel.c: In function 'sftp_panel_create_mirror_file': sftp-panel.c:925:8: warning: unused variable 'mirrorFile' [-Wunused-variable] 925 | char mirrorFile[2048]; | ^~~~~~~~~~ sftp-panel.c:923:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 923 | int result; | ^~~~~~ sftp-panel.c: In function 'sftp_panel_open': sftp-panel.c:1067:12: warning: unused variable 'success' [-Wunused-variable] 1067 | gboolean success; | ^~~~~~~ sftp-panel.c:1066:42: warning: unused variable 'command' [-Wunused-variable] 1066 | gchar *filename, *uri, filepath[2048], command[2048]; | ^~~~~~~ sftp-panel.c:1066:21: warning: unused variable 'uri' [-Wunused-variable] 1066 | gchar *filename, *uri, filepath[2048], command[2048]; | ^~~ sftp-panel.c:1065:8: warning: unused variable 'folder_name' [-Wunused-variable] 1065 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1064:19: warning: unused variable 'i' [-Wunused-variable] 1064 | int create, rc, i; | ^ sftp-panel.c:1064:15: warning: unused variable 'rc' [-Wunused-variable] 1064 | int create, rc, i; | ^~ sftp-panel.c:1064:7: warning: unused variable 'create' [-Wunused-variable] 1064 | int create, rc, i; | ^~~~~~ sftp-panel.c: In function 'sftp_panel_create_file': sftp-panel.c:1159:15: warning: unused variable 'rc' [-Wunused-variable] 1159 | int create, rc = 0; | ^~ sftp-panel.c: In function 'sftp_panel_rename': sftp-panel.c:1218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1218 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) | ^ sftp-panel.c:1202:8: warning: unused variable 'folder_name' [-Wunused-variable] 1202 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1201:7: warning: unused variable 'create' [-Wunused-variable] 1201 | int create, rc; | ^~~~~~ sftp-panel.c: In function 'sftp_panel_delete': sftp-panel.c:1319:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1319 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) | ^ sftp-panel.c:1301:8: warning: unused variable 'folder_name' [-Wunused-variable] 1301 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1300:7: warning: unused variable 'create' [-Wunused-variable] 1300 | int create, rc; | ^~~~~~ sftp-panel.c: In function 'sftp_panel_change_time': sftp-panel.c:1422:15: warning: pointer targets in passing argument 1 of 'localtime_r' differ in signedness [-Wpointer-sign] 1422 | localtime_r(&e->mtime, &dateTime); | ^~~~~~~~~ | | | long unsigned int * In file included from /usr/include/glib-2.0/glib/gtypes.h:35, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/time.h:133:57: note: expected 'const time_t * restrict' {aka 'const long int * restrict'} but argument is of type 'long unsigned int *' 133 | extern struct tm *localtime_r (const time_t *__restrict __timer, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ sftp-panel.c:1437:54: warning: pointer targets in passing argument 2 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] 1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); | ^~~~~ | | | int * In file included from /usr/include/gtk-2.0/gtk/gtk.h:53, from sftp-panel.c:23: /usr/include/gtk-2.0/gtk/gtkcalendar.h:185:19: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *' 185 | guint *year, | ~~~~~~~~~~~~^~~~ sftp-panel.c:1437:61: warning: pointer targets in passing argument 3 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] 1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); | ^~~~~~ | | | int * In file included from /usr/include/gtk-2.0/gtk/gtk.h:53, from sftp-panel.c:23: /usr/include/gtk-2.0/gtk/gtkcalendar.h:186:19: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *' 186 | guint *month, | ~~~~~~~~~~~~^~~~~ sftp-panel.c:1437:69: warning: pointer targets in passing argument 4 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] 1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); | ^~~~ | | | int * In file included from /usr/include/gtk-2.0/gtk/gtk.h:53, from sftp-panel.c:23: /usr/include/gtk-2.0/gtk/gtkcalendar.h:187:19: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *' 187 | guint *day); | ~~~~~~~~~~~~^~~ sftp-panel.c:1476:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1476 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) | ^ sftp-panel.c:1489:77: warning: passing argument 3 of 'sftp_utimes' from incompatible pointer type [-Wincompatible-pointer-types] 1489 | rc = sftp_utimes (p_ssh_current->ssh_node->sftp, file_abs_path, &newFileTime); | ^~~~~~~~~~~~ | | | struct timeval (*)[2] In file included from ssh.h:6, from main.h:10, from sftp-panel.c:33: /usr/include/libssh/sftp.h:745:87: note: expected 'const struct timeval *' but argument is of type 'struct timeval (*)[2]' 745 | LIBSSH_API int sftp_utimes(sftp_session sftp, const char *file, const struct timeval *times); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ sftp-panel.c:1430:1: warning: label 'run_dialog' defined but not used [-Wunused-label] 1430 | run_dialog: | ^~~~~~~~~~ sftp-panel.c:1367:8: warning: unused variable 'folder_name' [-Wunused-variable] 1367 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1365:23: warning: unused variable 'i' [-Wunused-variable] 1365 | int result, rc = 0, i; | ^ sftp-panel.c: In function 'refresh_panel_history': sftp-panel.c:1618:10: warning: unused variable 's' [-Wunused-variable] 1618 | gchar *s; | ^ sftp-panel.c:1617:10: warning: unused variable 'n_items' [-Wunused-variable] 1617 | int i, n_items; | ^~~~~~~ sftp-panel.c:1616:20: warning: unused variable 'b' [-Wunused-variable] 1616 | struct Bookmark *b; | ^ sftp-panel.c: In function 'sftp_panel_change_directory': sftp-panel.c:1716:7: warning: unused variable 'rc' [-Wunused-variable] 1716 | int rc; | ^~ sftp-panel.c: In function 'row_activated_sftp_cb': sftp-panel.c:1798:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1798 | if (e = dl_search_by_name (&p_ssh_current->dirlist, name)) | ^ sftp-panel.c:1786:7: warning: unused variable 'retcode' [-Wunused-variable] 1786 | int retcode; | ^~~~~~~ sftp-panel.c:1785:12: warning: unused variable 'have_iter' [-Wunused-variable] 1785 | gboolean have_iter; | ^~~~~~~~~ sftp-panel.c: In function 'sftp_go_up_cb': sftp-panel.c:1833:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1833 | if (pc = (char *) strrchr (newpath, '/')) | ^~ sftp-panel.c: In function 'follow_terminal_folder': sftp-panel.c:1905:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1905 | if (path = get_remote_directory ()) | ^~~~ sftp-panel.c: In function 'sort_name_compare_func': sftp-panel.c:2035:14: warning: unused variable 'size2' [-Wunused-variable] 2035 | int size1, size2; | ^~~~~ sftp-panel.c:2035:7: warning: unused variable 'size1' [-Wunused-variable] 2035 | int size1, size2; | ^~~~~ sftp-panel.c: In function 'sftp_cell_tooltip_cb': sftp-panel.c:2120:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2120 | if (e = dl_search_by_name (&p_ssh_current->dirlist, name)) | ^ sftp-panel.c: In function 'create_sftp_panel': sftp-panel.c:2505:17: warning: unused variable 'icon_theme' [-Wunused-variable] 2505 | GtkIconTheme *icon_theme; | ^~~~~~~~~~ sftp-panel.c:2422:15: warning: unused variable 'iter' [-Wunused-variable] 2422 | GtkTreeIter iter; | ^~~~ sftp-panel.c: In function 'load_additional_ssh_menu': sftp-panel.c:2782:15: warning: unused variable 'i' [-Wunused-variable] 2782 | int action, i; | ^ sftp-panel.c: In function 'load_types': sftp-panel.c:2875:36: warning: unused variable 'pc' [-Wunused-variable] 2875 | char filename[256], tmp_s[128], *pc; | ^~ sftp-panel.c:2875:23: warning: unused variable 'tmp_s' [-Wunused-variable] 2875 | char filename[256], tmp_s[128], *pc; | ^~~~~ sftp-panel.c: In function 'show_output': sftp-panel.c:3007:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3007 | if (font_desc = pango_font_description_from_string (prefs.font_fixed)) | ^~~~~~~~~ sftp-panel.c:3013:8: warning: unused variable 'result' [-Wunused-variable] 3013 | gint result = gtk_dialog_run (GTK_DIALOG (dialog)); | ^~~~~~ sftp-panel.c:3002:17: warning: unused variable 'w_height' [-Wunused-variable] 3002 | gint w_width, w_height; | ^~~~~~~~ sftp-panel.c:3002:8: warning: unused variable 'w_width' [-Wunused-variable] 3002 | gint w_width, w_height; | ^~~~~~~ sftp-panel.c: In function 'sftp_queue_count': sftp-panel.c:3044:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 3044 | return; | ^~~~~~ sftp-panel.c:3032:1: note: declared here 3032 | sftp_queue_count (int *nUp, int *nDown) | ^~~~~~~~~~~~~~~~ sftp-panel.c:3047:18: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3047 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ In file included from sftp-panel.c:40: async.h:9:27: note: expected 'char *' but argument is of type 'const char *' 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:3066:18: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3066 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ In file included from sftp-panel.c:40: async.h:9:27: note: expected 'char *' but argument is of type 'const char *' 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c: In function 'sftp_queue_add': sftp-panel.c:3125:22: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3125 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ In file included from sftp-panel.c:40: async.h:9:27: note: expected 'char *' but argument is of type 'const char *' 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:3142:22: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3142 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ In file included from sftp-panel.c:40: async.h:9:27: note: expected 'char *' but argument is of type 'const char *' 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:3153:50: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] 3153 | rc = pthread_create (&thread_transfer, NULL, async_sftp_transfer, (void *)sftp_panel.queue); | ^~~~~~~~~~~~~~~~~~~ | | | int (*)(void *) In file included from /usr/include/glib-2.0/glib/deprecated/gthread.h:124, from /usr/include/glib-2.0/glib.h:111, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/pthread.h:200:15: note: expected 'void * (*)(void *)' but argument is of type 'int (*)(void *)' 200 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3085:15: warning: unused variable 'info' [-Wunused-variable] 3085 | struct stat info; | ^~~~ sftp-panel.c:3084:27: warning: unused variable 'e' [-Wunused-variable] 3084 | struct Directory_Entry *e; | ^ sftp-panel.c: In function 'sftp_panel_copy_path_clipboard.part.0': sftp-panel.c:1580:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1580 | sprintf (currentPath, "%s/%s", p_ssh_current->directory, filename); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'sftp_panel_create_mirror_file': sftp-panel.c:932:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 932 | sprintf (mirrorDir, "%s/%s/%s", prefs.tempDir, get_current_connection_tab ()->connection.host, pSSH->directory); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 2304 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:959:29: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 959 | sprintf (ti.source, "%s/%s", pSSH->directory, filename); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:960:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 960 | sprintf (ti.destination, "%s/%s", mirrorDir, filename); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:1037:31: warning: '%s' directive writing up to 2047 bytes into a region of size between 1917 and 2044 [-Wformat-overflow=] 1037 | sprintf (command, "\"%s\" \"%s\"", prefs.text_editor, pMirror.localFile); | ^~ ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 2180 bytes into a destination of size 2048 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'sftp_panel_copy_path_terminal': sftp-panel.c:1546:28: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1546 | sprintf (path, "%s/%s", p_ssh_current->directory, filename); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'load_types': sftp-panel.c:2883:25: warning: '/types.xml' directive writing 10 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2883 | sprintf (filename, "%s/types.xml", globals.data_dir); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2902:42: warning: '/types/' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2902 | sprintf (p_type->imagefile, "%s/types/%s", globals.img_dir, xml_node_get_value (node)); | ^~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'create_sftp_panel': sftp-panel.c:2338:19: warning: '/sftp.glade' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2338 | sprintf (ui, "%s/sftp.glade", globals.data_dir); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2512:25: warning: '/file_16.png' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2512 | sprintf (filename, "%s/file_16.png", globals.img_dir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2515:25: warning: '/directory_16.png' directive writing 17 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2515 | sprintf (filename, "%s/directory_16.png", globals.img_dir); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 273 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2532:25: warning: '/additionals.xml' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2532 | sprintf (filename, "%s/additionals.xml", globals.data_dir); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2535:27: warning: '/additionals.xml' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2535 | sprintf (filename, "%s/additionals.xml", globals.app_dir); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'refresh_sftp_list_store.part.0': sftp-panel.c:2629:31: warning: '*' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] 2629 | sprintf (tmp_s, "*%s*", p_ssh_current->match_string); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'sftp_panel_change_time': sftp-panel.c:1376:19: warning: '/time.glade' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1376 | sprintf (ui, "%s/time.glade", globals.data_dir); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'row_activated_sftp_cb': sftp-panel.c:1802:40: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1802 | sprintf (position, "%s/%s", p_ssh_current->directory, name); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'sftp_queue_add': sftp-panel.c:3117:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 3117 | sprintf (pTi->source, "%s/%s", p_ssh->directory, gfile); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3108:44: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 3108 | sprintf (pTi->destination, "%s/%s", p_ssh->directory, (char *) basename (gfile)); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sftp-panel.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o ssh.o ssh.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ssh.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ssh.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ssh.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ssh.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from ssh.c:31: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ ssh.c: In function 'ssh_list_dump': ssh.c:159:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 159 | if (c = ssh_node_open_channel (node)) | ^ ssh.c: In function 'ssh_node_connect': ssh.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 212 | if (p_node = ssh_list_search (p_ssh_list, p_auth->host, p_auth->user)) | ^~~~~~ ssh.c:234:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | if (c = ssh_node_open_channel (p_node)) | ^ ssh.c: In function 'lt_ssh_connect': ssh.c:809:3: warning: implicit declaration of function 'lockSSH'; did you mean 'lockf'? [-Wimplicit-function-declaration] 809 | lockSSH (__func__, TRUE); | ^~~~~~~ | lockf gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o terminal.o terminal.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from terminal.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from terminal.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from terminal.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from terminal.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from terminal.c:36: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ terminal.c: In function 'terminal_new': terminal.c:67:3: warning: 'vte_terminal_fork_command' is deprecated [-Wdeprecated-declarations] 67 | p_connection_tab->pid = vte_terminal_fork_command (VTE_TERMINAL (p_connection_tab->vte), | ^~~~~~~~~~~~~~~~ In file included from /usr/include/vte-0.0/vte/vte.h:529, from terminal.c:25: /usr/include/vte-0.0/vte/vtedeprecated.h:82:7: note: declared here 82 | pid_t vte_terminal_fork_command(VteTerminal *terminal, | ^~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c:55:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 55 | int rc; | ^~ terminal.c:51:20: warning: unused variable 'p_prot' [-Wunused-variable] 51 | struct Protocol *p_prot; | ^~~~~~ terminal.c: In function 'log_on': terminal.c:386:3: warning: 'vte_terminal_fork_command' is deprecated [-Wdeprecated-declarations] 386 | p_conn_tab->pid = vte_terminal_fork_command (VTE_TERMINAL (p_conn_tab->vte), p_prot->command, p_params, NULL, NULL, TRUE, TRUE, TRUE); | ^~~~~~~~~~ In file included from /usr/include/vte-0.0/vte/vte.h:529, from terminal.c:25: /usr/include/vte-0.0/vte/vtedeprecated.h:82:7: note: declared here 82 | pid_t vte_terminal_fork_command(VteTerminal *terminal, | ^~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c:159:7: warning: unused variable 'i' [-Wunused-variable] 159 | int i, ret; | ^ terminal.c: In function 'asked_for_user': terminal.c:629:16: warning: variable 'vteterminal' set but not used [-Wunused-but-set-variable] 629 | VteTerminal *vteterminal; | ^~~~~~~~~~~ terminal.c: In function 'asked_for_password': terminal.c:653:16: warning: variable 'vteterminal' set but not used [-Wunused-but-set-variable] 653 | VteTerminal *vteterminal; | ^~~~~~~~~~~ terminal.c: In function 'load_session_file': terminal.c:828:26: warning: unused variable 'cl' [-Wunused-variable] 828 | struct Connection_List cl; | ^~ terminal.c:827:25: warning: unused variable 'p_ct' [-Wunused-variable] 827 | struct ConnectionTab *p_ct; | ^~~~ terminal.c:826:9: warning: unused variable 'fp' [-Wunused-variable] 826 | FILE *fp; | ^~ terminal.c:824:7: warning: unused variable 'rc' [-Wunused-variable] 824 | int rc; | ^~ terminal.c: In function 'save_session_file': terminal.c:903:7: warning: unused variable 'len' [-Wunused-variable] 903 | int len, rc = 0; | ^~~ terminal.c:902:9: warning: unused variable 'p_enc_b64' [-Wunused-variable] 902 | char *p_enc_b64; | ^~~~~~~~~ terminal.c:901:9: warning: unused variable 'p_enc' [-Wunused-variable] 901 | char *p_enc; | ^~~~~ terminal.c:900:26: warning: unused variable 'cl' [-Wunused-variable] 900 | struct Connection_List cl; | ^~ terminal.c:899:25: warning: unused variable 'p_ct' [-Wunused-variable] 899 | struct ConnectionTab *p_ct; | ^~~~ terminal.c:898:28: warning: unused variable 'addedConn' [-Wunused-variable] 898 | struct Connection conn, *addedConn; | ^~~~~~~~~ terminal.c:898:21: warning: unused variable 'conn' [-Wunused-variable] 898 | struct Connection conn, *addedConn; | ^~~~ terminal.c:897:9: warning: unused variable 'fp' [-Wunused-variable] 897 | FILE *fp; | ^~ terminal.c:896:10: warning: unused variable 'item' [-Wunused-variable] 896 | GList *item; | ^~~~ terminal.c: In function 'check_log_in_parameter': terminal.c:620:10: warning: 'feed_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 620 | return (feed_child); | ^ In file included from terminal.c:30: terminal.c: In function 'asked_for_user': terminal.c:638:21: warning: '%s' directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=] 638 | sprintf (label, _("Enter user for <b>%s</b>:"), p_ct->connection.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ terminal.c:638:40: note: format string is defined here 638 | sprintf (label, _("Enter user for <b>%s</b>:"), p_ct->connection.name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from terminal.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c:644:10: warning: 'feed_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 644 | return (feed_child); | ^ In file included from terminal.c:30: terminal.c: In function 'asked_for_password': terminal.c:662:21: warning: '%s' directive writing up to 255 bytes into a region of size between 202 and 233 [-Wformat-overflow=] 662 | sprintf (label, _("Enter password for <b>%s@%s</b>:"), p_ct->connection.user, p_ct->connection.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' 41 | #define _(x) x | ^ terminal.c:662:47: note: format string is defined here 662 | sprintf (label, _("Enter password for <b>%s@%s</b>:"), p_ct->connection.user, p_ct->connection.name); | ^~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from terminal.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 315 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c:668:10: warning: 'feed_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 668 | return (feed_child); | ^ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o async.o async.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from async.c:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from async.c:30: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from async.c:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from async.c:30: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ async.c: In function 'async_lterm_loop': async.c:99:8: warning: unused variable 'i' [-Wunused-variable] 99 | gint i; | ^ async.c: In function 'async_sftp_transfer': async.c:163:20: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.c:64:22: note: expected 'char *' but argument is of type 'const char *' 64 | lockSFTPQueue (char *caller, gboolean flagLock) | ~~~~~~^~~~~~ async.c:179:20: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 179 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.c:64:22: note: expected 'char *' but argument is of type 'const char *' 64 | lockSFTPQueue (char *caller, gboolean flagLock) | ~~~~~~^~~~~~ async.c:153:8: warning: unused variable 'transferReport' [-Wunused-variable] 153 | char transferReport[256]; | ^~~~~~~~~~~~~~ async.c:141:12: warning: unused variable 'nDown' [-Wunused-variable] 141 | int nUp, nDown; | ^~~~~ async.c:141:7: warning: unused variable 'nUp' [-Wunused-variable] 141 | int nUp, nDown; | ^~~ async.c:140:10: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 140 | int i, rc; | ^~ async.c:237:30: warning: '%s' directive writing up to 2047 bytes into a region of size between 1024 and 2047 [-Wformat-overflow=] 237 | sprintf (message, "%s\n%s", pTi->filename, pTi->result ? pTi->errorDesc : "successfully transferred"); | ^~ In file included from /usr/include/stdio.h:871, from async.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 3072 bytes into a destination of size 2048 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -c -o transfer_window.o transfer_window.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from transfer_window.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from transfer_window.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from transfer_window.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from transfer_window.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from transfer_window.c:26: utils.h:47:1: warning: parameter names (without types) in function declaration 47 | char *readFile (filename); | ^~~~ transfer_window.c: In function 'transfer_details': transfer_window.c:124:11: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 124 | "<b>Action:</b> %s\n" | ^~~~~~~~~~~~~~~~~~~~~ ...... 137 | bytes_to_human_readable (pTi->size, tmpSize), pTi->size, | ~~~~~~~~~ | | | uint64_t {aka long unsigned int} transfer_window.c:127:32: note: format string is defined here 127 | "<b>Size:</b> %s (%lld bytes)\n" | ~~~^ | | | long long int | %ld transfer_window.c:124:11: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 124 | "<b>Action:</b> %s\n" | ^~~~~~~~~~~~~~~~~~~~~ ...... 138 | bytes_to_human_readable (pTi->worked, tmpWorked), pTi->worked, | ~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} transfer_window.c:128:39: note: format string is defined here 128 | "<b>Transferred:</b> %s (%lld bytes)\n" | ~~~^ | | | long long int | %ld transfer_window.c:153:7: warning: unused variable 'result' [-Wunused-variable] 153 | int result = gtk_dialog_run (GTK_DIALOG (dialog)); | ^~~~~~ transfer_window.c:113:14: warning: unused variable 'ok_button' [-Wunused-variable] 113 | GtkWidget *ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK); | ^~~~~~~~~ transfer_window.c: In function 'transfer_cancel': transfer_window.c:176:3: warning: implicit declaration of function 'lockSFTPQueue' [-Wimplicit-function-declaration] 176 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~~~~~~ transfer_window.c:170:21: warning: unused variable 'iter' [-Wunused-variable] 170 | GtkTreeIter iter; | ^~~~ transfer_window.c:169:21: warning: unused variable 'model' [-Wunused-variable] 169 | GtkTreeModel *model; | ^~~~~ transfer_window.c:168:21: warning: unused variable 'selection' [-Wunused-variable] 168 | GtkTreeSelection *selection; | ^~~~~~~~~ transfer_window.c: In function 'transfer_remove_completed': transfer_window.c:207:7: warning: unused variable 'i' [-Wunused-variable] 207 | int i, nDel = 0; | ^ transfer_window.c: In function 'create_transfer_window_tree_view': transfer_window.c:444:15: warning: unused variable 'iter' [-Wunused-variable] 444 | GtkTreeIter iter; | ^~~~ transfer_window.c: In function 'refresh_transfer_list_store': transfer_window.c:581:7: warning: unused variable 'n' [-Wunused-variable] 581 | int n=0; | ^ transfer_window.c:577:21: warning: unused variable 'actionIcon' [-Wunused-variable] 577 | GdkPixbuf *icon, *actionIcon; | ^~~~~~~~~~ transfer_window.c: In function 'transfer_window_refresh': transfer_window.c:682:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 682 | sprintf (tmp_s, "%lld", pTi->size); | ~~~^ ~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld transfer_window.c:642:14: warning: variable 'sensitive' set but not used [-Wunused-but-set-variable] 642 | gboolean sensitive; | ^~~~~~~~~ transfer_window.c: In function 'view_transfer_window': transfer_window.c:740:7: warning: implicit declaration of function 'msgbox_error' [-Wimplicit-function-declaration] 740 | msgbox_error ("Can't load user interface file:\n%s", error->message); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from transfer_window.c:23: /usr/include/gtk-2.0/gtk/gtkwidget.h:137:31: warning: initialization of 'GtkWindow *' {aka 'struct _GtkWindow *'} from incompatible pointer type 'GtkWidget *' {aka 'struct _GtkWidget *'} [-Wincompatible-pointer-types] 137 | #define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget)) | ^ transfer_window.c:759:32: note: in expansion of macro 'GTK_WIDGET' 759 | GtkWindow *scrolled_window = GTK_WIDGET (gtk_builder_get_object (builder, "scrolled_window")); | ^~~~~~~~~~ transfer_window.c:837:27: warning: unused variable 'iter' [-Wunused-variable] 837 | GList *children, *iter; | ^~~~ transfer_window.c:837:16: warning: unused variable 'children' [-Wunused-variable] 837 | GList *children, *iter; | ^~~~~~~~ transfer_window.c:728:17: warning: unused variable 'tmp' [-Wunused-variable] 728 | char ui[256], tmp[512]; | ^~~ transfer_window.c:724:7: warning: unused variable 'i' [-Wunused-variable] 724 | int i; | ^ transfer_window.c:732:19: warning: '/transfer.glade' directive writing 15 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 732 | sprintf (ui, "%s/transfer.glade", globals.data_dir); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from transfer_window.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0 -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lterm connection.o gui.o main.o preferences.o profile.o protocol.o utils.o grouptree.o connection_list.o xml.o sftp-panel.o ssh.o terminal.o async.o transfer_window.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lX11 -lXext -lssl -lcrypto -lssh -lssh_threads -lX11 /usr/bin/ld: sftp-panel.o: in function `.LANCHOR0': /builddir/build/BUILD/lterm-1.5.1/src/sftp-panel.c:71: multiple definition of `label_status'; protocol.o:/builddir/build/BUILD/lterm-1.5.1/src/protocol.c:42: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:377: lterm] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/src' make: *** [Makefile:346: install-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.OuDZE1 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OuDZE1 (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/lterm.spec