<86>Sep 4 03:58:15 userdel[42876]: delete user 'rooter' <86>Sep 4 03:58:15 userdel[42876]: removed group 'rooter' owned by 'rooter' <86>Sep 4 03:58:15 userdel[42876]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 4 03:58:15 groupadd[42889]: group added to /etc/group: name=rooter, GID=663 <86>Sep 4 03:58:15 groupadd[42889]: group added to /etc/gshadow: name=rooter <86>Sep 4 03:58:15 groupadd[42889]: new group: name=rooter, GID=663 <86>Sep 4 03:58:15 useradd[42897]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Sep 4 03:58:15 userdel[42917]: delete user 'builder' <86>Sep 4 03:58:15 userdel[42917]: removed group 'builder' owned by 'builder' <86>Sep 4 03:58:15 userdel[42917]: removed shadow group 'builder' owned by 'builder' <86>Sep 4 03:58:15 groupadd[42928]: group added to /etc/group: name=builder, GID=664 <86>Sep 4 03:58:15 groupadd[42928]: group added to /etc/gshadow: name=builder <86>Sep 4 03:58:15 groupadd[42928]: new group: name=builder, GID=664 <86>Sep 4 03:58:15 useradd[42936]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash warning: Macro %_xdgmimedir not found <13>Sep 4 03:58:19 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Sep 4 03:58:19 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Sep 4 03:58:19 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 4 03:58:19 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:19 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Sep 4 03:58:19 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Sep 4 03:58:19 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Sep 4 03:58:19 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Sep 4 03:58:19 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Sep 4 03:58:19 rpmi: libpcre2-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Sep 4 03:58:19 rpmi: libsqlite3-3.28.0-alt1 sisyphus+231334.100.1.1 1559488286 installed <13>Sep 4 03:58:19 rpmi: libfribidi-1.0.5-alt1 1532424343 installed <13>Sep 4 03:58:19 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Sep 4 03:58:19 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 4 03:58:19 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Sep 4 03:58:19 rpmi: perl-Compress-Raw-Zlib-2.087-alt1 sisyphus+236138.100.1.1 1565888150 installed <13>Sep 4 03:58:19 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Sep 4 03:58:19 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Sep 4 03:58:19 rpmi: libidn2-2.2.0-alt1 sisyphus+229970.100.1.1 1558625623 installed <13>Sep 4 03:58:19 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Sep 4 03:58:20 rpmi: libicu64-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Sep 4 03:58:20 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Sep 4 03:58:21 rpmi: libharfbuzz-2.6.1-alt1 sisyphus+236500.100.1.1 1566557824 installed <13>Sep 4 03:58:21 rpmi: libfreetype-2.10.0-alt2 sisyphus+226881.100.2.1 1555676284 installed <13>Sep 4 03:58:21 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Sep 4 03:58:22 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 4 03:58:22 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Sep 4 03:58:22 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Sep 4 03:58:22 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282369 installed <13>Sep 4 03:58:22 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 4 03:58:22 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Sep 4 03:58:22 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Sep 4 03:58:22 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 4 03:58:22 rpmi: libharfbuzz-icu-2.6.1-alt1 sisyphus+236500.100.1.1 1566557824 installed <13>Sep 4 03:58:22 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Sep 4 03:58:22 rpmi: icu-utils-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Sep 4 03:58:22 rpmi: libicu-devel-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Sep 4 03:58:22 rpmi: libhogweed5-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Sep 4 03:58:22 rpmi: libgnutls30-3.6.9-alt1 sisyphus+235265.200.9.1 1566481628 installed <13>Sep 4 03:58:22 rpmi: libgnutls-devel-3.6.9-alt1 sisyphus+235265.200.9.1 1566481628 installed <13>Sep 4 03:58:22 rpmi: libpcre2-devel-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Sep 4 03:58:22 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>Sep 4 03:58:22 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Sep 4 03:58:22 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Sep 4 03:58:22 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:22 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:22 rpmi: libwayland-cursor-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 4 03:58:22 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 4 03:58:22 rpmi: wayland-devel-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 4 03:58:22 rpmi: libwayland-client-devel-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Sep 4 03:58:22 rpmi: vapi-common-0.44.7-alt1 sisyphus+235470.100.1.1 1565002641 installed <13>Sep 4 03:58:22 rpmi: libxkbcommon-0.8.4-alt1 sisyphus+222759.100.1.1 1551009797 installed <13>Sep 4 03:58:22 rpmi: publicsuffix-list-dafsa-20190823-alt1 sisyphus+236630.100.1.1 1566830156 installed <13>Sep 4 03:58:22 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531663 installed <13>Sep 4 03:58:22 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855269 installed <13>Sep 4 03:58:22 rpmi: udev-rules-1:242-alt11 sisyphus+235806.100.1.1 1565309166 installed <13>Sep 4 03:58:22 rpmi: libepoxy-1.5.3-alt1 sisyphus+226740.100.2.3 1554619014 installed <13>Sep 4 03:58:22 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Sep 4 03:58:22 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Sep 4 03:58:22 rpmi: libusb-1.0.22-alt1 1525452011 installed <13>Sep 4 03:58:22 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Sep 4 03:58:22 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Sep 4 03:58:22 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Sep 4 03:58:22 rpmi: libdrm-1:2.4.99-alt1 sisyphus+234110.100.1.1 1562593655 installed <13>Sep 4 03:58:22 rpmi: libgbm-4:19.1.5-alt1 sisyphus+236604.100.1.1 1566813067 installed <13>Sep 4 03:58:22 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Sep 4 03:58:22 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Sep 4 03:58:22 rpmi: perl-Compress-Raw-Bzip2-2.087-alt1 sisyphus+236137.100.1.1 1565888150 installed <13>Sep 4 03:58:22 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Sep 4 03:58:22 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Sep 4 03:58:22 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Sep 4 03:58:22 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Sep 4 03:58:22 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474113 installed <13>Sep 4 03:58:22 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Sep 4 03:58:22 rpmi: perl-IO-Compress-2.087-alt1 sisyphus+236429.100.1.1 1566466735 installed <13>Sep 4 03:58:22 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Sep 4 03:58:22 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed <13>Sep 4 03:58:22 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Sep 4 03:58:22 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Sep 4 03:58:22 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Sep 4 03:58:22 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Sep 4 03:58:22 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Sep 4 03:58:22 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Sep 4 03:58:22 rpmi: perl-libwww-6.39-alt1 sisyphus+229237.100.1.1 1557650051 installed <13>Sep 4 03:58:22 rpmi: perl-XML-LibXML-2.0201-alt1 sisyphus+231120.200.1.1 1559144562 installed <13>Sep 4 03:58:22 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Sep 4 03:58:22 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Sep 4 03:58:22 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Sep 4 03:58:23 rpmi: icon-theme-adwaita-3.32.0-alt1 sisyphus+225063.1600.1.1 1552933594 installed <13>Sep 4 03:58:23 rpmi: libwebp7-1.0.3-alt1 sisyphus+234493.100.1.1 1563090161 installed <13>Sep 4 03:58:23 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Sep 4 03:58:23 rpmi: libtiff5-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed <13>Sep 4 03:58:23 rpmi: libgdk-pixbuf-locales-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed <13>Sep 4 03:58:23 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Sep 4 03:58:23 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Sep 4 03:58:23 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Sep 4 03:58:23 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Sep 4 03:58:23 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818596 installed <13>Sep 4 03:58:23 rpmi: xml-utils-1:2.9.9.0.52.f824-alt1 sisyphus+229881.200.3.1 1558978732 installed <13>Sep 4 03:58:23 rpmi: rpm-build-gir-0.7.3-alt2 sisyphus+234037.40.2.1 1562495133 installed <13>Sep 4 03:58:23 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Sep 4 03:58:23 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Sep 4 03:58:23 rpmi: shared-mime-info-1.12-alt1 sisyphus+219597.100.2.2 1548056998 installed <13>Sep 4 03:58:24 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Sep 4 03:58:24 rpmi: libgio-2.60.6-alt1 sisyphus+235075.100.1.1 1563971175 installed <13>Sep 4 03:58:24 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Sep 4 03:58:24 rpmi: libgdk-pixbuf-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed <13>Sep 4 03:58:24 rpmi: libgusb-0.3.0-alt1 1518891733 installed <13>Sep 4 03:58:24 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Sep 4 03:58:24 rpmi: gtk-update-icon-cache-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Sep 4 03:58:24 rpmi: libdconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552845910 installed <13>Sep 4 03:58:24 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249583 installed <13>Sep 4 03:58:24 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059262 installed <13>Sep 4 03:58:24 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Sep 4 03:58:24 rpmi: libgcrypt20-1.8.5-alt1 sisyphus+236872.100.1.1 1567111842 installed <13>Sep 4 03:58:24 rpmi: libsystemd-1:242-alt11 sisyphus+235806.100.1.1 1565309166 installed <13>Sep 4 03:58:24 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Sep 4 03:58:24 rpmi: dbus-tools-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <86>Sep 4 03:58:24 groupadd[58524]: group added to /etc/group: name=messagebus, GID=499 <86>Sep 4 03:58:24 groupadd[58524]: group added to /etc/gshadow: name=messagebus <86>Sep 4 03:58:24 groupadd[58524]: new group: name=messagebus, GID=499 <86>Sep 4 03:58:24 useradd[58534]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Sep 4 03:58:24 rpmi: dbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Sep 4 03:58:24 rpmi: dconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552845910 installed <13>Sep 4 03:58:24 rpmi: libgtk+3-schemas-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Sep 4 03:58:24 rpmi: libavahi-0.6.32-alt1 1500485694 installed <13>Sep 4 03:58:24 rpmi: libcups-2.2.12-alt2 sisyphus+236663.100.1.1 1566900250 installed <13>Sep 4 03:58:24 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128960 installed <86>Sep 4 03:58:24 groupadd[58726]: group added to /etc/group: name=colord, GID=498 <86>Sep 4 03:58:24 groupadd[58726]: group added to /etc/gshadow: name=colord <86>Sep 4 03:58:24 groupadd[58726]: new group: name=colord, GID=498 <86>Sep 4 03:58:24 useradd[58741]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Sep 4 03:58:24 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Sep 4 03:58:24 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 4 03:58:24 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Sep 4 03:58:24 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 4 03:58:24 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 4 03:58:24 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 4 03:58:24 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Sep 4 03:58:24 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Sep 4 03:58:24 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Sep 4 03:58:24 rpmi: libat-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818549 installed <13>Sep 4 03:58:24 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Sep 4 03:58:25 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 4 03:58:25 rpmi: libX11-devel-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Sep 4 03:58:25 rpmi: libXrender-devel-0.9.8-alt1 1371312110 installed <13>Sep 4 03:58:25 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 4 03:58:25 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Sep 4 03:58:25 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Sep 4 03:58:25 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Sep 4 03:58:25 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Sep 4 03:58:25 rpmi: libGLX-mesa-4:19.1.5-alt1 sisyphus+236604.100.1.1 1566813067 installed <13>Sep 4 03:58:25 rpmi: libEGL-mesa-4:19.1.5-alt1 sisyphus+236604.100.1.1 1566813067 installed <13>Sep 4 03:58:25 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:25 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:25 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:25 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Sep 4 03:58:25 rpmi: libpango-1.44.5-alt1 sisyphus+236022.300.6.1 1566123439 installed <13>Sep 4 03:58:25 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Sep 4 03:58:25 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Sep 4 03:58:25 rpmi: libEGL-devel-4:19.1.5-alt1 sisyphus+236604.100.1.1 1566813067 installed <13>Sep 4 03:58:25 rpmi: libGL-devel-4:19.1.5-alt1 sisyphus+236604.100.1.1 1566813067 installed <13>Sep 4 03:58:25 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Sep 4 03:58:25 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Sep 4 03:58:25 rpmi: dbus-tools-gui-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Sep 4 03:58:25 rpmi: at-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818549 installed <13>Sep 4 03:58:25 rpmi: at-spi2-atk-2.32.0-alt1 sisyphus+225059.700.3.2 1552845269 installed <13>Sep 4 03:58:25 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Sep 4 03:58:25 rpmi: libgdk-pixbuf-xlib-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed <13>Sep 4 03:58:25 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 4 03:58:25 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 4 03:58:25 rpmi: ca-certificates-2019.07.11-alt1 sisyphus+234280.200.1.1 1562839906 installed <13>Sep 4 03:58:25 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 4 03:58:25 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Sep 4 03:58:26 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Sep 4 03:58:26 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Sep 4 03:58:26 rpmi: libpython3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575266 installed <13>Sep 4 03:58:26 rpmi: python3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575266 installed <13>Sep 4 03:58:26 rpmi: python3-base-3.7.4-alt1 sisyphus+236519.100.1.1 1566575266 installed <13>Sep 4 03:58:26 rpmi: glib2-devel-2.60.6-alt1 sisyphus+235075.100.1.1 1563971175 installed <13>Sep 4 03:58:26 rpmi: libgio-devel-2.60.6-alt1 sisyphus+235075.100.1.1 1563971175 installed <86>Sep 4 03:58:26 groupadd[62815]: group added to /etc/group: name=_keytab, GID=497 <86>Sep 4 03:58:26 groupadd[62815]: group added to /etc/gshadow: name=_keytab <86>Sep 4 03:58:26 groupadd[62815]: new group: name=_keytab, GID=497 <13>Sep 4 03:58:26 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Sep 4 03:58:26 rpmi: libharfbuzz-devel-2.6.1-alt1 sisyphus+236500.100.1.1 1566557824 installed <13>Sep 4 03:58:27 rpmi: libfreetype-devel-2.10.0-alt2 sisyphus+226881.100.2.1 1555676284 installed <13>Sep 4 03:58:27 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed <13>Sep 4 03:58:27 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Sep 4 03:58:27 rpmi: libcairo-gobject-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Sep 4 03:58:27 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Sep 4 03:58:27 rpmi: libpango-devel-1.44.5-alt1 sisyphus+236022.300.6.1 1566123439 installed <13>Sep 4 03:58:27 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Sep 4 03:58:27 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Sep 4 03:58:27 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 4 03:58:27 rpmi: gtk-builder-convert-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Sep 4 03:58:27 rpmi: libssh-0.8.7-alt1 sisyphus+223596.100.1.1 1551707803 installed <13>Sep 4 03:58:27 rpmi: libgdk-pixbuf-devel-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed <13>Sep 4 03:58:27 rpmi: libatk-devel-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Sep 4 03:58:27 rpmi: glib-networking-2.60.3-alt1 sisyphus+231797.100.1.1 1560108255 installed <13>Sep 4 03:58:27 rpmi: libsoup-2.66.2-alt1 sisyphus+229994.200.1.1 1558678426 installed <13>Sep 4 03:58:27 rpmi: libsoup-gnome-2.66.2-alt1 sisyphus+229994.200.1.1 1558678426 installed <13>Sep 4 03:58:27 rpmi: librest-0.8.1-alt1 1508266396 installed <13>Sep 4 03:58:28 rpmi: libgtk+3-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Sep 4 03:58:28 rpmi: libgtk+3-devel-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Sep 4 03:58:28 rpmi: libvte3-0.56.3-alt1 sisyphus+229034.200.1.1 1557210536 installed <13>Sep 4 03:58:28 rpmi: libvte3-devel-0.56.3-alt1 sisyphus+229034.200.1.1 1557210536 installed <13>Sep 4 03:58:28 rpmi: libssh-devel-0.8.7-alt1 sisyphus+223596.100.1.1 1551707803 installed <13>Sep 4 03:58:28 rpmi: libssl-devel-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Sep 4 03:58:28 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/lterm-1.5.1-alt1.nosrc.rpm Installing lterm-1.5.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.15469 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf lterm-1.5.1 + echo 'Source #0 (lterm-1.5.1.tar):' Source #0 (lterm-1.5.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/lterm-1.5.1.tar + cd lterm-1.5.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (lterm-no-ssh_threads.patch):' Patch #1 (lterm-no-ssh_threads.patch): + /usr/bin/patch -p2 patching file configure.ac + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.15469 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lterm-1.5.1 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.60: WARNING: is deprecated and discouraged. autoheader-2.60: autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.60: WARNING: `acconfig.h': autoheader-2.60: autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.60: [Define if a function `main' is needed.]) autoheader-2.60: autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the autoheader-2.60: WARNING: documentation. autoreconf-default: running: automake --add-missing --force-missing autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for xmlcatalog... /usr/bin/xmlcatalog checking for update-desktop-database... no checking for update-mime-database... /usr/bin/update-mime-database checking for gtk libs... found gtk 3.0 checking for vte emulator widget... found vte-2.91 checking for openssl lib... yes checking for libssh... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 configure: WARNING: unrecognized options: --without-included-gettext + make -j8 Making all in src make all-am make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o grouptree.o grouptree.c grouptree.c: In function 'group_node_find': grouptree.c:134:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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'; did you mean 'ssh_get_fd'? [-Wimplicit-function-declaration] list_get_nth (path, index, '/', nodename); ^~~~~~~~~~~~ ssh_get_fd grouptree.c:236:7: warning: implicit declaration of function 'list_count'; did you mean 'listen'? [-Wimplicit-function-declaration] if (list_count (path, '/') < index) ^~~~~~~~~~ listen grouptree.c:229:8: warning: unused variable 's_tmp' [-Wunused-variable] 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] 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] struct GroupNode *p_child_next = NULL; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o connection_list.o connection_list.c In file included from connection_list.c:30: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ connection_list.c: In function 'cl_check': connection_list.c:240:31: warning: unused variable 'pc' [-Wunused-variable] struct Connection *p_conn, *pc; ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o preferences.o preferences.c preferences.c: In function 'profile_edit': preferences.c:140:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ preferences.c:141:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_OK, ^~~~~~~~~~~~ preferences.c:157:3: warning: 'gtk_font_button_set_font_name' is deprecated [-Wdeprecated-declarations] gtk_font_button_set_font_name (GTK_FONT_BUTTON (fontbutton_terminal), p_profile && p_profile->font[0] ? p_profile->font : "Monospace 9"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109, from preferences.c:23: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:253:11: warning: 'gtk_font_button_get_font_name' is deprecated [-Wdeprecated-declarations] strcpy (new_profile.font, gtk_font_button_get_font_name (GTK_FONT_BUTTON(fontbutton_terminal))); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109, from preferences.c:23: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c: In function 'profile_selected_cb': preferences.c:352:3: warning: implicit declaration of function 'apply_profile_terminal'; did you mean 'apply_profile'? [-Wimplicit-function-declaration] apply_profile_terminal (vte_profile, g_selected_profile); ^~~~~~~~~~~~~~~~~~~~~~ apply_profile preferences.c:334:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ preferences.c: In function 'show_preferences': preferences.c:409:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ preferences.c:410:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_OK, ^~~~~~~~~~~~ preferences.c:462:3: warning: 'gtk_font_button_set_font_name' is deprecated [-Wdeprecated-declarations] gtk_font_button_set_font_name (GTK_FONT_BUTTON (qlw_font_entry), prefs.font_quick_launch_window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109, from preferences.c:23: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:610:7: warning: 'gtk_font_button_get_font_name' is deprecated [-Wdeprecated-declarations] strcpy (prefs.font_quick_launch_window, gtk_font_button_get_font_name (GTK_FONT_BUTTON (qlw_font_entry))); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109, from preferences.c:23: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:626:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p_profile = profile_get_by_position (&g_profile_list, ^~~~~~~~~ preferences.c:472:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ preferences.c:471:17: warning: unused variable 'tree_model' [-Wunused-variable] GtkTreeModel *tree_model; ^~~~~~~~~~ preferences.c:388:17: warning: unused variable 'tmp' [-Wunused-variable] char ui[256], tmp[512]; ^~~ preferences.c:384:44: warning: unused variable 'bg_color_entry' [-Wunused-variable] GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; ^~~~~~~~~~~~~~ preferences.c:384:27: warning: unused variable 'fg_color_entry' [-Wunused-variable] GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; ^~~~~~~~~~~~~~ preferences.c:384:14: warning: unused variable 'font_entry' [-Wunused-variable] GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; ^~~~~~~~~~ preferences.c:382:26: warning: unused variable 'button_cancel' [-Wunused-variable] GtkWidget *button_ok, *button_cancel; ^~~~~~~~~~~~~ preferences.c:382:14: warning: unused variable 'button_ok' [-Wunused-variable] 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=] sprintf (ui, "%s/profile.glade", globals.data_dir); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from preferences.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ui, "%s/preferences.glade", globals.data_dir); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from preferences.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o profile.o profile.c In file included from profile.c:29: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ profile.c: In function 'profile_get_name_param': profile.c:45:10: warning: unused variable 'nmatch' [-Wunused-variable] size_t nmatch; ^~~~~~ profile.c: In function 'profile_load_int': profile.c:162:8: warning: unused variable 'buffer' [-Wunused-variable] char buffer[33]; ^~~~~~ profile.c: In function 'profile_modify_string': profile.c:182:10: warning: unused variable 'nmatch' [-Wunused-variable] size_t nmatch; ^~~~~~ profile.c: In function 'profile_delete_section': profile.c:403:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (child = xml_node_get_child (node, "fg-color")) ^~~~~ profile.c:690:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_2 = xml_node_get_child (node, "fonts")) ^~~~~~ profile.c:692:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "use-system")) ^~~~~ profile.c:699:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "font")) ^~~~~ profile.c:703:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_2 = xml_node_get_child (node, "background")) ^~~~~~ profile.c:705:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "color")) ^~~~~ profile.c:708:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "alpha")) ^~~~~ profile.c:719:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_2 = xml_node_get_child (node, "cursor")) ^~~~~~ profile.c:721:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "shape")) ^~~~~ profile.c:729:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "blinking")) ^~~~~ profile.c:738:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_2 = xml_node_get_child (node, "bell")) ^~~~~~ profile.c:740:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "audible")) ^~~~~ profile.c:748:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "visible")) ^~~~~ profile.c:626:20: warning: unused variable 'pc' [-Wunused-variable] char tmp_s[32], *pc; ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o protocol.o protocol.c In file included from protocol.c:25: utils.h:47:1: warning: parameter names (without types) in function declaration 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] if (child = xml_node_get_child (node, "command")) ^~~~~ protocol.c:285:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "port")) ^~~~~ protocol.c:292:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "arguments")) ^~~~~ protocol.c:295:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_2 = xml_node_get_child (node, "flags")) ^~~~~~ protocol.c:297:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "askuser")) ^~~~~ protocol.c:305:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "askpassword")) ^~~~~ protocol.c:313:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_2, "disconnectclose")) ^~~~~ protocol.c:228:20: warning: unused variable 'pc' [-Wunused-variable] char tmp_s[32], *pc; ^~ protocol.c:225:7: warning: unused variable 'rc' [-Wunused-variable] int rc = 0; ^~ protocol.c: In function 'save_protocols_to_file_xml': protocol.c:341:8: warning: unused variable 's_flags' [-Wunused-variable] char s_flags[1024]; ^~~~~~~ protocol.c:340:8: warning: unused variable 'line' [-Wunused-variable] char line[1024]; ^~~~ protocol.c: In function 'query_name_new_protocol': protocol.c:454:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, ^~~~~~~~~~~~~~~~ protocol.c:456:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, ^~~~~~~~~~~~ protocol.c:472:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] l_align = gtk_alignment_new (0, 0, 0, 0); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255, from protocol.c:21: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here GtkWidget* gtk_alignment_new (gfloat xalign, ^~~~~~~~~~~~~~~~~ protocol.c: In function 'prot_save_clicked_cb': protocol.c:569:8: warning: unused variable 's_port' [-Wunused-variable] char s_port[256]; ^~~~~~ protocol.c: In function 'refresh_protocols': protocol.c:663:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ protocol.c: In function 'manage_protocols': protocol.c:810:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] GtkWidget *new_button = gtk_button_new_from_stock (GTK_STOCK_NEW); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54, from protocol.c:21: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); ^~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:810:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *new_button = gtk_button_new_from_stock (GTK_STOCK_NEW); ^~~~~~~~~ protocol.c:814:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] GtkWidget *save_button = gtk_button_new_from_stock (GTK_STOCK_SAVE); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54, from protocol.c:21: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); ^~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:814:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *save_button = gtk_button_new_from_stock (GTK_STOCK_SAVE); ^~~~~~~~~ protocol.c:818:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] GtkWidget *revert_button = gtk_button_new_from_stock (GTK_STOCK_REVERT_TO_SAVED); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54, from protocol.c:21: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); ^~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:818:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *revert_button = gtk_button_new_from_stock (GTK_STOCK_REVERT_TO_SAVED); ^~~~~~~~~ protocol.c:822:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] GtkWidget *delete_button = gtk_button_new_from_stock (GTK_STOCK_DELETE); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54, from protocol.c:21: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); ^~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:822:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *delete_button = gtk_button_new_from_stock (GTK_STOCK_DELETE); ^~~~~~~~~ protocol.c:832:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] GtkWidget *status_align = gtk_alignment_new (0, 0, 0, 0); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255, from protocol.c:21: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here GtkWidget* gtk_alignment_new (gfloat xalign, ^~~~~~~~~~~~~~~~~ protocol.c:874:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] GtkWidget *variables_align = gtk_alignment_new (0, 0, 0, 0); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255, from protocol.c:21: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here GtkWidget* gtk_alignment_new (gfloat xalign, ^~~~~~~~~~~~~~~~~ protocol.c:893:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CLOSE, GTK_RESPONSE_OK); ^~~~~~~~~ protocol.c:713:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] gint result; ^~~~~~ protocol.c:712:20: warning: unused variable 'p' [-Wunused-variable] struct Protocol *p; ^ protocol.c:711:10: warning: unused variable 'client_glist' [-Wunused-variable] GList *client_glist = NULL; ^~~~~~~~~~~~ protocol.c:710:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable] GtkWidget *cancel_button, *ok_button; ^~~~~~~~~ protocol.c:710:14: warning: unused variable 'cancel_button' [-Wunused-variable] GtkWidget *cancel_button, *ok_button; ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o utils.o utils.c In file included from utils.c:43: utils.h:47:1: warning: parameter names (without types) in function declaration 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=] sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); ~~~~~^ ~~~~ %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=] sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); ~~~~~^ ~~~ %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=] sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); ~~~~~^ ~~~ %02ld utils.c: In function 'permissions_octal_to_string': utils.c:149:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] triple[i] = (value & (0x01 << 8-i)) ? flags[i] : '-'; ~^~ utils.c:144:10: warning: unused variable 'n' [-Wunused-variable] int i, n; ^ utils.c: In function 'lower': utils.c:534:12: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] s[i] = tolower (s[i]); ^~~~~~~ utils.c: In function 'upper': utils.c:545:12: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 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] if (value = getenv ("DESKTOP_SESSION")) ^~~~~ utils.c:712:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] if (strlen (p_enc) > strlen (clear_text)) ^~~~~ 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:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] p_enc_b64 = g_base64_encode ((const unsigned char *) p_enc, strlen (p_enc)); ^~~~~ 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:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] 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] readFile (filename) ^~~~~~~~ utils.c:1012:21: warning: passing argument 1 of 'fopen' makes pointer from integer without a cast [-Wint-conversion] FILE * f = fopen (filename, "rb"); ^~~~~~~~ In file included from utils.c:32: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'int' 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] fread (buffer, 1, length, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o main.o main.c In file included from main.c:45: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ main.c: In function 'log_write': main.c:111:8: warning: unused variable 'log_file' [-Wunused-variable] char log_file[256]; ^~~~~~~~ main.c: In function 'lterm_iteration': main.c:208:10: warning: implicit declaration of function 'ifr_get'; did you mean 'ifr_add'? [-Wimplicit-function-declaration] while (ifr_get (&ifr_function)) ^~~~~~~ ifr_add main.c:218:11: warning: implicit declaration of function 'refresh_connection_tree_view'; did you mean 'save_connections_to_file'? [-Wimplicit-function-declaration] refresh_connection_tree_view ((struct GtkTreeView *) ifr_function.user_data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ save_connections_to_file main.c:226:11: warning: implicit declaration of function 'connection_tab_close'; did you mean 'connection_tab_new'? [-Wimplicit-function-declaration] connection_tab_close ((SConnectionTab *) ifr_function.user_data); ^~~~~~~~~~~~~~~~~~~~ connection_tab_new main.c:199:25: warning: unused variable 'lterminal' [-Wunused-variable] struct ConnectionTab *lterminal; ^~~~~~~~~ main.c: In function 'main': main.c:382:3: warning: implicit declaration of function 'textdomain'; did you mean 'gtk_main'? [-Wimplicit-function-declaration] textdomain (PACKAGE); ^~~~~~~~~~ gtk_main main.c:383:3: warning: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration] bindtextdomain (PACKAGE, LOCALEDIR); ^~~~~~~~~~~~~~ main.c:510:3: warning: implicit declaration of function 'pl_init'; did you mean 'cl_init'? [-Wimplicit-function-declaration] pl_init (&g_prot_list); ^~~~~~~ cl_init main.c:517:3: warning: implicit declaration of function 'check_standard_protocols'; did you mean 'manage_protocols'? [-Wimplicit-function-declaration] check_standard_protocols (&g_prot_list); ^~~~~~~~~~~~~~~~~~~~~~~~ manage_protocols main.c:539:3: warning: implicit declaration of function 'XInitThreads' [-Wimplicit-function-declaration] XInitThreads (); ^~~~~~~~~~~~ main.c:543:7: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init(NULL); ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from main.c:33: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^~~~~~~~~~~~~ main.c:546:3: warning: 'gdk_threads_init' is deprecated [-Wdeprecated-declarations] gdk_threads_init(); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61, from /usr/include/gtk-3.0/gtk/gtk.h:30, from main.c:33: /usr/include/gtk-3.0/gdk/gdkthreads.h:44:10: note: declared here void gdk_threads_init (void); ^~~~~~~~~~~~~~~~ main.c:551:3: warning: implicit declaration of function 'start_gtk'; did you mean 'strtok'? [-Wimplicit-function-declaration] start_gtk (argc, argv); ^~~~~~~~~ strtok main.c:558:3: warning: implicit declaration of function 'ifr_init'; did you mean 'cl_init'? [-Wimplicit-function-declaration] ifr_init (); ^~~~~~~~ cl_init main.c:586:7: warning: implicit declaration of function 'list_count'; did you mean 'listen'? [-Wimplicit-function-declaration] if (list_count (globals.start_connections, '#')) ^~~~~~~~~~ listen main.c:590:11: warning: implicit declaration of function 'list_get_nth'; did you mean 'ssh_get_fd'? [-Wimplicit-function-declaration] list_get_nth (globals.start_connections, i, '#', s_tmp); ^~~~~~~~~~~~ ssh_get_fd main.c:591:11: warning: implicit declaration of function 'open_connection'; did you mean 'get_connection'? [-Wimplicit-function-declaration] 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] 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] 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] 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] pl_release (&g_prot_list); ^~~~~~~~~~ cl_release main.c:343:7: warning: unused variable 'digit_optind' [-Wunused-variable] int digit_optind; ^~~~~~~~~~~~ main.c:342:7: warning: unused variable 'c' [-Wunused-variable] int c, n, rc; ^ main.c: In function 'save_settings': main.c:795:7: warning: unused variable 'err' [-Wunused-variable] int err; ^~~ main.c: In function 'cmpver': main.c:878:19: warning: unused variable 'cmp3' [-Wunused-variable] int cmp1, cmp2, cmp3; ^~~~ main.c:878:13: warning: unused variable 'cmp2' [-Wunused-variable] int cmp1, cmp2, cmp3; ^~~~ main.c:878:7: warning: unused variable 'cmp1' [-Wunused-variable] int cmp1, cmp2, cmp3; ^~~~ At top level: main.c:154:13: warning: 'handle_signals' defined but not used [-Wunused-function] 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=] sprintf (line, "%s: %s", time_s, msg); ^~ ~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2113 bytes into a destination of size 2048 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:456:32: warning: '/.' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf (globals.app_dir, "%s/.%s", globals.home_dir, PACKAGE_NAME); ^~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:457:35: warning: '/serverlist' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf (globals.serverlist, "%s/serverlist", globals.app_dir); /* deprecated */ ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.connections_xml, "%s/connections.xml", globals.app_dir); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.session_file, "%s/session.xml", globals.app_dir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.log_file, "%s/lterm.log", globals.app_dir); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.profiles_file, "%s/profiles.xml", globals.app_dir); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 269 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.protocols_file, "%s/protocols.xml", globals.app_dir); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.recent_connections_file, "%s/recents.xml", globals.app_dir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.recent_sessions_file, "%s/recent_sessions", globals.app_dir); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (globals.conf_file, "%s/%s.conf", globals.app_dir, PACKAGE_NAME); ^~ In file included from /usr/include/stdio.h:862, from main.c:32: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o xml.o xml.c xml.c: In function 'xml_parse': xml.c:650:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xml.c:639:1: note: declared here xml_parse (char *doc, XML *p_xml) ^~~~~~~~~ xml.c: In function 'xml_load': xml.c:663:10: warning: unused variable 'rc' [-Wunused-variable] int i, rc = 0; ^~ xml.c:663:7: warning: unused variable 'i' [-Wunused-variable] int i, rc = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o async.o async.c async.c: In function 'async_lterm_loop': async.c:99:8: warning: unused variable 'i' [-Wunused-variable] 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] lockSFTPQueue (__func__, TRUE); ^~~~~~~~ async.c:64:22: note: expected 'char *' but argument is of type 'const char *' lockSFTPQueue (char *caller, gboolean flagLock) ~~~~~~^~~~~~ async.c:179:20: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] lockSFTPQueue (__func__, FALSE); ^~~~~~~~ async.c:64:22: note: expected 'char *' but argument is of type 'const char *' lockSFTPQueue (char *caller, gboolean flagLock) ~~~~~~^~~~~~ async.c:153:8: warning: unused variable 'transferReport' [-Wunused-variable] char transferReport[256]; ^~~~~~~~~~~~~~ async.c:141:12: warning: unused variable 'nDown' [-Wunused-variable] int nUp, nDown; ^~~~~ async.c:141:7: warning: unused variable 'nUp' [-Wunused-variable] int nUp, nDown; ^~~ async.c:140:10: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 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=] sprintf (message, "%s\n%s", pTi->filename, pTi->result ? pTi->errorDesc : "successfully transferred"); ^~ In file included from /usr/include/stdio.h:862, from async.c:29: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 3072 bytes into a destination of size 2048 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o transfer_window.o transfer_window.c In file included from transfer_window.c:26: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ transfer_window.c: In function 'transfer_details': transfer_window.c:113:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK); ^~~~~~~~~ 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=] "Action: %s\n" ^~~~~~~~~~~~~~~~~~~~~ transfer_window.c:137:57: bytes_to_human_readable (pTi->size, tmpSize), pTi->size, ~~~~~~~~~ transfer_window.c:127:32: note: format string is defined here "Size: %s (%lld bytes)\n" ~~~^ %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=] "Action: %s\n" ^~~~~~~~~~~~~~~~~~~~~ transfer_window.c:138:61: bytes_to_human_readable (pTi->worked, tmpWorked), pTi->worked, ~~~~~~~~~~~ transfer_window.c:128:39: note: format string is defined here "Transferred: %s (%lld bytes)\n" ~~~^ %ld transfer_window.c:153:7: warning: unused variable 'result' [-Wunused-variable] int result = gtk_dialog_run (GTK_DIALOG (dialog)); ^~~~~~ transfer_window.c:113:14: warning: unused variable 'ok_button' [-Wunused-variable] 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] lockSFTPQueue (__func__, TRUE); ^~~~~~~~~~~~~ transfer_window.c:170:21: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ transfer_window.c:169:21: warning: unused variable 'model' [-Wunused-variable] GtkTreeModel *model; ^~~~~ transfer_window.c:168:21: warning: unused variable 'selection' [-Wunused-variable] GtkTreeSelection *selection; ^~~~~~~~~ transfer_window.c: In function 'transfer_remove_completed': transfer_window.c:207:7: warning: unused variable 'i' [-Wunused-variable] int i, nDel = 0; ^ transfer_window.c: In function 'transfer_popup_menu': transfer_window.c:260:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] action_group = gtk_action_group_new ("TransferWindowPopupMenu"); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ transfer_window.c:261:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_actions (action_group, transfer_popup_menu_items, G_N_ELEMENTS (transfer_popup_menu_items), treeview); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here void gtk_action_group_add_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ transfer_window.c:263:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations] ui_manager = gtk_ui_manager_new (); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here GtkUIManager *gtk_ui_manager_new (void); ^~~~~~~~~~~~~~~~~~ transfer_window.c:264:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, action_group, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transfer_window.c:266:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, ui_transfer_popup_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transfer_window.c:268:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] popup = gtk_ui_manager_get_widget (ui_manager, "/TransferWindowPopupMenu"); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ transfer_window.c:272:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] gtk_menu_popup (GTK_MENU(popup), NULL, NULL, NULL, NULL, ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here void gtk_menu_popup (GtkMenu *menu, ^~~~~~~~~~~~~~ transfer_window.c: In function 'create_transfer_window_tree_view': transfer_window.c:444:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ transfer_window.c: In function 'refresh_transfer_list_store': transfer_window.c:581:7: warning: unused variable 'n' [-Wunused-variable] int n=0; ^ transfer_window.c:577:21: warning: unused variable 'actionIcon' [-Wunused-variable] 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=] sprintf (tmp_s, "%lld", pTi->size); ~~~^ ~~~~~~~~~ %ld transfer_window.c:642:14: warning: variable 'sensitive' set but not used [-Wunused-but-set-variable] gboolean sensitive; ^~~~~~~~~ transfer_window.c: In function 'view_transfer_window': transfer_window.c:740:7: warning: implicit declaration of function 'msgbox_error'; did you mean 'g_error'? [-Wimplicit-function-declaration] msgbox_error ("Can't load user interface file:\n%s", error->message); ^~~~~~~~~~~~ g_error In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from transfer_window.c:23: /usr/include/gtk-3.0/gtk/gtkwidget.h:58:31: warning: initialization of 'GtkWindow *' {aka 'struct _GtkWindow *'} from incompatible pointer type 'GtkWidget *' {aka 'struct _GtkWidget *'} [-Wincompatible-pointer-types] #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' GtkWindow *scrolled_window = GTK_WIDGET (gtk_builder_get_object (builder, "scrolled_window")); ^~~~~~~~~~ transfer_window.c:820:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (transferQueueWindow), gdk_screen_get_height (screen)/1.5, gdk_screen_get_height (screen)/1.8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from transfer_window.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ transfer_window.c:820:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (transferQueueWindow), gdk_screen_get_height (screen)/1.5, gdk_screen_get_height (screen)/1.8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from transfer_window.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ transfer_window.c:837:27: warning: unused variable 'iter' [-Wunused-variable] GList *children, *iter; ^~~~ transfer_window.c:837:16: warning: unused variable 'children' [-Wunused-variable] GList *children, *iter; ^~~~~~~~ transfer_window.c:728:17: warning: unused variable 'tmp' [-Wunused-variable] char ui[256], tmp[512]; ^~~ transfer_window.c:724:7: warning: unused variable 'i' [-Wunused-variable] 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=] sprintf (ui, "%s/transfer.glade", globals.data_dir); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from transfer_window.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o terminal.o terminal.c In file included from terminal.c:36: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ terminal.c: In function 'terminal_new': terminal.c:97:3: warning: 'vte_terminal_spawn_sync' is deprecated [-Wdeprecated-declarations] success = vte_terminal_spawn_sync (VTE_TERMINAL (p_connection_tab->vte), VTE_PTY_DEFAULT, NULL, av, NULL, ^~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from terminal.c:25: /usr/include/vte-2.91/vte/vtedeprecated.h:82:10: note: declared here gboolean vte_terminal_spawn_sync(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~ terminal.c:55:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ terminal.c:51:20: warning: unused variable 'p_prot' [-Wunused-variable] struct Protocol *p_prot; ^~~~~~ terminal.c: In function 'log_on': terminal.c:402:7: warning: 'vte_terminal_spawn_sync' is deprecated [-Wdeprecated-declarations] success = vte_terminal_spawn_sync (VTE_TERMINAL (p_conn_tab->vte), VTE_PTY_DEFAULT, NULL, p_params, NULL, ^~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from terminal.c:25: /usr/include/vte-2.91/vte/vtedeprecated.h:82:10: note: declared here gboolean vte_terminal_spawn_sync(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~ terminal.c:159:7: warning: unused variable 'i' [-Wunused-variable] 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] VteTerminal *vteterminal; ^~~~~~~~~~~ terminal.c: In function 'asked_for_password': terminal.c:653:16: warning: variable 'vteterminal' set but not used [-Wunused-but-set-variable] VteTerminal *vteterminal; ^~~~~~~~~~~ terminal.c: In function 'load_session_file': terminal.c:828:26: warning: unused variable 'cl' [-Wunused-variable] struct Connection_List cl; ^~ terminal.c:827:25: warning: unused variable 'p_ct' [-Wunused-variable] struct ConnectionTab *p_ct; ^~~~ terminal.c:826:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^~ terminal.c:824:7: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ terminal.c: In function 'save_session_file': terminal.c:903:7: warning: unused variable 'len' [-Wunused-variable] int len, rc = 0; ^~~ terminal.c:902:9: warning: unused variable 'p_enc_b64' [-Wunused-variable] char *p_enc_b64; ^~~~~~~~~ terminal.c:901:9: warning: unused variable 'p_enc' [-Wunused-variable] char *p_enc; ^~~~~ terminal.c:900:26: warning: unused variable 'cl' [-Wunused-variable] struct Connection_List cl; ^~ terminal.c:899:25: warning: unused variable 'p_ct' [-Wunused-variable] struct ConnectionTab *p_ct; ^~~~ terminal.c:898:28: warning: unused variable 'addedConn' [-Wunused-variable] struct Connection conn, *addedConn; ^~~~~~~~~ terminal.c:898:21: warning: unused variable 'conn' [-Wunused-variable] struct Connection conn, *addedConn; ^~~~ terminal.c:897:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^~ terminal.c:896:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ terminal.c: In function 'terminal_set_search_expr': terminal.c:1027:3: warning: 'vte_terminal_search_set_gregex' is deprecated [-Wdeprecated-declarations] vte_terminal_search_set_gregex (VTE_TERMINAL(p_current_connection_tab->vte), regex, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from terminal.c:25: /usr/include/vte-2.91/vte/vtedeprecated.h:72:11: note: declared here void vte_terminal_search_set_gregex (VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c: In function 'terminal_set_encoding': terminal.c:1057:3: warning: 'vte_terminal_set_encoding' is deprecated [-Wdeprecated-declarations] vte_terminal_set_encoding (VTE_TERMINAL(pTab->vte), codeset, &error); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from terminal.c:25: /usr/include/vte-2.91/vte/vtedeprecated.h:120:10: note: declared here gboolean vte_terminal_set_encoding(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c: In function 'check_log_in_parameter': terminal.c:620:10: warning: 'feed_child' may be used uninitialized in this function [-Wmaybe-uninitialized] 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=] sprintf (label, _("Enter user for %s:"), p_ct->connection.name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from terminal.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] sprintf (label, _("Enter password for %s@%s:"), p_ct->connection.user, p_ct->connection.name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from terminal.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 29 and 315 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o ssh.o ssh.c In file included from ssh.c:31: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ ssh.c: In function 'ssh_list_dump': ssh.c:159:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] 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] lockSSH (__func__, TRUE); ^~~~~~~ lockf make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o connection.o connection.c In file included from connection.c:38: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ connection.c: In function 'detect_serverlist_file_version': connection.c:130:8: warning: unused variable 'v2_s' [-Wunused-variable] char v2_s[] = ";mtsl-2"; ^~~~ connection.c:127:8: warning: unused variable 'line' [-Wunused-variable] char line[1024]; ^~~~ connection.c:126:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^~ connection.c: In function 'save_connections_to_file_xml': connection.c:569:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ connection.c: In function 'save_connections_to_file_xml_from_glist': connection.c:639:22: warning: unused variable 'c' [-Wunused-variable] struct Connection *c; ^ connection.c:637:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ connection.c: In function 'read_connection_node': connection.c:720:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "last_user")) ^~~~~ connection.c:723:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "user")) ^~~~~ connection.c:728:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "password")) ^~~~~ connection.c:747:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "directory")) ^~~~~ connection.c:750:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "note")) ^~~~~ connection.c:753:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_auth = xml_node_get_child (node, "authentication")) ^~~~~~~~~ connection.c:763:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_auth, "mode")) ^~~~~ connection.c:770:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_auth, "auth_user")) ^~~~~ connection.c:773:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_auth, "auth_password")) ^~~~~ connection.c:789:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node_auth, "identityFile")) ^~~~~ connection.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node_hist = xml_node_get_child (node, "history")) ^~~~~~~~~ connection.c:812:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "upload_dir")) ^~~~~ connection.c:815:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "download_dir")) ^~~~~ connection.c:819:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "x11Forwarding")) ^~~~~ connection.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (child = xml_node_get_child (node, "options")) ^~~~~ connection.c:699:20: warning: unused variable 'pc' [-Wunused-variable] char name[256], *pc; ^~ connection.c:699:8: warning: unused variable 'name' [-Wunused-variable] char name[256], *pc; ^~~~ connection.c: In function 'read_xml_connection_item': connection.c:862:32: warning: unused variable 'node_hist' [-Wunused-variable] XMLNode *child, *node_auth, *node_hist; ^~~~~~~~~ connection.c:862:20: warning: unused variable 'node_auth' [-Wunused-variable] XMLNode *child, *node_auth, *node_hist; ^~~~~~~~~ connection.c:862:12: warning: unused variable 'child' [-Wunused-variable] XMLNode *child, *node_auth, *node_hist; ^~~~~ connection.c: In function 'get_xml_doc': connection.c:915:20: warning: unused variable 'tmp_s' [-Wunused-variable] 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] char line[2048], tmp_s[32]; ^~~~ connection.c:965:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ connection.c: In function 'load_connections': connection.c:1082:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ connection.c: In function 'count_current_connections': connection.c:1121:11: warning: implicit declaration of function 'cl_count'; did you mean 'cl_init'? [-Wimplicit-function-declaration] return (cl_count (&conn_list)); ^~~~~~~~ cl_init 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] found = get_selected_connection (select, &conn); ^~~~~~~~~~~~~~~~~~~~~~~ add_recent_connection connection.c: In function 'select_private_key_cb': connection.c:1359:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ connection.c:1360:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, ^~~~~~~~~~~~~~ connection.c:1373:38: warning: passing argument 1 of 'gtk_entry_set_text' from incompatible pointer type [-Wincompatible-pointer-types] gtk_entry_set_text (authWidgets.entry_private_key, gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog))); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkentry.h:253:65: note: expected 'GtkEntry *' {aka 'struct _GtkEntry *'} but argument is of type 'GtkWidget *' {aka 'struct _GtkWidget *'} 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] gtk_entry_set_text (authWidgets.entry_private_key, ""); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkentry.h:253:65: note: expected 'GtkEntry *' {aka 'struct _GtkEntry *'} but argument is of type 'GtkWidget *' {aka 'struct _GtkWidget *'} 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 return; ^~~~~~ connection.c:1485:1: note: declared here add_update_connection (struct GroupNode *p_node, struct Connection *p_conn_model) ^~~~~~~~~~~~~~~~~~~~~ connection.c:1827:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); ^~~~~~~~~~~~~ connection.c:1828:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK); ^~~~~~~~~ connection.c:1856:13: warning: implicit declaration of function 'connection_copy'; did you mean 'connection_init'? [-Wimplicit-function-declaration] connection_copy (&conn_new, p_conn); ^~~~~~~~~~~~~~~ connection_init connection.c:1960:19: warning: implicit declaration of function 'refresh_search_completion'; did you mean 'gtk_entry_set_completion'? [-Wimplicit-function-declaration] refresh_search_completion (); ^~~~~~~~~~~~~~~~~~~~~~~~~ gtk_entry_set_completion connection.c:1622:7: warning: unused variable 'sig_handler_prot' [-Wunused-variable] 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] struct Connection conn_new, *p_conn_ctrl = NULL; ^~~~~~~~~~~ connection.c:1507:7: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ connection.c:1506:9: warning: unused variable 'p_enc_b64' [-Wunused-variable] char *p_enc_b64; ^~~~~~~~~ connection.c:1505:9: warning: unused variable 'p_enc' [-Wunused-variable] char *p_enc; ^~~~~ connection.c:1496:14: warning: unused variable 'table' [-Wunused-variable] GtkWidget *table; ^~~~~ connection.c:1495:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable] GtkWidget *cancel_button, *ok_button; ^~~~~~~~~ connection.c:1495:14: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable] GtkWidget *cancel_button, *ok_button; ^~~~~~~~~~~~~ connection.c:1493:19: warning: unused variable 'y_pad' [-Wunused-variable] int x_pad = 10, y_pad = 5; ^~~~~ connection.c:1493:7: warning: unused variable 'x_pad' [-Wunused-variable] int x_pad = 10, y_pad = 5; ^~~~~ connection.c:1491:9: warning: unused variable 'emu_tmp' [-Wunused-variable] char *emu_tmp, connection_name[1024], s_tmp[1024]; ^~~~~~~ connection.c:1490:19: warning: unused variable 'temp' [-Wunused-variable] char title[64], temp[256]; ^~~~ connection.c: In function 'add_update_folder': connection.c:2035:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); ^~~~~~~~~~~~~ connection.c:2036:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK); ^~~~~~~~~ connection.c:1997:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable] GtkWidget *cancel_button, *ok_button; ^~~~~~~~~ connection.c:1997:14: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable] GtkWidget *cancel_button, *ok_button; ^~~~~~~~~~~~~ connection.c:1995:10: warning: unused variable 'proceed' [-Wunused-variable] int i, proceed, err_name_validation, result; ^~~~~~~ connection.c:1995:7: warning: unused variable 'i' [-Wunused-variable] int i, proceed, err_name_validation, result; ^ connection.c:1993:19: warning: unused variable 'temp' [-Wunused-variable] char title[64], temp[256]; ^~~~ connection.c: In function 'rebuild_tree_store': connection.c:2196:3: warning: implicit declaration of function 'cl_check'; did you mean 'clock'? [-Wimplicit-function-declaration] cl_check (&conn_list); ^~~~~~~~ clock connection.c: In function 'cursor_changed_cb': connection.c:2290:21: warning: unused variable 'selection' [-Wunused-variable] GtkTreeSelection *selection; ^~~~~~~~~ connection.c: In function 'row_activated_quick_cb': connection.c:2413:17: warning: implicit declaration of function 'log_on' [-Wimplicit-function-declaration] 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] connection_tab_add (p_connection_tab); ^~~~~~~~~~~~~~~~~~ connection_tab_new connection.c:2389:10: warning: unused variable 'sel_name' [-Wunused-variable] gchar *sel_name; ^~~~~~~~ connection.c:2388:8: warning: unused variable 'sel_port' [-Wunused-variable] gint sel_port; ^~~~~~~~ connection.c:2387:20: warning: unused variable 'p_prot' [-Wunused-variable] struct Protocol *p_prot; ^~~~~~ connection.c:2386:34: warning: unused variable 'conn1' [-Wunused-variable] struct Connection *p_conn_new, conn1; ^~~~~ connection.c:2386:22: warning: unused variable 'p_conn_new' [-Wunused-variable] struct Connection *p_conn_new, conn1; ^~~~~~~~~~ connection.c:2385:22: warning: unused variable 'p_conn_selected' [-Wunused-variable] struct Connection *p_conn_selected, conn; ^~~~~~~~~~~~~~~ connection.c:2384:12: warning: unused variable 'have_iter' [-Wunused-variable] gboolean have_iter; ^~~~~~~~~ connection.c:2383:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ connection.c: In function 'on_drag_data_inserted': connection.c:2523:23: warning: unused variable 'tree_view' [-Wunused-variable] 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] gchar *sel_name; ^~~~~~~~ connection.c:2670:8: warning: unused variable 'sel_port' [-Wunused-variable] gint sel_port; ^~~~~~~~ connection.c:2669:20: warning: unused variable 'p_prot' [-Wunused-variable] struct Protocol *p_prot; ^~~~~~ connection.c:2668:22: warning: unused variable 'p_conn_new' [-Wunused-variable] struct Connection *p_conn_new; ^~~~~~~~~~ connection.c:2667:22: warning: unused variable 'p_conn_selected' [-Wunused-variable] struct Connection *p_conn_selected; ^~~~~~~~~~~~~~~ connection.c:2665:7: warning: unused variable 'retcode' [-Wunused-variable] int retcode = 0; ^~~~~~~ connection.c:2664:7: warning: unused variable 'port' [-Wunused-variable] int port; ^~~~ connection.c:2663:43: warning: unused variable 'port_tmp' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~~~~~ connection.c:2663:29: warning: unused variable 'protocol' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~~~~~ connection.c:2663:18: warning: unused variable 'host' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~ connection.c:2663:8: warning: unused variable 'name' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~ connection.c:2662:20: warning: unused variable 's_path' [-Wunused-variable] char line[1024], s_path[16]; ^~~~~~ connection.c:2662:8: warning: unused variable 'line' [-Wunused-variable] char line[1024], s_path[16]; ^~~~ connection.c:2661:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^~ connection.c:2657:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ connection.c:2656:17: warning: unused variable 'tree_model' [-Wunused-variable] GtkTreeModel *tree_model; ^~~~~~~~~~ connection.c: In function 'get_selected_connection': connection.c:2776:12: warning: unused variable 'have_iter' [-Wunused-variable] 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] if (p_node = add_update_connection (g_selected_node, NULL)) ^~~~~~ connection.c:2882:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] GtkTreePath *path; ^~~~ connection.c: In function 'ok_button_clicked_cb': connection.c:3018:18: warning: unused variable 'buffer' [-Wunused-variable] GtkTextBuffer *buffer = (GtkTextBuffer *) user_data; ^~~~~~ connection.c: In function 'choose_manage_connection': connection.c:3151:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON (new_connection_button), gtk_image_new_from_stock (MY_STOCK_PLUS, GTK_ICON_SIZE_LARGE_TOOLBAR)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3160:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON (delete_button), gtk_image_new_from_stock (MY_STOCK_LESS, GTK_ICON_SIZE_LARGE_TOOLBAR)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3169:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON (edit_button), gtk_image_new_from_stock (MY_STOCK_PENCIL, GTK_ICON_SIZE_LARGE_TOOLBAR)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3178:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON (duplicate_connection_button), gtk_image_new_from_stock (MY_STOCK_COPY, GTK_ICON_SIZE_LARGE_TOOLBAR)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3187:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON (new_folder_button), gtk_image_new_from_stock (MY_STOCK_FOLDER, GTK_ICON_SIZE_LARGE_TOOLBAR)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3247:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] GtkWidget *cancel_button = gtk_button_new_from_stock (GTK_STOCK_CANCEL); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); ^~~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3247:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *cancel_button = gtk_button_new_from_stock (GTK_STOCK_CANCEL); ^~~~~~~~~ connection.c:3252:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] GtkWidget *ok_button = gtk_button_new_from_stock (GTK_STOCK_CONNECT); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54, from connection.c:23: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); ^~~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3252:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GtkWidget *ok_button = gtk_button_new_from_stock (GTK_STOCK_CONNECT); ^~~~~~~~~ connection.c:3257:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] GtkWidget *b_align = gtk_alignment_new (1, 0, 0, 0); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255, from connection.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here GtkWidget* gtk_alignment_new (gfloat xalign, ^~~~~~~~~~~~~~~~~ connection.c:3278:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (dialog_window), w_width+100, gdk_screen_get_height (screen)/2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from connection.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ connection.c:3314:7: warning: implicit declaration of function 'lterm_iteration'; did you mean 'gtk_main_iteration'? [-Wimplicit-function-declaration] lterm_iteration (); ^~~~~~~~~~~~~~~ gtk_main_iteration connection.c:3064:10: warning: unused variable 'sel_name' [-Wunused-variable] gchar *sel_name; ^~~~~~~~ connection.c:3063:8: warning: unused variable 'sel_port' [-Wunused-variable] gint sel_port; ^~~~~~~~ connection.c:3062:21: warning: unused variable 'p_node' [-Wunused-variable] struct GroupNode *p_node; ^~~~~~ connection.c:3061:20: warning: unused variable 'p_prot' [-Wunused-variable] struct Protocol *p_prot; ^~~~~~ connection.c:3060:22: warning: unused variable 'p_conn_new' [-Wunused-variable] struct Connection *p_conn_new; ^~~~~~~~~~ connection.c:3059:22: warning: unused variable 'p_conn_selected' [-Wunused-variable] struct Connection *p_conn_selected; ^~~~~~~~~~~~~~~ connection.c:3055:7: warning: unused variable 'port' [-Wunused-variable] int port; ^~~~ connection.c:3053:43: warning: unused variable 'port_tmp' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~~~~~ connection.c:3053:29: warning: unused variable 'protocol' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~~~~~ connection.c:3053:18: warning: unused variable 'host' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~ connection.c:3053:8: warning: unused variable 'name' [-Wunused-variable] char name[64], host[128], protocol[64], port_tmp[16]; ^~~~ connection.c:3052:20: warning: unused variable 's_path' [-Wunused-variable] char line[1024], s_path[16]; ^~~~~~ connection.c:3052:8: warning: unused variable 'line' [-Wunused-variable] char line[1024], s_path[16]; ^~~~ connection.c:3051:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^~ connection.c:3049:12: warning: unused variable 'have_iter' [-Wunused-variable] gboolean have_iter; ^~~~~~~~~ connection.c:3038:22: warning: unused variable 'column' [-Wunused-variable] GtkTreeViewColumn *column; ^~~~~~ connection.c:3037:20: warning: unused variable 'cell' [-Wunused-variable] GtkCellRenderer *cell; ^~~~ connection.c:3036:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ connection.c:3032:14: warning: unused variable 'vpaned' [-Wunused-variable] GtkWidget *vpaned; ^~~~~~ connection.c: In function 'create_quick_launch_window': connection.c:3389:3: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations] gtk_widget_modify_font (p_qlv->tree_view, font_desc); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:277, from connection.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:769:13: note: declared here void gtk_widget_modify_font (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~ connection.c: In function 'connection_import_file_chooser': connection.c:3449:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ connection.c:3450:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, ^~~~~~~~~~~~~~ connection.c:3446:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ connection.c:3445:7: warning: unused variable 'err' [-Wunused-variable] int err = 0; ^~~ connection.c: In function 'connection_import_MobaXterm': connection.c:3586:9: warning: implicit declaration of function 'list_get_nth'; did you mean 'ssh_get_fd'? [-Wimplicit-function-declaration] list_get_nth (line, 1, '=', conn.name); ^~~~~~~~~~~~ ssh_get_fd connection.c:3579:19: warning: unused variable 'sshId' [-Wunused-variable] const int sshId = '0'; ^~~~~ connection.c:3577:34: warning: variable 'pConn' set but not used [-Wunused-but-set-variable] struct Connection conn, *pConn; ^~~~~ connection.c:3513:15: warning: unused variable 'err' [-Wunused-variable] int result, err = 0; ^~~ connection.c: In function 'connection_import_Putty': connection.c:3616:28: warning: unused variable 'pConn' [-Wunused-variable] struct Connection conn, *pConn; ^~~~~ connection.c:3613:15: warning: unused variable 'err' [-Wunused-variable] int result, err = 0, n = 0; ^~~ connection.c: In function 'connection_export_file_chooser': connection.c:3705:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ connection.c:3706:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, ^~~~~~~~~~~~~~ connection.c: In function 'connection_export_CSV': connection.c:3915:47: warning: unused variable 'template' [-Wunused-variable] char filename[512], templateFilename[512], *template, *connectionEntry; ^~~~~~~~ connection.c:3915:23: warning: unused variable 'templateFilename' [-Wunused-variable] char filename[512], templateFilename[512], *template, *connectionEntry; ^~~~~~~~~~~~~~~~ At top level: connection.c:2645:23: warning: 'row_targets' defined but not used [-Wunused-variable] 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=] sprintf (ui, "%s/edit-connection.glade", globals.data_dir); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from connection.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (new_name, "%s (%d)", p_conn->name, i); ^~ connection.c:2914:26: note: directive argument in the range [1, 2147483647] sprintf (new_name, "%s (%d)", p_conn->name, i); ^~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from connection.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 269 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from connection.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 42 and 297 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name); ^~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from connection.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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] 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] free (connectionEntry); ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o sftp-panel.o sftp-panel.c In file included from sftp-panel.c:35: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ sftp-panel.c: In function 'sftp_set_status': sftp-panel.c:162:8: warning: unused variable 'text' [-Wunused-variable] char text[4096]; ^~~~ sftp-panel.c: In function 'sftp_copy_file_upload': sftp-panel.c:267:3: warning: implicit declaration of function 'lockSSH'; did you mean 'lockSFTP'? [-Wimplicit-function-declaration] lockSSH (__func__, TRUE); ^~~~~~~ lockSFTP sftp-panel.c: In function 'sftp_copy_file_download': sftp-panel.c:345:25: warning: unused variable 'rc' [-Wunused-variable] 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] 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] 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] struct timeval timeout; ^~~~~~~ sftp-panel.c:822:12: warning: unused variable 'isModified' [-Wunused-variable] gboolean isModified = FALSE; ^~~~~~~~~~ sftp-panel.c: In function 'sftp_panel_create_mirror_file': sftp-panel.c:925:8: warning: unused variable 'mirrorFile' [-Wunused-variable] char mirrorFile[2048]; ^~~~~~~~~~ sftp-panel.c:923:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result; ^~~~~~ sftp-panel.c: In function 'sftp_panel_open': sftp-panel.c:1067:12: warning: unused variable 'success' [-Wunused-variable] gboolean success; ^~~~~~~ sftp-panel.c:1066:42: warning: unused variable 'command' [-Wunused-variable] gchar *filename, *uri, filepath[2048], command[2048]; ^~~~~~~ sftp-panel.c:1066:21: warning: unused variable 'uri' [-Wunused-variable] gchar *filename, *uri, filepath[2048], command[2048]; ^~~ sftp-panel.c:1065:8: warning: unused variable 'folder_name' [-Wunused-variable] char folder_name[1024]; ^~~~~~~~~~~ sftp-panel.c:1064:19: warning: unused variable 'i' [-Wunused-variable] int create, rc, i; ^ sftp-panel.c:1064:15: warning: unused variable 'rc' [-Wunused-variable] int create, rc, i; ^~ sftp-panel.c:1064:7: warning: unused variable 'create' [-Wunused-variable] int create, rc, i; ^~~~~~ sftp-panel.c: In function 'sftp_panel_create_file': sftp-panel.c:1159:15: warning: unused variable 'rc' [-Wunused-variable] 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] if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) ^ sftp-panel.c:1202:8: warning: unused variable 'folder_name' [-Wunused-variable] char folder_name[1024]; ^~~~~~~~~~~ sftp-panel.c:1201:7: warning: unused variable 'create' [-Wunused-variable] 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] if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) ^ sftp-panel.c:1301:8: warning: unused variable 'folder_name' [-Wunused-variable] char folder_name[1024]; ^~~~~~~~~~~ sftp-panel.c:1300:7: warning: unused variable 'create' [-Wunused-variable] 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] localtime_r(&e->mtime, &dateTime); ^~~~~~~~~ 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/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/time.h:133:19: note: expected 'const time_t * restrict' {aka 'const long int * restrict'} but argument is of type 'long unsigned int *' 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] gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:55, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkcalendar.h:156:9: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *' void gtk_calendar_get_date (GtkCalendar *calendar, ^~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:1437:61: warning: pointer targets in passing argument 3 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:55, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkcalendar.h:156:9: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *' void gtk_calendar_get_date (GtkCalendar *calendar, ^~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:1437:69: warning: pointer targets in passing argument 4 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:55, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkcalendar.h:156:9: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *' void gtk_calendar_get_date (GtkCalendar *calendar, ^~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:1476:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] rc = sftp_utimes (p_ssh_current->ssh_node->sftp, file_abs_path, &newFileTime); ^~~~~~~~~~~~ In file included from ssh.h:6, from main.h:10, from sftp-panel.c:33: /usr/include/libssh/sftp.h:737:87: note: expected 'const struct timeval *' but argument is of type 'struct timeval (*)[2]' 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] run_dialog: ^~~~~~~~~~ sftp-panel.c:1367:8: warning: unused variable 'folder_name' [-Wunused-variable] char folder_name[1024]; ^~~~~~~~~~~ sftp-panel.c:1365:23: warning: unused variable 'i' [-Wunused-variable] int result, rc = 0, i; ^ sftp-panel.c: In function 'refresh_panel_history': sftp-panel.c:1618:10: warning: unused variable 's' [-Wunused-variable] gchar *s; ^ sftp-panel.c:1617:10: warning: unused variable 'n_items' [-Wunused-variable] int i, n_items; ^~~~~~~ sftp-panel.c:1616:20: warning: unused variable 'b' [-Wunused-variable] struct Bookmark *b; ^ sftp-panel.c: In function 'sftp_panel_change_directory': sftp-panel.c:1716:7: warning: unused variable 'rc' [-Wunused-variable] 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] if (e = dl_search_by_name (&p_ssh_current->dirlist, name)) ^ sftp-panel.c:1786:7: warning: unused variable 'retcode' [-Wunused-variable] int retcode; ^~~~~~~ sftp-panel.c:1785:12: warning: unused variable 'have_iter' [-Wunused-variable] 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] 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] 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] int size1, size2; ^~~~~ sftp-panel.c:2035:7: warning: unused variable 'size1' [-Wunused-variable] 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] if (e = dl_search_by_name (&p_ssh_current->dirlist, name)) ^ sftp-panel.c: In function 'sftp_popup_menu': sftp-panel.c:2153:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] action_group = gtk_action_group_new ("SFTPPopupActions"); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2154:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_actions (action_group, sftp_popup_menu_items, G_N_ELEMENTS (sftp_popup_menu_items), treeview); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here void gtk_action_group_add_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2156:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations] ui_manager = gtk_ui_manager_new (); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here GtkUIManager *gtk_ui_manager_new (void); ^~~~~~~~~~~~~~~~~~ sftp-panel.c:2157:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, action_group, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2158:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, action_group_ssh_adds, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2160:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, ui_sftp_popup_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2161:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, ui_sftp_popup_desc_adds, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2163:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] popup = gtk_ui_manager_get_widget (ui_manager, "/SFTPPopupMenu"); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2167:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] gtk_menu_popup (GTK_MENU(popup), NULL, NULL, NULL, NULL, ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here void gtk_menu_popup (GtkMenu *menu, ^~~~~~~~~~~~~~ sftp-panel.c: In function 'ssh_additionals_cb': sftp-panel.c:2249:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations] gchar *name = (gchar *) gtk_action_get_name (GTK_ACTION (action)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:103:14: note: declared here const gchar* gtk_action_get_name (GtkAction *action); ^~~~~~~~~~~~~~~~~~~ sftp-panel.c:2249:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] gchar *name = (gchar *) gtk_action_get_name (GTK_ACTION (action)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'create_sftp_panel': sftp-panel.c:2355:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON(sftp_panel.button_home), gtk_image_new_from_stock (MY_STOCK_HOME, GTK_ICON_SIZE_BUTTON)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2359:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON(sftp_panel.button_go_up), gtk_image_new_from_stock (MY_STOCK_FOLDER_UP, GTK_ICON_SIZE_BUTTON)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2363:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON(sftp_panel.button_file_new), gtk_image_new_from_stock (MY_STOCK_FILE_NEW, GTK_ICON_SIZE_BUTTON)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2367:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON(sftp_panel.button_folder_new), gtk_image_new_from_stock (MY_STOCK_FOLDER_NEW, GTK_ICON_SIZE_BUTTON)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2371:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON(sftp_panel.button_upload), gtk_image_new_from_stock (MY_STOCK_UPLOAD, GTK_ICON_SIZE_BUTTON)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2375:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] gtk_button_set_image (GTK_BUTTON(sftp_panel.button_download), gtk_image_new_from_stock (MY_STOCK_DOWNLOAD, GTK_ICON_SIZE_BUTTON)); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2548:6: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] action_group_ssh_adds = gtk_action_group_new ("SSHAdds"); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2559:11: warning: 'gtk_action_new' is deprecated [-Wdeprecated-declarations] action = gtk_action_new (action_name, SSHMenuItems[i].label, NULL, NULL); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:98:14: note: declared here GtkAction *gtk_action_new (const gchar *name, ^~~~~~~~~~~~~~ sftp-panel.c:2561:11: warning: 'gtk_action_group_add_action' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_action (action_group_ssh_adds, action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:200:17: note: declared here void gtk_action_group_add_action (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2569:15: warning: 'gtk_action_new' is deprecated [-Wdeprecated-declarations] action = gtk_action_new (SSHMenuItems[i].parent_menu, SSHMenuItems[i].parent_menu, NULL, NULL); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:98:14: note: declared here GtkAction *gtk_action_new (const gchar *name, ^~~~~~~~~~~~~~ sftp-panel.c:2570:15: warning: 'gtk_action_group_add_action' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_action (action_group_ssh_adds, action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:200:17: note: declared here void gtk_action_group_add_action (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:2505:17: warning: unused variable 'icon_theme' [-Wunused-variable] GtkIconTheme *icon_theme; ^~~~~~~~~~ sftp-panel.c:2422:15: warning: unused variable 'iter' [-Wunused-variable] GtkTreeIter iter; ^~~~ sftp-panel.c: In function 'load_additional_ssh_menu': sftp-panel.c:2782:15: warning: unused variable 'i' [-Wunused-variable] int action, i; ^ sftp-panel.c: In function 'load_types': sftp-panel.c:2875:36: warning: unused variable 'pc' [-Wunused-variable] char filename[256], tmp_s[128], *pc; ^~ sftp-panel.c:2875:23: warning: unused variable 'tmp_s' [-Wunused-variable] char filename[256], tmp_s[128], *pc; ^~~~~ sftp-panel.c: In function 'show_output': sftp-panel.c:2962:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, ^~~~~~~~~~~~ sftp-panel.c:3005:3: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (dialog), gdk_screen_get_width (screen)/2, gdk_screen_get_height (screen)/2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here gint gdk_screen_get_width (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3005:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (dialog), gdk_screen_get_width (screen)/2, gdk_screen_get_height (screen)/2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3007:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (font_desc = pango_font_description_from_string (prefs.font_fixed)) ^~~~~~~~~ sftp-panel.c:3009:7: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations] gtk_widget_modify_font (text_view, font_desc); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:277, from sftp-panel.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:769:13: note: declared here void gtk_widget_modify_font (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3013:8: warning: unused variable 'result' [-Wunused-variable] gint result = gtk_dialog_run (GTK_DIALOG (dialog)); ^~~~~~ sftp-panel.c:3002:17: warning: unused variable 'w_height' [-Wunused-variable] gint w_width, w_height; ^~~~~~~~ sftp-panel.c:3002:8: warning: unused variable 'w_width' [-Wunused-variable] 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 return; ^~~~~~ sftp-panel.c:3032:1: note: declared here 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] 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 *' 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] 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 *' 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] 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 *' 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] 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 *' 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] rc = pthread_create (&thread_transfer, NULL, async_sftp_transfer, (void *)sftp_panel.queue); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/deprecated/gthread.h:128, from /usr/include/glib-2.0/glib.h:111, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/pthread.h:236:15: note: expected 'void * (*)(void *)' but argument is of type 'int (*)(void *)' void *(*__start_routine) (void *), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3085:15: warning: unused variable 'info' [-Wunused-variable] struct stat info; ^~~~ sftp-panel.c:3084:27: warning: unused variable 'e' [-Wunused-variable] struct Directory_Entry *e; ^ sftp-panel.c: In function 'upload_directory': sftp-panel.c:518:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] sprintf (tmp_s, "%s/%s", destdir_new, entry->d_name); ^~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 2304 bytes into a destination of size 2048 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:534:37: warning: '%s' directive writing up to 2047 bytes into a region of size 1024 [-Wformat-overflow=] sprintf (ti.destination, "%s/%s", destdir_new, entry->d_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 2304 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'download_directory': sftp-panel.c:645:40: warning: '%s' directive writing up to 2047 bytes into a region of size 1024 [-Wformat-overflow=] sprintf (p_ti->destination, "%s/%s", destdir_new, attributes->name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 2049) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (mirrorDir, "%s/%s/%s", prefs.tempDir, get_current_connection_tab ()->connection.host, pSSH->directory); ^~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2304 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ti.source, "%s/%s", pSSH->directory, filename); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ti.destination, "%s/%s", mirrorDir, filename); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (command, "\"%s\" \"%s\"", prefs.text_editor, pMirror.localFile); ^~ ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 2180 bytes into a destination of size 2048 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (path, "%s/%s", p_ssh_current->directory, filename); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'sftp_panel_copy_path_clipboard.part.4': sftp-panel.c:1580:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (currentPath, "%s/%s", p_ssh_current->directory, filename); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (filename, "%s/types.xml", globals.data_dir); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (p_type->imagefile, "%s/types/%s", globals.img_dir, xml_node_get_value (node)); ^~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ui, "%s/sftp.glade", globals.data_dir); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (filename, "%s/file_16.png", globals.img_dir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (filename, "%s/directory_16.png", globals.img_dir); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 273 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (filename, "%s/additionals.xml", globals.data_dir); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (filename, "%s/additionals.xml", globals.app_dir); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c: In function 'refresh_sftp_list_store.part.5': sftp-panel.c:2629:31: warning: '*' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf (tmp_s, "*%s*", p_ssh_current->match_string); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ui, "%s/time.glade", globals.data_dir); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (position, "%s/%s", p_ssh_current->directory, name); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (pTi->source, "%s/%s", p_ssh->directory, gfile); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-panel.c:3118:44: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (pTi->destination, "%s/%s", local_directory, pTi->filename); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (pTi->destination, "%s/%s", p_ssh->directory, (char *) basename (gfile)); ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from sftp-panel.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o gui.o gui.c In file included from gui.c:41: utils.h:47:1: warning: parameter names (without types) in function declaration char *readFile (filename); ^~~~ gui.c: In function 'child_exit': gui.c:540:9: warning: implicit declaration of function 'wait'; did you mean 'write'? [-Wimplicit-function-declaration] pid = wait (&status); ^~~~ write gui.c: In function 'tabResetFlag': gui.c:606:16: warning: operation on 'pConn->flags' may be undefined [-Wsequence-point] pConn->flags = pConn->flags &= ~bitmask; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'query_value': gui.c:666:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] l_align = gtk_alignment_new (0, 0, 0, 0); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here GtkWidget* gtk_alignment_new (gfloat xalign, ^~~~~~~~~~~~~~~~~ gui.c:703:7: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (dialog), gdk_screen_get_width (screen)/1.8, w_height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here gint gdk_screen_get_width (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~ gui.c: In function 'expand_args': gui.c:819:23: warning: implicit declaration of function 'conn_update_last_user' [-Wimplicit-function-declaration] 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] run_dialog: ^~~~~~~~~~ gui.c:888:23: warning: unused variable 'i' [-Wunused-variable] int result, rc = 0, i; ^ gui.c: In function 'connection_tab_close': gui.c:1049:14: warning: unused variable 'child' [-Wunused-variable] GtkWidget *child; ^~~~~ gui.c: In function 'close_button_clicked_cb': gui.c:1112:22: warning: unused variable 'can_close' [-Wunused-variable] int page, retcode, can_close; ^~~~~~~~~ gui.c:1112:13: warning: unused variable 'retcode' [-Wunused-variable] int page, retcode, can_close; ^~~~~~~ gui.c:1112:7: warning: unused variable 'page' [-Wunused-variable] int page, retcode, can_close; ^~~~ gui.c: In function 'query_tooltip_cb': gui.c:1148:5: warning: 'vte_terminal_match_check' is deprecated [-Wdeprecated-declarations] g_match.matched_string = vte_terminal_match_check (VTE_TERMINAL (widget), col, row, &g_match.tag); ^~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:57:7: note: declared here char *vte_terminal_match_check(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1152:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p_conn = get_connection_by_host (g_match.matched_string)) ^~~~~~ gui.c: In function 'connection_tab_new': gui.c:1205:3: warning: 'vte_terminal_match_add_gregex' is deprecated [-Wdeprecated-declarations] tag = vte_terminal_match_add_gregex (VTE_TERMINAL(connection_tab->vte), ip_regexpr, 0); ^~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:39:5: note: declared here int vte_terminal_match_add_gregex(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1206:3: warning: 'vte_terminal_match_set_cursor_type' is deprecated [-Wdeprecated-declarations] vte_terminal_match_set_cursor_type (VTE_TERMINAL(connection_tab->vte), tag, GDK_HAND2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:51:6: note: declared here void vte_terminal_match_set_cursor_type(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'connection_tab_add': gui.c:1274:5: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] image_type = gtk_image_new_from_stock (MY_STOCK_TERMINAL, GTK_ICON_SIZE_MENU); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from gui.c:23: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1232:7: warning: unused variable 'font_size' [-Wunused-variable] int font_size; ^~~~~~~~~ gui.c:1230:11: warning: unused variable 'h' [-Wunused-variable] gint w, h; ^ gui.c:1230:8: warning: unused variable 'w' [-Wunused-variable] gint w, h; ^ gui.c: In function 'connection_tab_getcwd': gui.c:1473:11: warning: value computed is not used [-Wunused-value] *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] connection_copy (&p_connection_tab->connection, p_conn); ^~~~~~~~~~~~~~~ connection_init gui.c:1510:15: warning: implicit declaration of function 'choose_manage_connection'; did you mean 'add_update_connection'? [-Wimplicit-function-declaration] retcode = choose_manage_connection (&p_connection_tab->connection); ^~~~~~~~~~~~~~~~~~~~~~~~ add_update_connection gui.c:1550:15: warning: implicit declaration of function 'refresh_panel_history'; did you mean 'refresh_transfer_list_store'? [-Wimplicit-function-declaration] refresh_panel_history (); ^~~~~~~~~~~~~~~~~~~~~ refresh_transfer_list_store gui.c:1492:20: warning: unused variable 'p_prot' [-Wunused-variable] struct Protocol *p_prot; ^~~~~~ gui.c: In function 'connection_duplicate': gui.c:1613:8: warning: unused variable 'command' [-Wunused-variable] char command[1024]; ^~~~~~~ gui.c: In function 'connection_new_terminal_dir': gui.c:1663:7: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ gui.c:1659:20: warning: unused variable 'p_prot' [-Wunused-variable] struct Protocol *p_prot; ^~~~~~ gui.c: In function 'application_quit': gui.c:1727:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ gui.c: In function 'open_recent_session_from_info': gui.c:1798:8: warning: unused variable 's_tmp' [-Wunused-variable] char s_tmp[256]; ^~~~~ gui.c:1796:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ gui.c:1795:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ gui.c: In function 'session_recent_cb': gui.c:1815:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ gui.c:1814:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ gui.c:1813:8: warning: unused variable 's_tmp' [-Wunused-variable] char s_tmp[256]; ^~~~~ gui.c:1812:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ gui.c: In function 'update_recent_sessions_menu': gui.c:1914:5: warning: 'gtk_ui_manager_remove_ui' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_remove_ui (ui_manager, recents_menu_ui_id); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:179:16: note: declared here void gtk_ui_manager_remove_ui (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1916:3: warning: 'gtk_action_group_list_actions' is deprecated [-Wdeprecated-declarations] actions = gtk_action_group_list_actions (recents_action_group); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:198:17: note: declared here GList *gtk_action_group_list_actions (GtkActionGroup *action_group); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1920:7: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] g_signal_handlers_disconnect_by_func (GTK_ACTION (l->data), G_CALLBACK (session_recent_cb), (gpointer) recent_entries[i].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c:1921:7: warning: 'gtk_action_group_remove_action' is deprecated [-Wdeprecated-declarations] gtk_action_group_remove_action (recents_action_group, GTK_ACTION (l->data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:207:17: note: declared here void gtk_action_group_remove_action (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1921:7: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] gtk_action_group_remove_action (recents_action_group, GTK_ACTION (l->data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c:1928:3: warning: 'gtk_ui_manager_new_merge_id' is deprecated [-Wdeprecated-declarations] recents_menu_ui_id = gtk_ui_manager_new_merge_id (ui_manager); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:186:16: note: declared here guint gtk_ui_manager_new_merge_id (GtkUIManager *manager); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1973:7: warning: 'gtk_action_new' is deprecated [-Wdeprecated-declarations] action = gtk_action_new (action_name, label, NULL, NULL); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:98:14: note: declared here GtkAction *gtk_action_new (const gchar *name, ^~~~~~~~~~~~~~ gui.c:1978:7: warning: 'gtk_action_group_add_action' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_action (recents_action_group, action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:200:17: note: declared here void gtk_action_group_add_action (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1981:7: warning: 'gtk_ui_manager_add_ui' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui (ui_manager, ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:171:16: note: declared here void gtk_ui_manager_add_ui (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~ gui.c:1961:12: warning: unused variable 's_tmp' [-Wunused-variable] char s_tmp[256]; ^~~~~ gui.c:1960:14: warning: unused variable 'location' [-Wunused-variable] GFile *location; ^~~~~~~~ gui.c:1957:14: warning: unused variable 'tip' [-Wunused-variable] gchar *tip; ^~~ gui.c:1956:14: warning: unused variable 'ruri' [-Wunused-variable] gchar *ruri; ^~~~ gui.c:1955:14: warning: unused variable 'uri' [-Wunused-variable] gchar *uri; ^~~ gui.c: In function 'add_recent_connection': gui.c:2046:7: warning: unused variable 'found' [-Wunused-variable] int found = 0; ^~~~~ gui.c:2042:22: warning: unused variable 'p_conn_recent' [-Wunused-variable] struct Connection *p_conn_recent; ^~~~~~~~~~~~~ gui.c: In function 'recent_chooser_item_activated': gui.c:2174:8: warning: unused variable 's_tmp' [-Wunused-variable] char s_tmp[256]; ^~~~~ gui.c:2173:8: warning: unused variable 'display_name' [-Wunused-variable] char display_name[1024]; ^~~~~~~~~~~~ gui.c:2172:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ gui.c:2170:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ gui.c: In function 'setup_toolbar_connect_button': gui.c:2230:3: warning: 'gtk_action_group_get_action' is deprecated [-Wdeprecated-declarations] action = gtk_action_group_get_action (recents_action_group, "SessionRecent"); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:195:17: note: declared here GtkAction *gtk_action_group_get_action (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:2231:3: warning: 'gtk_activatable_set_related_action' is deprecated [-Wdeprecated-declarations] gtk_activatable_set_related_action (GTK_ACTIVATABLE (connect_button), action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:80:12: note: declared here void gtk_activatable_set_related_action (GtkActivatable *activatable, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:2231:3: warning: 'gtk_activatable_get_type' is deprecated [-Wdeprecated-declarations] gtk_activatable_set_related_action (GTK_ACTIVATABLE (connect_button), action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:73:12: note: declared here GType gtk_activatable_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'load_recent_connections': gui.c:2244:22: warning: unused variable 'c' [-Wunused-variable] struct Connection *c; ^ gui.c:2243:26: warning: unused variable 'cl' [-Wunused-variable] struct Connection_List cl; ^~ gui.c:2242:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ gui.c:2241:7: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ gui.c: In function 'save_recent_connections': gui.c:2302:10: warning: unused variable 'item' [-Wunused-variable] GList *item; ^~~~ gui.c:2301:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ gui.c:2300:12: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int len, rc = 0; ^~ gui.c:2300:7: warning: unused variable 'len' [-Wunused-variable] int len, rc = 0; ^~~ gui.c:2299:8: warning: unused variable 'name_tmp' [-Wunused-variable] char name_tmp[256]; ^~~~~~~~ gui.c:2298:9: warning: unused variable 'p_enc_b64' [-Wunused-variable] char *p_enc_b64; ^~~~~~~~~ gui.c:2297:9: warning: unused variable 'p_enc' [-Wunused-variable] char *p_enc; ^~~~~ gui.c:2296:26: warning: unused variable 'cl' [-Wunused-variable] struct Connection_List cl; ^~ gui.c:2295:22: warning: unused variable 'p_conn' [-Wunused-variable] struct Connection *p_conn; ^~~~~~ gui.c:2294:21: warning: unused variable 'conn' [-Wunused-variable] struct Connection conn; ^~~~ gui.c: In function 'edit_copy': gui.c:2389:13: warning: 'vte_terminal_copy_clipboard' is deprecated [-Wdeprecated-declarations] vte_terminal_copy_clipboard (VTE_TERMINAL (p_current_connection_tab->vte)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:100:6: note: declared here void vte_terminal_copy_clipboard(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'paste_host': gui.c:2454:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations] gchar *name = (gchar *) gtk_action_get_name (GTK_ACTION (action)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:103:14: note: declared here const gchar* gtk_action_get_name (GtkAction *action); ^~~~~~~~~~~~~~~~~~~ gui.c:2454:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] gchar *name = (gchar *) gtk_action_get_name (GTK_ACTION (action)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c: In function 'edit_find': gui.c:2510:1: warning: label 'run_dialog' defined but not used [-Wunused-label] run_dialog: ^~~~~~~~~~ gui.c:2468:23: warning: unused variable 'i' [-Wunused-variable] 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] 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] \/* gui.c: In function 'view_toolbar': gui.c:2822:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Toolbar")); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'view_statusbar': gui.c:2841:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Statusbar")); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'view_sidebar': gui.c:2890:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Sidebar")); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'view_fullscreen': gui.c:2900:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Fullscreen")); ^~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:2898:14: warning: variable 'toggle' set but not used [-Wunused-but-set-variable] 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] lterm_iteration (); ^~~~~~~~~~~~~~~ gtk_main_iteration gui.c: In function 'terminal_toggled_cb': gui.c:3178:16: warning: unused variable 'path' [-Wunused-variable] GtkTreePath *path = gtk_tree_path_new_from_string (path_str); ^~~~ gui.c: In function 'terminal_cluster': gui.c:3319:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] gtk_widget_set_size_request (GTK_WIDGET (dialog), w_width, gdk_screen_get_height (screen)/2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here gint gdk_screen_get_height (GdkScreen *screen); ^~~~~~~~~~~~~~~~~~~~~ gui.c:3231:17: warning: unused variable 'tree_model' [-Wunused-variable] GtkTreeModel *tree_model; ^~~~~~~~~~ gui.c:3228:21: warning: unused variable 'select' [-Wunused-variable] GtkTreeSelection *select; ^~~~~~ gui.c:3194:17: warning: unused variable 'tmp' [-Wunused-variable] char ui[256], tmp[512]; ^~~ gui.c:3192:26: warning: unused variable 'button_cancel' [-Wunused-variable] GtkWidget *button_ok, *button_cancel; ^~~~~~~~~~~~~ gui.c:3192:14: warning: unused variable 'button_ok' [-Wunused-variable] 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] 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] l_upl_dialog: ^~~~~~~~~~~~ gui.c:3362:9: warning: unused variable 's_tmp' [-Wunused-variable] 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] l_dwl_dialog: ^~~~~~~~~~~~ gui.c:3487:23: warning: unused variable 'remote_directory' [-Wunused-variable] char pattern[1024], remote_directory[1024] = ""; ^~~~~~~~~~~~~~~~ gui.c:3487:8: warning: unused variable 'pattern' [-Wunused-variable] char pattern[1024], remote_directory[1024] = ""; ^~~~~~~ gui.c:3486:32: warning: unused variable 's_tmp' [-Wunused-variable] char *local_directory=NULL, *s_tmp; ^~~~~ gui.c: In function 'go_to_url': gui.c:3578:3: warning: 'gtk_show_uri' is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations] success = gtk_show_uri (NULL, url, GDK_CURRENT_TIME, &error); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:200, from gui.c:23: /usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here gboolean gtk_show_uri (GdkScreen *screen, ^~~~~~~~~~~~ gui.c:3568:7: warning: variable 'exit_code' set but not used [-Wunused-but-set-variable] 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] get_system (sys); ^~~~~~~~~~ system gui.c:3628:9: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^~ gui.c:3627:27: warning: unused variable 'vbox_versions' [-Wunused-variable] GtkWidget *hbox_title, *vbox_versions; ^~~~~~~~~~~~~ gui.c:3627:14: warning: unused variable 'hbox_title' [-Wunused-variable] GtkWidget *hbox_title, *vbox_versions; ^~~~~~~~~~ gui.c:3625:18: warning: unused variable 'info' [-Wunused-variable] struct utsname info; ^~~~ gui.c:3623:8: warning: unused variable 's' [-Wunused-variable] char s[1024], text[1024]; ^ gui.c: In function 'activate_radio_action': gui.c:3819:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations] const gchar *name = gtk_action_get_name (GTK_ACTION (current)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:103:14: note: declared here const gchar* gtk_action_get_name (GtkAction *action); ^~~~~~~~~~~~~~~~~~~ gui.c:3819:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] const gchar *name = gtk_action_get_name (GTK_ACTION (current)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c:3820:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] const gchar *typename = G_OBJECT_TYPE_NAME (GTK_ACTION (current)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c:3821:3: warning: 'gtk_toggle_action_get_active' is deprecated [-Wdeprecated-declarations] gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); ^~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:36, from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here gboolean gtk_toggle_action_get_active (GtkToggleAction *action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3821:3: warning: 'gtk_toggle_action_get_type' is deprecated [-Wdeprecated-declarations] gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); ^~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:36, from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:73:18: note: declared here GType gtk_toggle_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3822:3: warning: 'gtk_radio_action_get_current_value' is deprecated [-Wdeprecated-declarations] gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:89:17: note: declared here gint gtk_radio_action_get_current_value (GtkRadioAction *action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3822:3: warning: 'gtk_radio_action_get_type' is deprecated [-Wdeprecated-declarations] gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:73:17: note: declared here GType gtk_radio_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3821:12: warning: unused variable 'active' [-Wunused-variable] gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); ^~~~~~ gui.c:3820:16: warning: unused variable 'typename' [-Wunused-variable] const gchar *typename = G_OBJECT_TYPE_NAME (GTK_ACTION (current)); ^~~~~~~~ gui.c:3819:16: warning: unused variable 'name' [-Wunused-variable] const gchar *name = gtk_action_get_name (GTK_ACTION (current)); ^~~~ gui.c: In function 'profile_radio_action_cb': gui.c:3837:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations] const gchar *name = gtk_action_get_name (GTK_ACTION (current)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:103:14: note: declared here const gchar* gtk_action_get_name (GtkAction *action); ^~~~~~~~~~~~~~~~~~~ gui.c:3837:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] const gchar *name = gtk_action_get_name (GTK_ACTION (current)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c:3838:3: warning: 'gtk_toggle_action_get_active' is deprecated [-Wdeprecated-declarations] gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); ^~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:36, from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here gboolean gtk_toggle_action_get_active (GtkToggleAction *action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3838:3: warning: 'gtk_toggle_action_get_type' is deprecated [-Wdeprecated-declarations] gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); ^~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:36, from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:73:18: note: declared here GType gtk_toggle_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3839:3: warning: 'gtk_radio_action_get_current_value' is deprecated [-Wdeprecated-declarations] gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:89:17: note: declared here gint gtk_radio_action_get_current_value (GtkRadioAction *action); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3839:3: warning: 'gtk_radio_action_get_type' is deprecated [-Wdeprecated-declarations] gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:73:17: note: declared here GType gtk_radio_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3839:8: warning: unused variable 'value' [-Wunused-variable] gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); ^~~~~ gui.c:3838:12: warning: unused variable 'active' [-Wunused-variable] gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); ^~~~~~ gui.c: In function 'add_stock_icon': gui.c:3850:3: warning: 'gtk_icon_source_new' is deprecated [-Wdeprecated-declarations] GtkIconSource *source = gtk_icon_source_new (); ^~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:170:16: note: declared here GtkIconSource* gtk_icon_source_new (void); ^~~~~~~~~~~~~~~~~~~ gui.c:3851:3: warning: 'gtk_icon_set_new' is deprecated [-Wdeprecated-declarations] GtkIconSet *set = gtk_icon_set_new (); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:138:13: note: declared here GtkIconSet* gtk_icon_set_new (void); ^~~~~~~~~~~~~~~~ gui.c:3853:3: warning: 'gtk_icon_source_set_filename' is deprecated [-Wdeprecated-declarations] gtk_icon_source_set_filename (source, location); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:177:16: note: declared here void gtk_icon_source_set_filename (GtkIconSource *source, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3854:3: warning: 'gtk_icon_set_add_source' is deprecated [-Wdeprecated-declarations] gtk_icon_set_add_source (set, source); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:159:16: note: declared here void gtk_icon_set_add_source (GtkIconSet *icon_set, ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:3855:3: warning: 'gtk_icon_factory_add' is deprecated [-Wdeprecated-declarations] gtk_icon_factory_add (factory, stock_id, set); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:82:17: note: declared here void gtk_icon_factory_add (GtkIconFactory *factory, ^~~~~~~~~~~~~~~~~~~~ gui.c: In function 'create_stock_objects': gui.c:3863:3: warning: 'gtk_icon_factory_new' is deprecated [-Wdeprecated-declarations] factory = gtk_icon_factory_new (); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:80:17: note: declared here GtkIconFactory* gtk_icon_factory_new (void); ^~~~~~~~~~~~~~~~~~~~ gui.c:3886:3: warning: 'gtk_icon_factory_add_default' is deprecated [-Wdeprecated-declarations] gtk_icon_factory_add_default (factory); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:92:13: note: declared here void gtk_icon_factory_add_default (GtkIconFactory *factory); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'refresh_profile_menu': gui.c:3947:5: warning: 'gtk_ui_manager_remove_ui' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_remove_ui (ui_manager, profile_menu_ui_id); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:179:16: note: declared here void gtk_ui_manager_remove_ui (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3949:3: warning: 'gtk_action_group_list_actions' is deprecated [-Wdeprecated-declarations] actions = gtk_action_group_list_actions (profile_action_group); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:198:17: note: declared here GList *gtk_action_group_list_actions (GtkActionGroup *action_group); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3954:7: warning: 'gtk_action_group_remove_action' is deprecated [-Wdeprecated-declarations] gtk_action_group_remove_action (profile_action_group, GTK_ACTION (l->data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:207:17: note: declared here void gtk_action_group_remove_action (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3954:7: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations] gtk_action_group_remove_action (profile_action_group, GTK_ACTION (l->data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25, from /usr/include/gtk-3.0/gtk/gtk.h:252, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:96:14: note: declared here GType gtk_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~ gui.c:3990:3: warning: 'gtk_action_group_add_radio_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_radio_actions (profile_action_group, radio_enc_entries, G_N_ELEMENTS (radio_enc_entries), 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:220:17: note: declared here void gtk_action_group_add_radio_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3993:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] profile_menu_ui_id = gtk_ui_manager_add_ui_from_string (ui_manager, enc_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:3944:14: warning: unused variable 'action' [-Wunused-variable] GtkAction *action; ^~~~~~ gui.c:3943:24: warning: unused variable 'items' [-Wunused-variable] GList *actions, *l, *items; ^~~~~ gui.c: In function 'get_main_menu': gui.c:4035:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] action_group = gtk_action_group_new ("MenuActions"); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ gui.c:4036:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_actions (action_group, main_menu_items, G_N_ELEMENTS (main_menu_items), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here void gtk_action_group_add_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4037:3: warning: 'gtk_action_group_add_toggle_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_toggle_actions (action_group, toggle_entries, G_N_ELEMENTS (toggle_entries), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:215:17: note: declared here void gtk_action_group_add_toggle_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4038:3: warning: 'gtk_action_group_add_radio_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_radio_actions (action_group, radio_enc_entries, G_N_ELEMENTS (radio_enc_entries), 1, G_CALLBACK (activate_radio_action), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:220:17: note: declared here void gtk_action_group_add_radio_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4040:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations] ui_manager = gtk_ui_manager_new (); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here GtkUIManager *gtk_ui_manager_new (void); ^~~~~~~~~~~~~~~~~~ gui.c:4041:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, action_group, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4043:3: warning: 'gtk_ui_manager_get_accel_group' is deprecated [-Wdeprecated-declarations] accel_group = gtk_ui_manager_get_accel_group (ui_manager); ^~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:147:16: note: declared here GtkAccelGroup *gtk_ui_manager_get_accel_group (GtkUIManager *manager); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4046:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, ui_main_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4047:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, enc_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4050:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] menubar = gtk_ui_manager_get_widget (ui_manager, "/MainMenu"); ^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4068:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] recents_action_group = gtk_action_group_new ("SessionRecent"); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ gui.c:4069:3: warning: 'gtk_action_group_set_translation_domain' is deprecated [-Wdeprecated-declarations] gtk_action_group_set_translation_domain (recents_action_group, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:252:17: note: declared here void gtk_action_group_set_translation_domain (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4070:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, recents_action_group, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4074:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] profile_action_group = gtk_action_group_new ("ProfileActions"); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ gui.c:4075:3: warning: 'gtk_action_group_set_translation_domain' is deprecated [-Wdeprecated-declarations] gtk_action_group_set_translation_domain (profile_action_group, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:252:17: note: declared here void gtk_action_group_set_translation_domain (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4076:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, profile_action_group, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4003:8: warning: unused variable 'recent_connections_desc' [-Wunused-variable] char recent_connections_desc[10000]; ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:4000:21: warning: unused variable 'recent_manager' [-Wunused-variable] 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] open_connection (connection_string); ^~~~~~~~~~~~~~~ get_connection gui.c:4137:3: warning: implicit declaration of function 'search_entry_focus_out_event_cb' [-Wimplicit-function-declaration] search_entry_focus_out_event_cb (search_entry, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'search_entry_focus_in_event_cb': gui.c:4175:3: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations] gtk_widget_override_color (search_entry, GTK_STATE_NORMAL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gui.c:23: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here void gtk_widget_override_color (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'search_entry_focus_out_event_cb': gui.c:4195:3: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations] gtk_widget_override_color (search_entry, GTK_STATE_NORMAL, &GRAY_COLOR); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gui.c:23: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here void gtk_widget_override_color (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'refresh_search_completion': gui.c:4245:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p_conn = cl_get_by_index (/*cl_get_current ()*/ &conn_list, i)) ^~~~~~ gui.c: In function 'add_toolbar': gui.c:4268:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] main_toolbar = gtk_ui_manager_get_widget (ui_manager, N_("/MainToolbar")); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4277:3: warning: 'gtk_entry_set_icon_from_stock' is deprecated: Use 'gtk_entry_set_icon_from_icon_name' instead [-Wdeprecated-declarations] gtk_entry_set_icon_from_stock (GTK_ENTRY(search_entry), GTK_ENTRY_ICON_SECONDARY, "edit-find"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from gui.c:23: /usr/include/gtk-3.0/gtk/gtkentry.h:320:16: note: declared here void gtk_entry_set_icon_from_stock (GtkEntry *entry, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4299:7: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] GtkWidget *toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Toolbar")); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'create_statusbar': gui.c:4355:7: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] GtkWidget *toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Statusbar")); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'statusbar_push': gui.c:4399:8: warning: unused variable 'result' [-Wunused-variable] gint result; ^~~~~~ gui.c: In function 'statusbar_msg': gui.c:4430:8: warning: unused variable 'result' [-Wunused-variable] gint result; ^~~~~~ gui.c: In function 'update_statusbar': gui.c:4476:11: warning: 'vte_terminal_get_encoding' is deprecated [-Wdeprecated-declarations] strcpy (encoding, vte_terminal_get_encoding (VTE_TERMINAL (p_current_connection_tab->vte))); ^~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:126:13: note: declared here const char *vte_terminal_get_encoding(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'hyperlink_add_host': gui.c:4603:21: warning: variable 'p_node' set but not used [-Wunused-but-set-variable] 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] n_conn = count_current_connections (); ^~~~~~~~~~~~~~~~~~~~~~~~~ load_recent_connections gui.c:4698:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations] action_group = gtk_action_group_new ("TermPopupActions"); ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here GtkActionGroup *gtk_action_group_new (const gchar *name); ^~~~~~~~~~~~~~~~~~~~ gui.c:4699:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_actions (action_group, popup_menu_items, G_N_ELEMENTS (popup_menu_items), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here void gtk_action_group_add_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4700:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations] gtk_action_group_add_actions (action_group, conn_entries, G_N_ELEMENTS (conn_entries), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:254, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here void gtk_action_group_add_actions (GtkActionGroup *action_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4702:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations] ui_manager = gtk_ui_manager_new (); ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here GtkUIManager *gtk_ui_manager_new (void); ^~~~~~~~~~~~~~~~~~ gui.c:4703:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_insert_action_group (ui_manager, action_group, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here void gtk_ui_manager_insert_action_group (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4708:5: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, ip_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4710:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, ui_popup_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4711:3: warning: 'gtk_ui_manager_add_ui_from_string' is deprecated [-Wdeprecated-declarations] gtk_ui_manager_add_ui_from_string (ui_manager, conn_desc, -1, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4714:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] popup = gtk_ui_manager_get_widget (ui_manager, "/TermPopupMenu"); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4729:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] gtk_menu_popup (GTK_MENU (popup), NULL, NULL, NULL, NULL, ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33, from gui.c:23: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here void gtk_menu_popup (GtkMenu *menu, ^~~~~~~~~~~~~~ gui.c: In function 'child_exited_cb': gui.c:4792:7: warning: unused variable 'code' [-Wunused-variable] int code; ^~~~ gui.c: In function 'button_press_event_cb': gui.c:4912:5: warning: 'vte_terminal_match_check' is deprecated [-Wdeprecated-declarations] g_match.matched_string = vte_terminal_match_check (vte, col, row, &g_match.tag); ^~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:57:7: note: declared here char *vte_terminal_match_check(VteTerminal *terminal, ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c:4938:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p_conn = get_connection_by_host (g_match.matched_string)) ^~~~~~ gui.c:4897:17: warning: unused variable 'tag' [-Wunused-variable] int row, col, tag; ^~~ gui.c: In function 'selection_changed_cb': gui.c:5005:5: warning: 'vte_terminal_copy_clipboard' is deprecated [-Wdeprecated-declarations] vte_terminal_copy_clipboard (vteterminal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:100:6: note: declared here void vte_terminal_copy_clipboard(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'contents_changed_cb': gui.c:5107:5: warning: implicit declaration of function 'lower' [-Wimplicit-function-declaration] lower (line); ^~~~~ gui.c: In function 'char_size_changed_cb': gui.c:5252:13: warning: unused variable 'ypad' [-Wunused-variable] int xpad, ypad; ^~~~ gui.c:5252:7: warning: unused variable 'xpad' [-Wunused-variable] int xpad, ypad; ^~~~ gui.c:5251:15: warning: unused variable 'geometry' [-Wunused-variable] GdkGeometry geometry; ^~~~~~~~ gui.c:5250:14: warning: variable 'window' set but not used [-Wunused-but-set-variable] GtkWindow *window; ^~~~~~ gui.c: In function 'select_current_profile_menu_item': gui.c:5407:7: warning: 'gtk_ui_manager_get_action' is deprecated [-Wdeprecated-declarations] GtkAction *toggleAction = gtk_ui_manager_get_action (ui_manager, tmp_s); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:155:16: note: declared here GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:5410:9: warning: 'gtk_radio_action_set_current_value' is deprecated [-Wdeprecated-declarations] gtk_radio_action_set_current_value (GTK_RADIO_ACTION(toggleAction), p_ct->profile_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:91:17: note: declared here void gtk_radio_action_set_current_value (GtkRadioAction *action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:5410:9: warning: 'gtk_radio_action_get_type' is deprecated [-Wdeprecated-declarations] gtk_radio_action_set_current_value (GTK_RADIO_ACTION(toggleAction), p_ct->profile_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:272, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:73:17: note: declared here GType gtk_radio_action_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'apply_preferences': gui.c:5530:9: warning: 'vte_terminal_get_encoding' is deprecated [-Wdeprecated-declarations] strcpy (prefs.character_encoding, vte_terminal_get_encoding (VTE_TERMINAL (vte))); ^~~~~~ In file included from /usr/include/vte-2.91/vte/vte.h:35, from gui.c:26: /usr/include/vte-2.91/vte/vtedeprecated.h:126:13: note: declared here const char *vte_terminal_get_encoding(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:5551:3: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations] gtk_widget_modify_font (g_quick_launch_window.tree_view, font_desc); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:277, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:769:13: note: declared here void gtk_widget_modify_font (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~ gui.c:5503:12: warning: unused variable 'terminal_back_color' [-Wunused-variable] GdkColor terminal_back_color; ^~~~~~~~~~~~~~~~~~~ gui.c:5502:12: warning: unused variable 'terminal_fore_color' [-Wunused-variable] GdkColor terminal_fore_color; ^~~~~~~~~~~~~~~~~~~ gui.c:5501:8: warning: unused variable 'word_chars' [-Wunused-variable] char word_chars[1024]; ^~~~~~~~~~ gui.c: In function 'apply_profile_terminal': gui.c:5561:12: warning: unused variable 'object' [-Wunused-variable] GObject *object; ^~~~~~ gui.c: In function 'start_gtk': gui.c:5869:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations] GtkWidget *toggle = gtk_ui_manager_get_widget (ui_manager, N_("/MainMenu/ViewMenu/Sidebar")); ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:284, from gui.c:23: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, ^~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:5736:37: warning: unused variable 'ifr_function' [-Wunused-variable] struct Iteration_Function_Request ifr_function; ^~~~~~~~~~~~ gui.c:5735:7: warning: unused variable 'font_size' [-Wunused-variable] int font_size; ^~~~~~~~~ gui.c:5734:25: warning: unused variable 'font_desc' [-Wunused-variable] PangoFontDescription *font_desc; ^~~~~~~~~ gui.c:5733:14: warning: unused variable 'scrollbar' [-Wunused-variable] GtkWidget *scrollbar; ^~~~~~~~~ gui.c:5732:14: warning: unused variable 'hbox_terminal' [-Wunused-variable] GtkWidget *hbox_terminal; /* vte + scrollbar */ ^~~~~~~~~~~~~ gui.c:5730:8: warning: unused variable 's_tmp' [-Wunused-variable] char s_tmp[256]; ^~~~~ gui.c:5729:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ gui.c: In function 'open_connection': gui.c:5686:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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=] sprintf (ui, "%s/find.glade", globals.data_dir); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ui, "%s/credits.glade", globals.data_dir); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (image_filename, "%s/main_icon.png", globals.img_dir); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ui, "%s/cluster.glade", globals.data_dir); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (title, "%s - %s", user_s, appname); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (label, _("Enter user for %s:"), p_conn->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (label, _("Enter directory for %s:"), p_conn->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (label, _("Enter password for %s@%s:"), p_conn->user, p_conn->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 29 and 315 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (ui, "%s/login.glade", globals.data_dir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (image_auth_filename, "%s/keys-64.png", globals.img_dir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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] 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=] sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol); ^~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 353 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 244 [-Wformat-overflow=] 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 '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'sftp_download_files': gui.c:3485:8: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] gint result; ^~~~~~ gui.c: In function 'update_title': gui.c:4387:24: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf (title, "%s - %s", label, appname); ^~~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (s, "%s@%s (%s)", ^~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 546 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name); ^~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro '_' #define _(x) x ^ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (s_tmp, "%s (%s)", p_conn->name, p_conn->host); ^~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol); ^~ In file included from /usr/include/stdio.h:862, 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-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from gui.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 353 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lvte-2.91 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lz -lpcre2-8 -lgnutls -lssl -lcrypto -lssh -lX11 make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' Making all in img Making all in types make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in data make[1]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' sed -e 's!IMGDIR!/usr/share/lterm/img!' < lterm.desktop.in > lterm.desktop make[1]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' make[1]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50193 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lterm-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lterm-buildroot + cd lterm-1.5.1 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/lterm-buildroot make: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' /bin/mkdir -p '/usr/src/tmp/lterm-buildroot/usr/bin' /bin/install -p lterm '/usr/src/tmp/lterm-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src' Making install in img make[1]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/img' Making install in types make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/img/types' make[3]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/img/types' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lterm-buildroot/usr/share/lterm/img/types' /bin/install -p -m 644 class.png conf.png c.png cpp.png css.png h.png html.png jar.png java.png pl.png py.png log.png o.png php.png jsp.png asp.png shell.png txt.png xml.png zip.png sql.png img.png iso.png pdf.png xls.png wav.png video.png '/usr/src/tmp/lterm-buildroot/usr/share/lterm/img/types' make[3]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/img/types' make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/img/types' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/img' make[3]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/img' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lterm-buildroot/usr/share/lterm/img' /bin/install -p -m 644 main_icon.png lterm-small.png terminal_32.png duplicate.png keys-64.png user.png plus.png less.png pencil.png copy.png folder.png post-it.png upload.png download.png directory_16.png file_16.png sidebar.png splitH.png splitV.png regroup.png cluster.png preferences.png transfers.png folder_up.png folder_new.png home.png file_new.png rename.png '/usr/src/tmp/lterm-buildroot/usr/share/lterm/img' make[3]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/img' make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/img' make[1]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/img' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lterm-buildroot/usr/share/applications' /bin/install -p -m 644 lterm.desktop '/usr/src/tmp/lterm-buildroot/usr/share/applications' /bin/mkdir -p '/usr/src/tmp/lterm-buildroot/usr/share/mime/packages' /bin/install -p -m 644 lterm.xml '/usr/src/tmp/lterm-buildroot/usr/share/mime/packages' /bin/mkdir -p '/usr/src/tmp/lterm-buildroot/usr/share/lterm/data' /bin/install -p -m 644 credits.txt lterm.desktop.in lterm.xml preferences.glade profile.glade transfer.glade edit-connection.glade sftp.glade login.glade find.glade credits.glade preferences.glade.gtk2 profile.glade.gtk2 transfer.glade.gtk2 edit-connection.glade.gtk2 sftp.glade.gtk2 login.glade.gtk2 find.glade.gtk2 credits.glade.gtk2 cluster.glade cluster.glade.gtk2 time.glade time.glade.gtk2 transfer-item.glade transfer-item.glade.gtk2 additionals.xml types.xml PuttyExportTemplate.txt '/usr/src/tmp/lterm-buildroot/usr/share/lterm/data' make install-data-hook make[3]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' /usr/bin/update-mime-database /usr/src/tmp/lterm-buildroot/usr/share/mime Note that '/usr/src/tmp/lterm-buildroot/usr/share' is not in the search path set by the XDG_DATA_HOME and XDG_DATA_DIRS environment variables, so applications may not be able to find it until you set them. The directories currently searched are: - /usr/src/.local/share - /usr/local/share/ - /usr/share/ make[3]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/data' make[1]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1' make[2]: Entering directory '/usr/src/RPM/BUILD/lterm-1.5.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1' make: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lterm-buildroot (auto) Verifying and fixing files in /usr/src/tmp/lterm-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/share/applications/lterm.desktop: performed minor cleanup: 9d8 < Encoding=UTF-8 Checking contents of files in /usr/src/tmp/lterm-buildroot/ (default) Compressing files in /usr/src/tmp/lterm-buildroot (auto) Verifying ELF objects in /usr/src/tmp/lterm-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: lterm-1.5.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.89876 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lterm-1.5.1 + DOCDIR=/usr/src/tmp/lterm-buildroot/usr/share/doc/lterm-1.5.1 + export DOCDIR + rm -rf /usr/src/tmp/lterm-buildroot/usr/share/doc/lterm-1.5.1 + /bin/mkdir -p /usr/src/tmp/lterm-buildroot/usr/share/doc/lterm-1.5.1 + cp -prL ChangeLog NEWS AUTHORS TODO README /usr/src/tmp/lterm-buildroot/usr/share/doc/lterm-1.5.1 + chmod -R go-w /usr/src/tmp/lterm-buildroot/usr/share/doc/lterm-1.5.1 + chmod -R a+rX /usr/src/tmp/lterm-buildroot/usr/share/doc/lterm-1.5.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XykdQw find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ls89oR find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) Requires: /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:on6dV6, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.1.1()(64bit) >= set:qnRmGHHQSLzTwaDhVjIQxUK0, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libgdk-3.so.0()(64bit) >= set:njAUnbvEL4veiGTK0xnn3x44MH0, libgdk_pixbuf-2.0.so.0()(64bit) >= set:ljxZzEXbDaq0, libgio-2.0.so.0()(64bit) >= set:olCTWNZp8f19sHjpbU1, libglib-2.0.so.0()(64bit) >= set:oi3ws3w4dcZAmvdELCZfAkHR0M3hX8hI29ZlPZDr64GUxbXZfgI2cIS09IZJOqCkMmT5SbEynl86dAalBRzU52wUvEs53kseOfF2tM4RA0H7tYztX2z2ZamOxRXfOHZzGcWrZes7TZ4pivtt2iz7JtLpqXs5BxcUlZ2arZeYiFOVSwoor0, libgobject-2.0.so.0()(64bit) >= set:mhX8MBxZFnYcmPGlY6v7BvN0rRBv5RE6EjbWy54HDZi0bQT3f1, libgtk-3.so.0()(64bit) >= set:qhZzUatRPjbKnMcYlu5DWn4ixIJXJZzQCsRMcpSiVXV0IUeHNa5shAFB1BXoYT5rH2u0p0kRaFIK5oMUS4NPIBXgGYUdXXZreE65tyH2Uah0XyQ7hdHesO4nNi4r0DZ4gn2YEvUsgoYRFN0ZbvRpo5ncQxiMrMmONyF1kgiQel7PodOFMUxkZrkSZ1RSZ9pVKprJ1qvkuDYUhDZ95qCYxQRfZ5gTsTRbF89ClxIa58M5Yyjyu0me4uSiUFtMJfNnr82piDI5mf4qyFV3Dduv3ww9W9hIjeNJshIqZibS8UvR2kvZzSpRaCZ1BptMnTbZhJb1Vk9Vyv6AYswBYXjCnlwJIXcQYnVGjb0yUchC1HT4ZqcyroZtBCSOZ9Zxqh0uQ8BwHCRHMhIQlkb30hyqQFhVjRShShtquqZCr6hUbOKu9eGn4p3sq4B8xlZhh08siOH1DUSkIF9HZ3AL2YjOkyU8ZcZnfvoJETT9Z5p1Q30sjb0QAgEII7nuumTOqrQknDEbfn4FTpG2e2DNYeOsPMbZET85SbuiNKwoMBbKP2q2Hf1N1v53pqzlGwh14GZ5qu20d0WghA9WBaso5cNjC0vz556pTalmI4EH2D2LXbRnVCWrlDDN138Cn5uvlLjzvgqg7rfkkP8o555cTnLOCUQ3FOJledldXaUU8QpkeEdAvNc5gcTcRNUZ1fh1lIRLgnZdBNCjLkAwWNqYI3mGGRav5sjPR0Wli6Trsba6HemMPt29PSafgKOc3RCKkB94T5V0VZDLL20hSUyGeGrLZ3D4SlIHkpD7pw4fuZrnvMYteUwf81L8GDQqZBzpofiswehA9yeTQrzvrk0w60QDPwMWsjhThcackuUoq7HZsRvpG5hY3fYNLE6zM0ASUsxg3CctRC9iVZI1Ruuuqe40WH3pmdEg1fkLvUbD0cZrZBCHozt61, libpango-1.0.so.0()(64bit) >= set:mjdYrpW1tkNRzA1MQJmPik6, libpthread.so.0(GLIBC_2.2.5)(64bit), libssh.so.4()(64bit) >= set:mgY8JGZwW2dDGjtZAfOEI1RbZwZ0D3AuNvJmiLMCmhhQ6e9j8Zdj0azQPKz6VTbqxR82WVgU9MzZqvr64Bg8HCZwZktUNVqzEgN1rsYBG9hSV1, libvte-2.91.so.0()(64bit) >= set:lfhXyNH28394OUbMa2qVnqYDVS6Bv5bZ9HGHc7bb5Z0AtBpZiO46lkqASx9CHjKVy6eTmxT0Uoa4aGZAZf2Ux2TAuQhIjgJ5, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jmGSni Creating lterm-debuginfo package Processing files: lterm-debuginfo-1.5.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zM5r7M find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TeN7jl find-requires: running scripts (debuginfo) Requires: lterm = 1.5.1-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libgdk-3.so.0), debug64(libgdk_pixbuf-2.0.so.0), debug64(libgio-2.0.so.0), debug64(libglib-2.0.so.0), debug64(libgobject-2.0.so.0), debug64(libgtk-3.so.0), debug64(libpango-1.0.so.0), debug64(libpthread.so.0), debug64(libssh.so.4), debug64(libvte-2.91.so.0) Adding to lterm-debuginfo a strict dependency on lterm warning: Installed (but unpackaged) file(s) found: /usr/share/mime/XMLnamespaces /usr/share/mime/aliases /usr/share/mime/generic-icons /usr/share/mime/globs /usr/share/mime/globs2 /usr/share/mime/icons /usr/share/mime/magic /usr/share/mime/mime.cache /usr/share/mime/subclasses /usr/share/mime/treemagic /usr/share/mime/types /usr/share/mime/version Wrote: /usr/src/RPM/RPMS/x86_64/lterm-1.5.1-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/lterm-debuginfo-1.5.1-alt1.x86_64.rpm 14.95user 2.19system 0:25.86elapsed 66%CPU (0avgtext+0avgdata 102908maxresident)k 0inputs+0outputs (0major+1056397minor)pagefaults 0swaps 27.71user 5.97system 0:44.79elapsed 75%CPU (0avgtext+0avgdata 113724maxresident)k 0inputs+0outputs (0major+1490153minor)pagefaults 0swaps