86>Jan 13 04:42:17 userdel[2128645]: delete user 'rooter'
<86>Jan 13 04:42:17 groupadd[2128650]: group added to /etc/group: name=rooter, GID=624
<86>Jan 13 04:42:17 groupadd[2128650]: new group: name=rooter, GID=624
<86>Jan 13 04:42:17 useradd[2128654]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash
<86>Jan 13 04:42:17 userdel[2128660]: delete user 'builder'
<86>Jan 13 04:42:17 userdel[2128660]: removed group 'builder' owned by 'builder'
<86>Jan 13 04:42:17 userdel[2128660]: removed shadow group 'builder' owned by 'builder'
<86>Jan 13 04:42:17 groupadd[2128666]: group added to /etc/group: name=builder, GID=625
<86>Jan 13 04:42:17 groupadd[2128666]: group added to /etc/gshadow: name=builder
<86>Jan 13 04:42:17 groupadd[2128666]: new group: name=builder, GID=625
<86>Jan 13 04:42:17 useradd[2128670]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash
/usr/src/in/srpm/lterm-1.5.1-alt1.src.rpm: license not found in '/usr/share/license' directory: GPL2+
warning: Macro %_xdgmimedir not found
<13>Jan 13 04:42:25 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed
<13>Jan 13 04:42:25 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed
<13>Jan 13 04:42:25 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475645 installed
<13>Jan 13 04:42:25 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:25 rpmi: perl-HTTP-Date-6.05-alt1 sisyphus+258981.100.1.1 1601542386 installed
<13>Jan 13 04:42:25 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed
<13>Jan 13 04:42:25 rpmi: vapi-common-0.50.3-alt1 sisyphus+264489.340.3.1 1610382663 installed
<13>Jan 13 04:42:25 rpmi: libfribidi-1.0.10-alt1 sisyphus+254557.100.1.1 1594020354 installed
<13>Jan 13 04:42:25 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed
<13>Jan 13 04:42:26 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796031 installed
<13>Jan 13 04:42:26 rpmi: libsqlite3-3.34.0-alt1 sisyphus+262869.100.1.1 1607008263 installed
<13>Jan 13 04:42:26 rpmi: liblcms2-2.11-alt1 sisyphus+253499.100.1.1 1592286997 installed
<13>Jan 13 04:42:26 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed
<13>Jan 13 04:42:26 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475645 installed
<13>Jan 13 04:42:26 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed
<13>Jan 13 04:42:26 rpmi: perl-Compress-Raw-Zlib-2.100-alt1 sisyphus+264530.100.1.1 1610429354 installed
<13>Jan 13 04:42:26 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed
<13>Jan 13 04:42:26 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed
<13>Jan 13 04:42:26 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed
<13>Jan 13 04:42:26 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed
<13>Jan 13 04:42:26 rpmi: libnettle8-3.6-alt1 sisyphus+251637.100.3.1 1590060224 installed
<13>Jan 13 04:42:27 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943071 installed
<13>Jan 13 04:42:27 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed
<13>Jan 13 04:42:27 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed
<13>Jan 13 04:42:27 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed
<13>Jan 13 04:42:27 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000383 installed
<13>Jan 13 04:42:27 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed
<13>Jan 13 04:42:27 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed
<13>Jan 13 04:42:27 rpmi: libgraphite2-devel-1.3.14-alt2 sisyphus+250009.100.1.1 1586943071 installed
<13>Jan 13 04:42:27 rpmi: libhogweed6-3.6-alt1 sisyphus+251637.100.3.1 1590060224 installed
<13>Jan 13 04:42:27 rpmi: libgnutls30-3.6.15-alt1 sisyphus+257742.200.2.1 1599668675 installed
<13>Jan 13 04:42:27 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed
<13>Jan 13 04:42:27 rpmi: icu-utils-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796031 installed
<13>Jan 13 04:42:27 rpmi: libicu-devel-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796031 installed
<13>Jan 13 04:42:27 rpmi: perl-File-Listing-6.14-alt1 sisyphus+262735.100.1.1 1606813544 installed
<13>Jan 13 04:42:27 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:27 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:27 rpmi: libwayland-cursor-1.18.0-alt1 sisyphus+255795.100.1.1 1596475645 installed
<13>Jan 13 04:42:27 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+255795.100.1.1 1596475645 installed
<13>Jan 13 04:42:27 rpmi: wayland-devel-1.18.0-alt1 sisyphus+255795.100.1.1 1596475645 installed
<13>Jan 13 04:42:27 rpmi: libwayland-client-devel-1.18.0-alt1 sisyphus+255795.100.1.1 1596475645 installed
<13>Jan 13 04:42:27 rpmi: rpm-build-vala-0.3-alt1 1332324961 installed
<13>Jan 13 04:42:27 rpmi: libverto-0.3.0-alt1_11 sisyphus+263994.100.1.1 1608994692 installed
<13>Jan 13 04:42:27 rpmi: publicsuffix-list-dafsa-20201117-alt1 sisyphus+262026.100.1.1 1605704486 installed
<13>Jan 13 04:42:27 rpmi: libpsl-0.21.1-alt1 sisyphus+255206.100.1.1 1595348931 installed
<13>Jan 13 04:42:27 rpmi: libpcre2-10.36-alt1 sisyphus+262985.100.2.1 1607423135 installed
<13>Jan 13 04:42:27 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001689 installed
<13>Jan 13 04:42:27 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820121 installed
<13>Jan 13 04:42:27 rpmi: libxkbcommon-1.0.3-alt1 sisyphus+262369.100.1.1 1606206984 installed
<13>Jan 13 04:42:27 rpmi: libgudev-1:234-alt1 sisyphus+258314.700.14.2 1600843993 installed
<13>Jan 13 04:42:27 rpmi: udev-rules-1:247.2-alt1 sisyphus+263562.100.1.1 1608151944 installed
<13>Jan 13 04:42:27 rpmi: libepoxy-1.5.5-alt1 sisyphus+263785.100.1.1 1608657813 installed
<13>Jan 13 04:42:27 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed
<13>Jan 13 04:42:27 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed
<13>Jan 13 04:42:27 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088191 installed
<13>Jan 13 04:42:27 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059904 installed
<13>Jan 13 04:42:27 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587970807 installed
<13>Jan 13 04:42:27 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed
<13>Jan 13 04:42:27 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed
<13>Jan 13 04:42:27 rpmi: libdrm-1:2.4.103-alt1 sisyphus+261080.100.1.1 1604598366 installed
<13>Jan 13 04:42:27 rpmi: libgbm-4:20.3.2-alt1 sisyphus+264245.100.1.1 1609401147 installed
<13>Jan 13 04:42:27 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed
<13>Jan 13 04:42:27 rpmi: perl-IO-Socket-IP-0.41-alt1 sisyphus+259012.100.1.2 1601553446 installed
<13>Jan 13 04:42:27 rpmi: perl-Compress-Raw-Bzip2-2.100-alt1 sisyphus+264529.100.1.1 1610429357 installed
<13>Jan 13 04:42:27 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed
<13>Jan 13 04:42:27 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed
<13>Jan 13 04:42:27 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed
<13>Jan 13 04:42:27 rpmi: perl-Filter-1.60-alt1 sisyphus+258375.300.14.2 1600903930 installed
<13>Jan 13 04:42:27 rpmi: perl-Encode-3.08-alt1 sisyphus+263440.100.1.1 1607955880 installed
<13>Jan 13 04:42:27 rpmi: perl-URI-5.05-alt1 sisyphus+260330.100.1.1 1603548554 installed
<13>Jan 13 04:42:27 rpmi: perl-IO-Compress-2.100-alt1 sisyphus+264540.100.2.1 1610433933 installed
<13>Jan 13 04:42:27 rpmi: perl-Net-HTTP-6.20-alt1 sisyphus+264543.100.1.2 1610433051 installed
<13>Jan 13 04:42:27 rpmi: perl-HTML-Parser-3.75-alt1 sisyphus+258375.1000.14.2 1600904143 installed
<13>Jan 13 04:42:27 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed
<13>Jan 13 04:42:27 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed
<13>Jan 13 04:42:27 rpmi: perl-IO-HTML-1.004-alt1 sisyphus+258983.100.1.1 1601542619 installed
<13>Jan 13 04:42:27 rpmi: perl-HTTP-Message-6.27-alt1 sisyphus+264350.100.1.1 1609891188 installed
<13>Jan 13 04:42:27 rpmi: perl-HTTP-Cookies-6.10-alt1 sisyphus+264349.100.1.1 1609891183 installed
<13>Jan 13 04:42:27 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed
<13>Jan 13 04:42:27 rpmi: perl-libwww-6.52-alt1 sisyphus+264541.100.1.3 1610434036 installed
<13>Jan 13 04:42:27 rpmi: perl-XML-LibXML-2.0206-alt1 sisyphus+263441.100.1.1 1607955956 installed
<13>Jan 13 04:42:27 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed
<13>Jan 13 04:42:27 rpmi: perl-XML-Simple-2.25-alt2 sisyphus+257498.100.1.1 1599324034 installed
<13>Jan 13 04:42:27 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed
<13>Jan 13 04:42:29 rpmi: icon-theme-adwaita-3.38.0-alt1 sisyphus+258314.1700.14.2 1600844421 installed
<13>Jan 13 04:42:29 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410876 installed
<13>Jan 13 04:42:29 rpmi: libjbig-2.1-alt1 1401380921 installed
<13>Jan 13 04:42:29 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743630 installed
<13>Jan 13 04:42:29 rpmi: libgdk-pixbuf-locales-2.42.2-alt1 sisyphus+263074.100.1.1 1607428070 installed
<13>Jan 13 04:42:29 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed
<13>Jan 13 04:42:29 rpmi: libproxy-0.4.15-alt5 sisyphus+261556.100.1.1 1605106709 installed
<13>Jan 13 04:42:29 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688015 installed
<13>Jan 13 04:42:29 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688015 installed
<13>Jan 13 04:42:29 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed
<13>Jan 13 04:42:29 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479495 installed
<13>Jan 13 04:42:29 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475143 installed
Updating fonts cache: <29>Jan 13 04:42:30 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>Jan 13 04:42:30 rpmi: libharfbuzz-icu-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed
<13>Jan 13 04:42:30 rpmi: libharfbuzz-gobject-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed
<13>Jan 13 04:42:30 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>Jan 13 04:42:30 rpmi: xml-utils-1:2.9.10-alt4 sisyphus+261132.100.1.1 1604669085 installed
<13>Jan 13 04:42:30 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed
<13>Jan 13 04:42:30 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed
<13>Jan 13 04:42:30 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed
<13>Jan 13 04:42:30 rpmi: shared-mime-info-2.1-alt1 sisyphus+264261.100.1.1 1609507718 installed
<13>Jan 13 04:42:31 rpmi: gsettings-desktop-schemas-data-3.38.0-alt1 sisyphus+258314.500.14.2 1600843028 installed
<13>Jan 13 04:42:31 rpmi: libgio-2.66.4-alt1 sisyphus+263595.100.1.1 1608228058 installed
<13>Jan 13 04:42:31 rpmi: gsettings-desktop-schemas-3.38.0-alt1 sisyphus+258314.500.14.2 1600843028 installed
<13>Jan 13 04:42:31 rpmi: libgdk-pixbuf-2.42.2-alt1 sisyphus+263074.100.1.1 1607428070 installed
<13>Jan 13 04:42:31 rpmi: libgusb-0.3.5-alt1 sisyphus+255577.100.1.1 1596150490 installed
<13>Jan 13 04:42:31 rpmi: libcolord-1.4.5-alt2 sisyphus+264292.100.1.1 1609619006 installed
<13>Jan 13 04:42:31 rpmi: gtk-update-icon-cache-3.24.24-alt1 sisyphus+262986.100.1.1 1607244000 installed
<13>Jan 13 04:42:31 rpmi: libdconf-0.38.0-alt1 sisyphus+258314.1000.14.2 1600844048 installed
<13>Jan 13 04:42:31 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099128 installed
<13>Jan 13 04:42:31 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440105 installed
<13>Jan 13 04:42:31 rpmi: libgcrypt20-1.8.7-alt1 sisyphus+264176.100.1.1 1609249088 installed
<13>Jan 13 04:42:31 rpmi: libsystemd-1:247.2-alt1 sisyphus+263562.100.1.1 1608151944 installed
<13>Jan 13 04:42:31 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed
<13>Jan 13 04:42:31 rpmi: dbus-tools-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed
<86>Jan 13 04:42:31 groupadd[2145347]: group added to /etc/group: name=messagebus, GID=499
<86>Jan 13 04:42:31 groupadd[2145347]: group added to /etc/gshadow: name=messagebus
<86>Jan 13 04:42:31 groupadd[2145347]: new group: name=messagebus, GID=499
<86>Jan 13 04:42:31 useradd[2145393]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null
<13>Jan 13 04:42:31 rpmi: dbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed
<13>Jan 13 04:42:31 rpmi: dconf-0.38.0-alt1 sisyphus+258314.1000.14.2 1600844048 installed
<13>Jan 13 04:42:31 rpmi: libgtk+3-schemas-3.24.24-alt1 sisyphus+262986.100.1.1 1607244000 installed
<13>Jan 13 04:42:31 rpmi: libavahi-0.8-alt1 sisyphus+255349.240.4.1 1595604500 installed
<13>Jan 13 04:42:31 rpmi: libcups-2.3.1-alt2 sisyphus+255816.100.2.1 1596533608 installed
<13>Jan 13 04:42:31 rpmi: libpolkit-0.118-alt1 sisyphus+257894.100.1.1 1599828357 installed
<86>Jan 13 04:42:31 groupadd[2145710]: group added to /etc/group: name=colord, GID=498
<86>Jan 13 04:42:31 groupadd[2145710]: group added to /etc/gshadow: name=colord
<86>Jan 13 04:42:31 groupadd[2145710]: new group: name=colord, GID=498
<86>Jan 13 04:42:31 useradd[2145731]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null
<13>Jan 13 04:42:31 rpmi: colord-1.4.5-alt2 sisyphus+264292.100.1.1 1609619006 installed
<13>Jan 13 04:42:31 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed
<13>Jan 13 04:42:31 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed
<13>Jan 13 04:42:32 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed
<13>Jan 13 04:42:32 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed
<13>Jan 13 04:42:32 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed
<13>Jan 13 04:42:32 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595144 installed
<13>Jan 13 04:42:32 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed
<13>Jan 13 04:42:32 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed
<13>Jan 13 04:42:32 rpmi: libat-spi2-core-2.38.0-alt1 sisyphus+258314.1440.14.2 1600844322 installed
<13>Jan 13 04:42:32 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed
<13>Jan 13 04:42:35 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed
<13>Jan 13 04:42:35 rpmi: libX11-devel-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed
<13>Jan 13 04:42:35 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+261890.100.1.1 1605595144 installed
<13>Jan 13 04:42:35 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed
<13>Jan 13 04:42:35 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed
<13>Jan 13 04:42:35 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed
<13>Jan 13 04:42:35 rpmi: libXtst-1.2.3-alt1 sisyphus+261890.200.1.1 1605595188 installed
<13>Jan 13 04:42:35 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed
<13>Jan 13 04:42:35 rpmi: libGLX-mesa-4:20.3.2-alt1 sisyphus+264245.100.1.1 1609401147 installed
<13>Jan 13 04:42:35 rpmi: libEGL-mesa-4:20.3.2-alt1 sisyphus+264245.100.1.1 1609401147 installed
<13>Jan 13 04:42:35 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:35 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:35 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:35 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>Jan 13 04:42:35 rpmi: libpango-1.48.0-alt1 sisyphus+261300.100.2.1 1604868800 installed
<13>Jan 13 04:42:35 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124262 installed
<13>Jan 13 04:42:35 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>Jan 13 04:42:35 rpmi: libEGL-devel-4:20.3.2-alt1 sisyphus+264245.100.1.1 1609401147 installed
<13>Jan 13 04:42:35 rpmi: libGL-devel-4:20.3.2-alt1 sisyphus+264245.100.1.1 1609401147 installed
<13>Jan 13 04:42:35 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed
<13>Jan 13 04:42:35 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed
<13>Jan 13 04:42:35 rpmi: dbus-tools-gui-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed
<13>Jan 13 04:42:35 rpmi: at-spi2-core-2.38.0-alt1 sisyphus+258314.1440.14.2 1600844322 installed
<13>Jan 13 04:42:35 rpmi: at-spi2-atk-2.38.0-alt1 sisyphus+258314.1500.14.2 1600844365 installed
<13>Jan 13 04:42:35 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed
<13>Jan 13 04:42:36 rpmi: libgtk+3-3.24.24-alt1 sisyphus+262986.100.1.1 1607244000 installed
<13>Jan 13 04:42:36 rpmi: libvte3-0.62.2-alt1 sisyphus+264489.700.3.1 1610382915 installed
<13>Jan 13 04:42:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Jan 13 04:42:36 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Jan 13 04:42:36 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed
<13>Jan 13 04:42:36 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Jan 13 04:42:36 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed
<13>Jan 13 04:42:36 rpmi: libcrypto1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445492 installed
<13>Jan 13 04:42:36 rpmi: libssl1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445492 installed
<13>Jan 13 04:42:37 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed
<13>Jan 13 04:42:37 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed
<13>Jan 13 04:42:38 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed
<13>Jan 13 04:42:38 rpmi: glib2-devel-2.66.4-alt1 sisyphus+263595.100.1.1 1608228058 installed
<13>Jan 13 04:42:38 rpmi: libgio-devel-2.66.4-alt1 sisyphus+263595.100.1.1 1608228058 installed
<13>Jan 13 04:42:39 rpmi: libfreetype-devel-2.10.4-alt2 sisyphus+260293.100.2.1 1604479495 installed
<13>Jan 13 04:42:39 rpmi: libharfbuzz-devel-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed
<13>Jan 13 04:42:39 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+257555.100.1.1 1599475143 installed
<13>Jan 13 04:42:39 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<86>Jan 13 04:42:39 groupadd[2153022]: group added to /etc/group: name=_keytab, GID=497
<86>Jan 13 04:42:39 groupadd[2153022]: group added to /etc/gshadow: name=_keytab
<86>Jan 13 04:42:39 groupadd[2153022]: new group: name=_keytab, GID=497
<13>Jan 13 04:42:39 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605776749 installed
<13>Jan 13 04:42:39 rpmi: libssh-0.9.3-alt2 sisyphus+247315.100.1.2 1583840769 installed
<13>Jan 13 04:42:39 rpmi: libcairo-gobject-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>Jan 13 04:42:39 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed
<13>Jan 13 04:42:39 rpmi: libpango-devel-1.48.0-alt1 sisyphus+261300.100.2.1 1604868800 installed
<13>Jan 13 04:42:39 rpmi: libgdk-pixbuf-devel-2.42.2-alt1 sisyphus+263074.100.1.1 1607428070 installed
<13>Jan 13 04:42:39 rpmi: libatk-devel-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed
<13>Jan 13 04:42:39 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+263711.100.20.1 1609407991 installed
<13>Jan 13 04:42:39 rpmi: libgtk+3-devel-3.24.24-alt1 sisyphus+262986.100.1.1 1607244000 installed
<13>Jan 13 04:42:39 rpmi: glib-networking-2.66.0-alt1 sisyphus+258314.1200.14.2 1600844196 installed
<13>Jan 13 04:42:39 rpmi: libsoup-2.72.0-alt1 sisyphus+258314.1100.14.2 1600844151 installed
<13>Jan 13 04:42:39 rpmi: vala-0.50.3-alt1 sisyphus+264489.340.3.1 1610382663 installed
<13>Jan 13 04:42:39 rpmi: libsoup-devel-2.72.0-alt1 sisyphus+258314.1100.14.2 1600844151 installed
<13>Jan 13 04:42:39 rpmi: libvte3-devel-0.62.2-alt1 sisyphus+264489.700.3.1 1610382915 installed
<13>Jan 13 04:42:39 rpmi: libssh-devel-0.9.3-alt2 sisyphus+247315.100.1.2 1583840769 installed
<13>Jan 13 04:42:39 rpmi: libssl-devel-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445492 installed
<13>Jan 13 04:42:39 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 (w1.gzdio)
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.912
+ 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.50197
+ 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
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FCFLAGS
+ '[' -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
+ xargs -ri dirname -- '{}'
+ readlink -e -- ./configure
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ sort -u
+ ./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/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 -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
47 | char *readFile (filename);
| ^~~~
profile.c: In function 'profile_get_name_param':
profile.c:45:10: warning: unused variable 'nmatch' [-Wunused-variable]
45 | size_t nmatch;
| ^~~~~~
profile.c: In function 'profile_load_int':
profile.c:162:8: warning: unused variable 'buffer' [-Wunused-variable]
162 | char buffer[33];
| ^~~~~~
profile.c: In function 'profile_modify_string':
profile.c:182:10: warning: unused variable 'nmatch' [-Wunused-variable]
182 | size_t nmatch;
| ^~~~~~
profile.c: In function 'profile_delete_section':
profile.c:403:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
403 | while (pl = fgets (line, 1024, fp))
| ^~
profile.c: In function 'load_profiles':
profile.c:687:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
687 | if (child = xml_node_get_child (node, "fg-color"))
| ^~~~~
profile.c:690:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
690 | if (node_2 = xml_node_get_child (node, "fonts"))
| ^~~~~~
profile.c:692:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
692 | if (child = xml_node_get_child (node_2, "use-system"))
| ^~~~~
profile.c:699:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
699 | if (child = xml_node_get_child (node_2, "font"))
| ^~~~~
profile.c:703:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
703 | if (node_2 = xml_node_get_child (node, "background"))
| ^~~~~~
profile.c:705:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
705 | if (child = xml_node_get_child (node_2, "color"))
| ^~~~~
profile.c:708:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
708 | if (child = xml_node_get_child (node_2, "alpha"))
| ^~~~~
profile.c:719:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
719 | if (node_2 = xml_node_get_child (node, "cursor"))
| ^~~~~~
profile.c:721:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
721 | if (child = xml_node_get_child (node_2, "shape"))
| ^~~~~
profile.c:729:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
729 | if (child = xml_node_get_child (node_2, "blinking"))
| ^~~~~
profile.c:738:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
738 | if (node_2 = xml_node_get_child (node, "bell"))
| ^~~~~~
profile.c:740:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
740 | if (child = xml_node_get_child (node_2, "audible"))
| ^~~~~
profile.c:748:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
748 | if (child = xml_node_get_child (node_2, "visible"))
| ^~~~~
profile.c:626:20: warning: unused variable 'pc' [-Wunused-variable]
626 | char tmp_s[32], *pc;
| ^~
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/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 -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
47 | char *readFile (filename);
| ^~~~
utils.c: In function 'seconds_to_hhmmdd':
utils.c:136:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
136 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec);
| ~~~~~^ ~~~~
| | |
| long long int uint64_t {aka long unsigned int}
| %02ld
utils.c:136:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
136 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec);
| ~~~~~^ ~~~
| | |
| long long int uint64_t {aka long unsigned int}
| %02ld
utils.c:136:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
136 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec);
| ~~~~~^ ~~~
| | |
| long long int uint64_t {aka long unsigned int}
| %02ld
utils.c: In function 'permissions_octal_to_string':
utils.c:149:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
149 | triple[i] = (value & (0x01 << 8-i)) ? flags[i] : '-';
| ~^~
utils.c:144:10: warning: unused variable 'n' [-Wunused-variable]
144 | int i, n;
| ^
utils.c: In function 'lower':
utils.c:534:12: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration]
534 | s[i] = tolower (s[i]);
| ^~~~~~~
utils.c: In function 'upper':
utils.c:545:12: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
545 | s[i] = toupper (s[i]);
| ^~~~~~~
utils.c: In function 'get_desktop_environment':
utils.c:700:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
700 | if (value = getenv ("DESKTOP_SESSION"))
| ^~~~~
utils.c:712:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
712 | if (value = getenv ("GNOME_KEYRING_PID"))
| ^~~~~
utils.c: In function 'des_encrypt_b64':
utils.c:815:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
815 | p_enc = Encrypt (KEY, clear_text, strlen (clear_text));
| ^
utils.c:817:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
817 | if (strlen (p_enc) > strlen (clear_text))
| ^~~~~
| |
| unsigned char *
In file included from /usr/include/glib-2.0/glib/gslice.h:26,
from /usr/include/glib-2.0/glib.h:79,
from utils.c:23:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
utils.c:820:71: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
820 | p_enc_b64 = g_base64_encode ((const unsigned char *) p_enc, strlen (p_enc));
| ^~~~~
| |
| unsigned char *
In file included from /usr/include/glib-2.0/glib/gslice.h:26,
from /usr/include/glib-2.0/glib.h:79,
from utils.c:23:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
utils.c: In function 'des_decrypt_b64':
utils.c:837:9: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
837 | p_enc = g_base64_decode (ecrypted_text, &len);
| ^
utils.c: In function 'readFile':
utils.c:1008:1: warning: type of 'filename' defaults to 'int' [-Wimplicit-int]
1008 | readFile (filename)
| ^~~~~~~~
utils.c:1012:21: warning: passing argument 1 of 'fopen' makes pointer from integer without a cast [-Wint-conversion]
1012 | FILE * f = fopen (filename, "rb");
| ^~~~~~~~
| |
| int
In file included from utils.c:32:
/usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'int'
246 | extern FILE *fopen (const char *__restrict __filename,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
utils.c:1024:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
1024 | fread (buffer, 1, length, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/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 -c -o preferences.o preferences.c
preferences.c: In function 'profile_edit':
preferences.c:140:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
140 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
| ^~~~~~~~~~~~~~~~
preferences.c:141:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
141 | GTK_STOCK_OK, GTK_RESPONSE_OK,
| ^~~~~~~~~~~~
preferences.c:157:3: warning: 'gtk_font_button_set_font_name' is deprecated [-Wdeprecated-declarations]
157 | 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
98 | 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]
253 | 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
96 | 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' [-Wimplicit-function-declaration]
352 | apply_profile_terminal (vte_profile, g_selected_profile);
| ^~~~~~~~~~~~~~~~~~~~~~
preferences.c:334:15: warning: unused variable 'iter' [-Wunused-variable]
334 | GtkTreeIter iter;
| ^~~~
preferences.c: In function 'show_preferences':
preferences.c:409:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
409 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
| ^~~~~~~~~~~~~~~~
preferences.c:410:19: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
410 | GTK_STOCK_OK, GTK_RESPONSE_OK,
| ^~~~~~~~~~~~
preferences.c:462:3: warning: 'gtk_font_button_set_font_name' is deprecated [-Wdeprecated-declarations]
462 | 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
98 | 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]
610 | 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
96 | 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]
626 | if (p_profile = profile_get_by_position (&g_profile_list,
| ^~~~~~~~~
preferences.c:472:15: warning: unused variable 'iter' [-Wunused-variable]
472 | GtkTreeIter iter;
| ^~~~
preferences.c:471:17: warning: unused variable 'tree_model' [-Wunused-variable]
471 | GtkTreeModel *tree_model;
| ^~~~~~~~~~
preferences.c:388:17: warning: unused variable 'tmp' [-Wunused-variable]
388 | char ui[256], tmp[512];
| ^~~
preferences.c:384:44: warning: unused variable 'bg_color_entry' [-Wunused-variable]
384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry;
| ^~~~~~~~~~~~~~
preferences.c:384:27: warning: unused variable 'fg_color_entry' [-Wunused-variable]
384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry;
| ^~~~~~~~~~~~~~
preferences.c:384:14: warning: unused variable 'font_entry' [-Wunused-variable]
384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry;
| ^~~~~~~~~~
preferences.c:382:26: warning: unused variable 'button_cancel' [-Wunused-variable]
382 | GtkWidget *button_ok, *button_cancel;
| ^~~~~~~~~~~~~
preferences.c:382:14: warning: unused variable 'button_ok' [-Wunused-variable]
382 | GtkWidget *button_ok, *button_cancel;
| ^~~~~~~~~
preferences.c: In function 'profile_edit':
preferences.c:123:19: warning: '/profile.glade' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
123 | sprintf (ui, "%s/profile.glade", globals.data_dir);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
preferences.c: In function 'show_preferences':
preferences.c:392:19: warning: '/preferences.glade' directive writing 18 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
392 | sprintf (ui, "%s/preferences.glade", globals.data_dir);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __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/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 -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
47 | char *readFile (filename);
| ^~~~
main.c: In function 'log_write':
main.c:111:8: warning: unused variable 'log_file' [-Wunused-variable]
111 | char log_file[256];
| ^~~~~~~~
main.c: In function 'lterm_iteration':
main.c:208:10: warning: implicit declaration of function 'ifr_get' [-Wimplicit-function-declaration]
208 | while (ifr_get (&ifr_function))
| ^~~~~~~
main.c:218:11: warning: implicit declaration of function 'refresh_connection_tree_view' [-Wimplicit-function-declaration]
218 | refresh_connection_tree_view ((struct GtkTreeView *) ifr_function.user_data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:226:11: warning: implicit declaration of function 'connection_tab_close'; did you mean 'connection_tab_new'? [-Wimplicit-function-declaration]
226 | connection_tab_close ((SConnectionTab *) ifr_function.user_data);
| ^~~~~~~~~~~~~~~~~~~~
| connection_tab_new
main.c:199:25: warning: unused variable 'lterminal' [-Wunused-variable]
199 | struct ConnectionTab *lterminal;
| ^~~~~~~~~
main.c: In function 'main':
main.c:382:3: warning: implicit declaration of function 'textdomain' [-Wimplicit-function-declaration]
382 | textdomain (PACKAGE);
| ^~~~~~~~~~
main.c:383:3: warning: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration]
383 | bindtextdomain (PACKAGE, LOCALEDIR);
| ^~~~~~~~~~~~~~
main.c:510:3: warning: implicit declaration of function 'pl_init'; did you mean 'cl_init'? [-Wimplicit-function-declaration]
510 | pl_init (&g_prot_list);
| ^~~~~~~
| cl_init
main.c:517:3: warning: implicit declaration of function 'check_standard_protocols' [-Wimplicit-function-declaration]
517 | check_standard_protocols (&g_prot_list);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:539:3: warning: implicit declaration of function 'XInitThreads' [-Wimplicit-function-declaration]
539 | XInitThreads ();
| ^~~~~~~~~~~~
main.c:542:13: warning: Deprecated pre-processor symbol
542 | if (!g_thread_supported())
| ^~~~~~~~~~~~~~~~
main.c:543:7: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
543 | g_thread_init(NULL);
| ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:111,
from /usr/include/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:261:10: note: declared here
261 | void g_thread_init (gpointer vtable);
| ^~~~~~~~~~~~~
main.c:546:3: warning: 'gdk_threads_init' is deprecated [-Wdeprecated-declarations]
546 | 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
44 | void gdk_threads_init (void);
| ^~~~~~~~~~~~~~~~
main.c:551:3: warning: implicit declaration of function 'start_gtk' [-Wimplicit-function-declaration]
551 | start_gtk (argc, argv);
| ^~~~~~~~~
main.c:558:3: warning: implicit declaration of function 'ifr_init' [-Wimplicit-function-declaration]
558 | ifr_init ();
| ^~~~~~~~
main.c:586:7: warning: implicit declaration of function 'list_count' [-Wimplicit-function-declaration]
586 | if (list_count (globals.start_connections, '#'))
| ^~~~~~~~~~
main.c:590:11: warning: implicit declaration of function 'list_get_nth' [-Wimplicit-function-declaration]
590 | list_get_nth (globals.start_connections, i, '#', s_tmp);
| ^~~~~~~~~~~~
main.c:591:11: warning: implicit declaration of function 'open_connection'; did you mean 'get_connection'? [-Wimplicit-function-declaration]
591 | open_connection (s_tmp);
| ^~~~~~~~~~~~~~~
| get_connection
main.c:597:9: warning: implicit declaration of function 'load_session_file'; did you mean 'save_session_file'? [-Wimplicit-function-declaration]
597 | load_session_file (NULL);
| ^~~~~~~~~~~~~~~~~
| save_session_file
main.c:645:3: warning: implicit declaration of function 'save_recent_connections'; did you mean 'add_recent_connection'? [-Wimplicit-function-declaration]
645 | save_recent_connections ();
| ^~~~~~~~~~~~~~~~~~~~~~~
| add_recent_connection
main.c:648:3: warning: implicit declaration of function 'save_connections_to_file_xml'; did you mean 'save_connections_to_file'? [-Wimplicit-function-declaration]
648 | save_connections_to_file_xml (globals.connections_xml);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| save_connections_to_file
main.c:654:3: warning: implicit declaration of function 'pl_release'; did you mean 'cl_release'? [-Wimplicit-function-declaration]
654 | pl_release (&g_prot_list);
| ^~~~~~~~~~
| cl_release
main.c:343:7: warning: unused variable 'digit_optind' [-Wunused-variable]
343 | int digit_optind;
| ^~~~~~~~~~~~
main.c:342:7: warning: unused variable 'c' [-Wunused-variable]
342 | int c, n, rc;
| ^
main.c: In function 'save_settings':
main.c:795:7: warning: unused variable 'err' [-Wunused-variable]
795 | int err;
| ^~~
main.c: In function 'cmpver':
main.c:878:19: warning: unused variable 'cmp3' [-Wunused-variable]
878 | int cmp1, cmp2, cmp3;
| ^~~~
main.c:878:13: warning: unused variable 'cmp2' [-Wunused-variable]
878 | int cmp1, cmp2, cmp3;
| ^~~~
main.c:878:7: warning: unused variable 'cmp1' [-Wunused-variable]
878 | int cmp1, cmp2, cmp3;
| ^~~~
At top level:
main.c:154:13: warning: 'handle_signals' defined but not used [-Wunused-function]
154 | static void handle_signals (void)
| ^~~~~~~~~~~~~~
main.c: In function 'log_write':
main.c:134:23: warning: '%s' directive writing up to 2047 bytes into a region of size between 1983 and 2046 [-Wformat-overflow=]
134 | sprintf (line, "%s: %s", time_s, msg);
| ^~ ~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 2113 bytes into a destination of size 2048
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:457:35: warning: '/serverlist' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
457 | sprintf (globals.serverlist, "%s/serverlist", globals.app_dir); /* deprecated */
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:458:40: warning: '/connections.xml' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
458 | sprintf (globals.connections_xml, "%s/connections.xml", globals.app_dir);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:459:37: warning: '/session.xml' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
459 | sprintf (globals.session_file, "%s/session.xml", globals.app_dir);
| ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:460:33: warning: '/lterm.log' directive writing 10 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
460 | sprintf (globals.log_file, "%s/lterm.log", globals.app_dir);
| ^~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:461:38: warning: '/profiles.xml' directive writing 13 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
461 | sprintf (globals.profiles_file, "%s/profiles.xml", globals.app_dir);
| ^~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 14 and 269 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:462:39: warning: '/protocols.xml' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
462 | sprintf (globals.protocols_file, "%s/protocols.xml", globals.app_dir);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:464:48: warning: '/recents.xml' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
464 | sprintf (globals.recent_connections_file, "%s/recents.xml", globals.app_dir);
| ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:465:45: warning: '/recent_sessions' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
465 | sprintf (globals.recent_sessions_file, "%s/recent_sessions", globals.app_dir);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:466:35: warning: '%s' directive writing 5 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
466 | sprintf (globals.conf_file, "%s/%s.conf", globals.app_dir, PACKAGE_NAME);
| ^~
In file included from /usr/include/stdio.h:866,
from main.c:32:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __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/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 -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]
134 | if (p_node = group_node_find (p_parent->child[i], name))
| ^~~~~~
grouptree.c: In function 'group_node_delete_child':
grouptree.c:187:13: warning: implicit declaration of function 'cl_remove'; did you mean 'remove'? [-Wimplicit-function-declaration]
187 | cl_remove (&conn_list, p_node->name);
| ^~~~~~~~~
| remove
grouptree.c: In function 'group_node_find_by_path':
grouptree.c:232:3: warning: implicit declaration of function 'list_get_nth' [-Wimplicit-function-declaration]
232 | list_get_nth (path, index, '/', nodename);
| ^~~~~~~~~~~~
grouptree.c:236:7: warning: implicit declaration of function 'list_count' [-Wimplicit-function-declaration]
236 | if (list_count (path, '/') < index)
| ^~~~~~~~~~
grouptree.c:229:8: warning: unused variable 's_tmp' [-Wunused-variable]
229 | char s_tmp[64];
| ^~~~~
grouptree.c: In function 'group_node_find_by_numeric_path':
grouptree.c:262:8: warning: unused variable 's_tmp' [-Wunused-variable]
262 | char s_tmp[64];
| ^~~~~
grouptree.c: In function 'group_node_get_child_next':
grouptree.c:354:21: warning: unused variable 'p_child_next' [-Wunused-variable]
354 | struct GroupNode *p_child_next = NULL;
| ^~~~~~~~~~~~
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/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 -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
47 | char *readFile (filename);
| ^~~~
protocol.c: In function 'load_protocols_from_file_xml':
protocol.c:282:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
282 | if (child = xml_node_get_child (node, "command"))
| ^~~~~
protocol.c:285:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
285 | if (child = xml_node_get_child (node, "port"))
| ^~~~~
protocol.c:292:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
292 | if (child = xml_node_get_child (node, "arguments"))
| ^~~~~
protocol.c:295:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
295 | if (node_2 = xml_node_get_child (node, "flags"))
| ^~~~~~
protocol.c:297:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
297 | if (child = xml_node_get_child (node_2, "askuser"))
| ^~~~~
protocol.c:305:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
305 | if (child = xml_node_get_child (node_2, "askpassword"))
| ^~~~~
protocol.c:313:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
313 | if (child = xml_node_get_child (node_2, "disconnectclose"))
| ^~~~~
protocol.c:228:20: warning: unused variable 'pc' [-Wunused-variable]
228 | char tmp_s[32], *pc;
| ^~
protocol.c:225:7: warning: unused variable 'rc' [-Wunused-variable]
225 | int rc = 0;
| ^~
protocol.c: In function 'save_protocols_to_file_xml':
protocol.c:341:8: warning: unused variable 's_flags' [-Wunused-variable]
341 | char s_flags[1024];
| ^~~~~~~
protocol.c:340:8: warning: unused variable 'line' [-Wunused-variable]
340 | char line[1024];
| ^~~~
protocol.c: In function 'query_name_new_protocol':
protocol.c:454:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
454 | GTK_STOCK_CANCEL,
| ^~~~~~~~~~~~~~~~
protocol.c:456:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
456 | GTK_STOCK_OK,
| ^~~~~~~~~~~~
protocol.c:472:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
472 | 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
79 | 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]
569 | char s_port[256];
| ^~~~~~
protocol.c: In function 'refresh_protocols':
protocol.c:663:7: warning: unused variable 'i' [-Wunused-variable]
663 | 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]
810 | 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
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
protocol.c:810:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
810 | 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]
814 | 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
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
protocol.c:814:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
814 | 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]
818 | 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
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
protocol.c:818:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
818 | 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]
822 | 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
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
protocol.c:822:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
822 | GtkWidget *delete_button = gtk_button_new_from_stock (GTK_STOCK_DELETE);
| ^~~~~~~~~
protocol.c:832:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
832 | 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
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
protocol.c:874:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
874 | 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
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
protocol.c:893:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
893 | 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]
713 | gint result;
| ^~~~~~
protocol.c:712:20: warning: unused variable 'p' [-Wunused-variable]
712 | struct Protocol *p;
| ^
protocol.c:711:10: warning: unused variable 'client_glist' [-Wunused-variable]
711 | GList *client_glist = NULL;
| ^~~~~~~~~~~~
protocol.c:710:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable]
710 | GtkWidget *cancel_button, *ok_button;
| ^~~~~~~~~
protocol.c:710:14: warning: unused variable 'cancel_button' [-Wunused-variable]
710 | GtkWidget *cancel_button, *ok_button;
| ^~~~~~~~~~~~~
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/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 -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 [-Wreturn-type]
650 | return;
| ^~~~~~
xml.c:639:1: note: declared here
639 | xml_parse (char *doc, XML *p_xml)
| ^~~~~~~~~
xml.c: In function 'xml_load':
xml.c:663:10: warning: unused variable 'rc' [-Wunused-variable]
663 | int i, rc = 0;
| ^~
xml.c:663:7: warning: unused variable 'i' [-Wunused-variable]
663 | int i, rc = 0;
| ^
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/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 -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
47 | char *readFile (filename);
| ^~~~
connection_list.c: In function 'cl_check':
connection_list.c:240:31: warning: unused variable 'pc' [-Wunused-variable]
240 | struct Connection *p_conn, *pc;
| ^~
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/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 -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
47 | char *readFile (filename);
| ^~~~
terminal.c: In function 'terminal_new':
terminal.c:97:3: warning: 'vte_terminal_spawn_sync' is deprecated [-Wdeprecated-declarations]
97 | 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:83:10: note: declared here
83 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal,
| ^~~~~~~~~~~~~~~~~~~~~~~
terminal.c:55:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
55 | int rc;
| ^~
terminal.c:51:20: warning: unused variable 'p_prot' [-Wunused-variable]
51 | struct Protocol *p_prot;
| ^~~~~~
terminal.c: In function 'log_on':
terminal.c:402:7: warning: 'vte_terminal_spawn_sync' is deprecated [-Wdeprecated-declarations]
402 | 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:83:10: note: declared here
83 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal,
| ^~~~~~~~~~~~~~~~~~~~~~~
terminal.c:159:7: warning: unused variable 'i' [-Wunused-variable]
159 | int i, ret;
| ^
terminal.c: In function 'asked_for_user':
terminal.c:629:16: warning: variable 'vteterminal' set but not used [-Wunused-but-set-variable]
629 | VteTerminal *vteterminal;
| ^~~~~~~~~~~
terminal.c: In function 'asked_for_password':
terminal.c:653:16: warning: variable 'vteterminal' set but not used [-Wunused-but-set-variable]
653 | VteTerminal *vteterminal;
| ^~~~~~~~~~~
terminal.c: In function 'load_session_file':
terminal.c:828:26: warning: unused variable 'cl' [-Wunused-variable]
828 | struct Connection_List cl;
| ^~
terminal.c:827:25: warning: unused variable 'p_ct' [-Wunused-variable]
827 | struct ConnectionTab *p_ct;
| ^~~~
terminal.c:826:9: warning: unused variable 'fp' [-Wunused-variable]
826 | FILE *fp;
| ^~
terminal.c:824:7: warning: unused variable 'rc' [-Wunused-variable]
824 | int rc;
| ^~
terminal.c: In function 'save_session_file':
terminal.c:903:7: warning: unused variable 'len' [-Wunused-variable]
903 | int len, rc = 0;
| ^~~
terminal.c:902:9: warning: unused variable 'p_enc_b64' [-Wunused-variable]
902 | char *p_enc_b64;
| ^~~~~~~~~
terminal.c:901:9: warning: unused variable 'p_enc' [-Wunused-variable]
901 | char *p_enc;
| ^~~~~
terminal.c:900:26: warning: unused variable 'cl' [-Wunused-variable]
900 | struct Connection_List cl;
| ^~
terminal.c:899:25: warning: unused variable 'p_ct' [-Wunused-variable]
899 | struct ConnectionTab *p_ct;
| ^~~~
terminal.c:898:28: warning: unused variable 'addedConn' [-Wunused-variable]
898 | struct Connection conn, *addedConn;
| ^~~~~~~~~
terminal.c:898:21: warning: unused variable 'conn' [-Wunused-variable]
898 | struct Connection conn, *addedConn;
| ^~~~
terminal.c:897:9: warning: unused variable 'fp' [-Wunused-variable]
897 | FILE *fp;
| ^~
terminal.c:896:10: warning: unused variable 'item' [-Wunused-variable]
896 | GList *item;
| ^~~~
terminal.c: In function 'terminal_set_search_expr':
terminal.c:1027:3: warning: 'vte_terminal_search_set_gregex' is deprecated [-Wdeprecated-declarations]
1027 | 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:73:11: note: declared here
73 | 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]
1057 | 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:121:10: note: declared here
121 | 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]
620 | return (feed_child);
| ^
In file included from terminal.c:30:
terminal.c: In function 'asked_for_user':
terminal.c:638:21: warning: '%s' directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=]
638 | sprintf (label, _("Enter user for %s:"), p_ct->connection.name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
terminal.c:638:40: note: format string is defined here
638 | sprintf (label, _("Enter user for %s:"), p_ct->connection.name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c:644:10: warning: 'feed_child' may be used uninitialized in this function [-Wmaybe-uninitialized]
644 | return (feed_child);
| ^
In file included from terminal.c:30:
terminal.c: In function 'asked_for_password':
terminal.c:662:21: warning: '%s' directive writing up to 255 bytes into a region of size between 202 and 233 [-Wformat-overflow=]
662 | sprintf (label, _("Enter password for %s@%s:"), p_ct->connection.user, p_ct->connection.name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
terminal.c:662:47: note: format string is defined here
662 | sprintf (label, _("Enter password for %s@%s:"), p_ct->connection.user, p_ct->connection.name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 29 and 315 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c:668:10: warning: 'feed_child' may be used uninitialized in this function [-Wmaybe-uninitialized]
668 | return (feed_child);
| ^
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/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 -c -o async.o async.c
async.c: In function 'async_lterm_loop':
async.c:99:8: warning: unused variable 'i' [-Wunused-variable]
99 | gint i;
| ^
async.c: In function 'async_sftp_transfer':
async.c:163:20: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
163 | lockSFTPQueue (__func__, TRUE);
| ^~~~~~~~
async.c:64:22: note: expected 'char *' but argument is of type 'const char *'
64 | lockSFTPQueue (char *caller, gboolean flagLock)
| ~~~~~~^~~~~~
async.c:179:20: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
179 | lockSFTPQueue (__func__, FALSE);
| ^~~~~~~~
async.c:64:22: note: expected 'char *' but argument is of type 'const char *'
64 | lockSFTPQueue (char *caller, gboolean flagLock)
| ~~~~~~^~~~~~
async.c:153:8: warning: unused variable 'transferReport' [-Wunused-variable]
153 | char transferReport[256];
| ^~~~~~~~~~~~~~
async.c:141:12: warning: unused variable 'nDown' [-Wunused-variable]
141 | int nUp, nDown;
| ^~~~~
async.c:141:7: warning: unused variable 'nUp' [-Wunused-variable]
141 | int nUp, nDown;
| ^~~
async.c:140:10: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
140 | int i, rc;
| ^~
async.c:237:30: warning: '%s' directive writing up to 2047 bytes into a region of size between 1024 and 2047 [-Wformat-overflow=]
237 | sprintf (message, "%s\n%s", pTi->filename, pTi->result ? pTi->errorDesc : "successfully transferred");
| ^~
In file included from /usr/include/stdio.h:866,
from async.c:29:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 3072 bytes into a destination of size 2048
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __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/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 -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
47 | char *readFile (filename);
| ^~~~
transfer_window.c: In function 'transfer_details':
transfer_window.c:113:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
113 | 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=]
124 | "Action: %s\n"
| ^~~~~~~~~~~~~~~~~~~~~
......
137 | bytes_to_human_readable (pTi->size, tmpSize), pTi->size,
| ~~~~~~~~~
| |
| uint64_t {aka long unsigned int}
transfer_window.c:127:32: note: format string is defined here
127 | "Size: %s (%lld bytes)\n"
| ~~~^
| |
| long long int
| %ld
transfer_window.c:124:11: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
124 | "Action: %s\n"
| ^~~~~~~~~~~~~~~~~~~~~
......
138 | bytes_to_human_readable (pTi->worked, tmpWorked), pTi->worked,
| ~~~~~~~~~~~
| |
| uint64_t {aka long unsigned int}
transfer_window.c:128:39: note: format string is defined here
128 | "Transferred: %s (%lld bytes)\n"
| ~~~^
| |
| long long int
| %ld
transfer_window.c:153:7: warning: unused variable 'result' [-Wunused-variable]
153 | int result = gtk_dialog_run (GTK_DIALOG (dialog));
| ^~~~~~
transfer_window.c:113:14: warning: unused variable 'ok_button' [-Wunused-variable]
113 | GtkWidget *ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK);
| ^~~~~~~~~
transfer_window.c: In function 'transfer_cancel':
transfer_window.c:176:3: warning: implicit declaration of function 'lockSFTPQueue' [-Wimplicit-function-declaration]
176 | lockSFTPQueue (__func__, TRUE);
| ^~~~~~~~~~~~~
transfer_window.c:170:21: warning: unused variable 'iter' [-Wunused-variable]
170 | GtkTreeIter iter;
| ^~~~
transfer_window.c:169:21: warning: unused variable 'model' [-Wunused-variable]
169 | GtkTreeModel *model;
| ^~~~~
transfer_window.c:168:21: warning: unused variable 'selection' [-Wunused-variable]
168 | GtkTreeSelection *selection;
| ^~~~~~~~~
transfer_window.c: In function 'transfer_remove_completed':
transfer_window.c:207:7: warning: unused variable 'i' [-Wunused-variable]
207 | int i, nDel = 0;
| ^
transfer_window.c: In function 'transfer_popup_menu':
transfer_window.c:260:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
260 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
transfer_window.c:261:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations]
261 | 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
210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
transfer_window.c:263:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations]
263 | 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
130 | GtkUIManager *gtk_ui_manager_new (void);
| ^~~~~~~~~~~~~~~~~~
transfer_window.c:264:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations]
264 | 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
138 | 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]
266 | 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
158 | 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]
268 | 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
149 | 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]
272 | 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
138 | 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]
444 | GtkTreeIter iter;
| ^~~~
transfer_window.c: In function 'refresh_transfer_list_store':
transfer_window.c:581:7: warning: unused variable 'n' [-Wunused-variable]
581 | int n=0;
| ^
transfer_window.c:577:21: warning: unused variable 'actionIcon' [-Wunused-variable]
577 | GdkPixbuf *icon, *actionIcon;
| ^~~~~~~~~~
transfer_window.c: In function 'transfer_window_refresh':
transfer_window.c:682:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
682 | sprintf (tmp_s, "%lld", pTi->size);
| ~~~^ ~~~~~~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long int
| %ld
transfer_window.c:642:14: warning: variable 'sensitive' set but not used [-Wunused-but-set-variable]
642 | gboolean sensitive;
| ^~~~~~~~~
transfer_window.c: In function 'view_transfer_window':
transfer_window.c:740:7: warning: implicit declaration of function 'msgbox_error' [-Wimplicit-function-declaration]
740 | msgbox_error ("Can't load user interface file:\n%s", error->message);
| ^~~~~~~~~~~~
In file included from /usr/include/gtk-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]
58 | #define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget))
| ^
transfer_window.c:759:32: note: in expansion of macro 'GTK_WIDGET'
759 | GtkWindow *scrolled_window = GTK_WIDGET (gtk_builder_get_object (builder, "scrolled_window"));
| ^~~~~~~~~~
transfer_window.c:820:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
820 | 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
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
transfer_window.c:820:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
820 | 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
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
transfer_window.c:837:27: warning: unused variable 'iter' [-Wunused-variable]
837 | GList *children, *iter;
| ^~~~
transfer_window.c:837:16: warning: unused variable 'children' [-Wunused-variable]
837 | GList *children, *iter;
| ^~~~~~~~
transfer_window.c:728:17: warning: unused variable 'tmp' [-Wunused-variable]
728 | char ui[256], tmp[512];
| ^~~
transfer_window.c:724:7: warning: unused variable 'i' [-Wunused-variable]
724 | int i;
| ^
transfer_window.c:732:19: warning: '/transfer.glade' directive writing 15 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
732 | sprintf (ui, "%s/transfer.glade", globals.data_dir);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __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/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 -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
47 | char *readFile (filename);
| ^~~~
ssh.c: In function 'ssh_list_dump':
ssh.c:159:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
159 | if (c = ssh_node_open_channel (node))
| ^
ssh.c: In function 'ssh_node_connect':
ssh.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
212 | if (p_node = ssh_list_search (p_ssh_list, p_auth->host, p_auth->user))
| ^~~~~~
ssh.c:234:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
234 | if (c = ssh_node_open_channel (p_node))
| ^
ssh.c: In function 'lt_ssh_connect':
ssh.c:809:3: warning: implicit declaration of function 'lockSSH'; did you mean 'lockf'? [-Wimplicit-function-declaration]
809 | lockSSH (__func__, TRUE);
| ^~~~~~~
| lockf
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/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 -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
47 | char *readFile (filename);
| ^~~~
connection.c: In function 'detect_serverlist_file_version':
connection.c:130:8: warning: unused variable 'v2_s' [-Wunused-variable]
130 | char v2_s[] = ";mtsl-2";
| ^~~~
connection.c:127:8: warning: unused variable 'line' [-Wunused-variable]
127 | char line[1024];
| ^~~~
connection.c:126:9: warning: unused variable 'fp' [-Wunused-variable]
126 | FILE *fp;
| ^~
connection.c: In function 'save_connections_to_file_xml':
connection.c:569:7: warning: unused variable 'i' [-Wunused-variable]
569 | int i;
| ^
connection.c: In function 'save_connections_to_file_xml_from_glist':
connection.c:639:22: warning: unused variable 'c' [-Wunused-variable]
639 | struct Connection *c;
| ^
connection.c:637:7: warning: unused variable 'i' [-Wunused-variable]
637 | int i;
| ^
connection.c: In function 'read_connection_node':
connection.c:720:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
720 | if (child = xml_node_get_child (node, "last_user"))
| ^~~~~
connection.c:723:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
723 | if (child = xml_node_get_child (node, "user"))
| ^~~~~
connection.c:728:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
728 | if (child = xml_node_get_child (node, "password"))
| ^~~~~
connection.c:747:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
747 | if (child = xml_node_get_child (node, "directory"))
| ^~~~~
connection.c:750:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
750 | if (child = xml_node_get_child (node, "note"))
| ^~~~~
connection.c:753:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
753 | if (node_auth = xml_node_get_child (node, "authentication"))
| ^~~~~~~~~
connection.c:763:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
763 | if (child = xml_node_get_child (node_auth, "mode"))
| ^~~~~
connection.c:770:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
770 | if (child = xml_node_get_child (node_auth, "auth_user"))
| ^~~~~
connection.c:773:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
773 | if (child = xml_node_get_child (node_auth, "auth_password"))
| ^~~~~
connection.c:789:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
789 | if (child = xml_node_get_child (node_auth, "identityFile"))
| ^~~~~
connection.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
794 | if (node_hist = xml_node_get_child (node, "history"))
| ^~~~~~~~~
connection.c:812:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
812 | if (child = xml_node_get_child (node, "upload_dir"))
| ^~~~~
connection.c:815:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
815 | if (child = xml_node_get_child (node, "download_dir"))
| ^~~~~
connection.c:819:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
819 | if (child = xml_node_get_child (node, "x11Forwarding"))
| ^~~~~
connection.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
827 | if (child = xml_node_get_child (node, "options"))
| ^~~~~
connection.c:699:20: warning: unused variable 'pc' [-Wunused-variable]
699 | char name[256], *pc;
| ^~
connection.c:699:8: warning: unused variable 'name' [-Wunused-variable]
699 | char name[256], *pc;
| ^~~~
connection.c: In function 'read_xml_connection_item':
connection.c:862:32: warning: unused variable 'node_hist' [-Wunused-variable]
862 | XMLNode *child, *node_auth, *node_hist;
| ^~~~~~~~~
connection.c:862:20: warning: unused variable 'node_auth' [-Wunused-variable]
862 | XMLNode *child, *node_auth, *node_hist;
| ^~~~~~~~~
connection.c:862:12: warning: unused variable 'child' [-Wunused-variable]
862 | XMLNode *child, *node_auth, *node_hist;
| ^~~~~
connection.c: In function 'get_xml_doc':
connection.c:915:20: warning: unused variable 'tmp_s' [-Wunused-variable]
915 | char line[2048], tmp_s[32];
| ^~~~~
connection.c: In function 'load_connections_from_file_xml':
connection.c:967:8: warning: unused variable 'line' [-Wunused-variable]
967 | char line[2048], tmp_s[32];
| ^~~~
connection.c:965:22: warning: unused variable 'p_conn' [-Wunused-variable]
965 | struct Connection *p_conn;
| ^~~~~~
connection.c: In function 'load_connections':
connection.c:1082:22: warning: unused variable 'p_conn' [-Wunused-variable]
1082 | struct Connection *p_conn;
| ^~~~~~
connection.c: In function 'count_current_connections':
connection.c:1121:11: warning: implicit declaration of function 'cl_count' [-Wimplicit-function-declaration]
1121 | return (cl_count (&conn_list));
| ^~~~~~~~
connection.c: In function 'copy_button_clicked_cb':
connection.c:1250:11: warning: implicit declaration of function 'get_selected_connection'; did you mean 'add_recent_connection'? [-Wimplicit-function-declaration]
1250 | found = get_selected_connection (select, &conn);
| ^~~~~~~~~~~~~~~~~~~~~~~
| add_recent_connection
connection.c: In function 'select_private_key_cb':
connection.c:1359:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
1359 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
| ^~~~~~~~~~~~~~~~
connection.c:1360:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
1360 | 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]
1373 | gtk_entry_set_text (authWidgets.entry_private_key, gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
In file included from /usr/include/gtk-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 *'}
253 | void gtk_entry_set_text (GtkEntry *entry,
| ~~~~~~~~~~~~~~~^~~~~
connection.c: In function 'clear_private_key_cb':
connection.c:1382:34: warning: passing argument 1 of 'gtk_entry_set_text' from incompatible pointer type [-Wincompatible-pointer-types]
1382 | gtk_entry_set_text (authWidgets.entry_private_key, "");
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
In file included from /usr/include/gtk-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 *'}
253 | void gtk_entry_set_text (GtkEntry *entry,
| ~~~~~~~~~~~~~~~^~~~~
connection.c: In function 'add_update_connection':
connection.c:1528:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
1528 | return;
| ^~~~~~
connection.c:1485:1: note: declared here
1485 | add_update_connection (struct GroupNode *p_node, struct Connection *p_conn_model)
| ^~~~~~~~~~~~~~~~~~~~~
connection.c:1827:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
1827 | 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]
1828 | 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]
1856 | connection_copy (&conn_new, p_conn);
| ^~~~~~~~~~~~~~~
| connection_init
connection.c:1960:19: warning: implicit declaration of function 'refresh_search_completion' [-Wimplicit-function-declaration]
1960 | refresh_search_completion ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
connection.c:1622:7: warning: unused variable 'sig_handler_prot' [-Wunused-variable]
1622 | int sig_handler_prot = g_signal_connect (G_OBJECT (GTK_COMBO_BOX (protocol_combo)), "changed", G_CALLBACK (change_protocol_cb), NULL);
| ^~~~~~~~~~~~~~~~
connection.c:1509:32: warning: variable 'p_conn_ctrl' set but not used [-Wunused-but-set-variable]
1509 | struct Connection conn_new, *p_conn_ctrl = NULL;
| ^~~~~~~~~~~
connection.c:1507:7: warning: unused variable 'len' [-Wunused-variable]
1507 | int len;
| ^~~
connection.c:1506:9: warning: unused variable 'p_enc_b64' [-Wunused-variable]
1506 | char *p_enc_b64;
| ^~~~~~~~~
connection.c:1505:9: warning: unused variable 'p_enc' [-Wunused-variable]
1505 | char *p_enc;
| ^~~~~
connection.c:1496:14: warning: unused variable 'table' [-Wunused-variable]
1496 | GtkWidget *table;
| ^~~~~
connection.c:1495:30: warning: variable 'ok_button' set but not used [-Wunused-but-set-variable]
1495 | GtkWidget *cancel_button, *ok_button;
| ^~~~~~~~~
connection.c:1495:14: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable]
1495 | GtkWidget *cancel_button, *ok_button;
| ^~~~~~~~~~~~~
connection.c:1493:19: warning: unused variable 'y_pad' [-Wunused-variable]
1493 | int x_pad = 10, y_pad = 5;
| ^~~~~
connection.c:1493:7: warning: unused variable 'x_pad' [-Wunused-variable]
1493 | int x_pad = 10, y_pad = 5;
| ^~~~~
connection.c:1491:9: warning: unused variable 'emu_tmp' [-Wunused-variable]
1491 | char *emu_tmp, connection_name[1024], s_tmp[1024];
| ^~~~~~~
connection.c:1490:19: warning: unused variable 'temp' [-Wunused-variable]
1490 | char title[64], temp[256];
| ^~~~
connection.c: In function 'add_update_folder':
connection.c:2035:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
2035 | 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]
2036 | 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]
1997 | GtkWidget *cancel_button, *ok_button;
| ^~~~~~~~~
connection.c:1997:14: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable]
1997 | GtkWidget *cancel_button, *ok_button;
| ^~~~~~~~~~~~~
connection.c:1995:10: warning: unused variable 'proceed' [-Wunused-variable]
1995 | int i, proceed, err_name_validation, result;
| ^~~~~~~
connection.c:1995:7: warning: unused variable 'i' [-Wunused-variable]
1995 | int i, proceed, err_name_validation, result;
| ^
connection.c:1993:19: warning: unused variable 'temp' [-Wunused-variable]
1993 | char title[64], temp[256];
| ^~~~
connection.c: In function 'rebuild_tree_store':
connection.c:2196:3: warning: implicit declaration of function 'cl_check' [-Wimplicit-function-declaration]
2196 | cl_check (&conn_list);
| ^~~~~~~~
connection.c: In function 'cursor_changed_cb':
connection.c:2290:21: warning: unused variable 'selection' [-Wunused-variable]
2290 | GtkTreeSelection *selection;
| ^~~~~~~~~
connection.c: In function 'row_activated_quick_cb':
connection.c:2413:17: warning: implicit declaration of function 'log_on' [-Wimplicit-function-declaration]
2413 | retcode = log_on (p_connection_tab);
| ^~~~~~
connection.c:2417:11: warning: implicit declaration of function 'connection_tab_add'; did you mean 'connection_tab_new'? [-Wimplicit-function-declaration]
2417 | connection_tab_add (p_connection_tab);
| ^~~~~~~~~~~~~~~~~~
| connection_tab_new
connection.c:2389:10: warning: unused variable 'sel_name' [-Wunused-variable]
2389 | gchar *sel_name;
| ^~~~~~~~
connection.c:2388:8: warning: unused variable 'sel_port' [-Wunused-variable]
2388 | gint sel_port;
| ^~~~~~~~
connection.c:2387:20: warning: unused variable 'p_prot' [-Wunused-variable]
2387 | struct Protocol *p_prot;
| ^~~~~~
connection.c:2386:34: warning: unused variable 'conn1' [-Wunused-variable]
2386 | struct Connection *p_conn_new, conn1;
| ^~~~~
connection.c:2386:22: warning: unused variable 'p_conn_new' [-Wunused-variable]
2386 | struct Connection *p_conn_new, conn1;
| ^~~~~~~~~~
connection.c:2385:22: warning: unused variable 'p_conn_selected' [-Wunused-variable]
2385 | struct Connection *p_conn_selected, conn;
| ^~~~~~~~~~~~~~~
connection.c:2384:12: warning: unused variable 'have_iter' [-Wunused-variable]
2384 | gboolean have_iter;
| ^~~~~~~~~
connection.c:2383:15: warning: unused variable 'iter' [-Wunused-variable]
2383 | GtkTreeIter iter;
| ^~~~
connection.c: In function 'on_drag_data_inserted':
connection.c:2523:23: warning: unused variable 'tree_view' [-Wunused-variable]
2523 | struct GtkTreeView *tree_view = (struct GtkTreeView *) user_data;
| ^~~~~~~~~
connection.c: In function 'create_connections_tree_view':
connection.c:2671:10: warning: unused variable 'sel_name' [-Wunused-variable]
2671 | gchar *sel_name;
| ^~~~~~~~
connection.c:2670:8: warning: unused variable 'sel_port' [-Wunused-variable]
2670 | gint sel_port;
| ^~~~~~~~
connection.c:2669:20: warning: unused variable 'p_prot' [-Wunused-variable]
2669 | struct Protocol *p_prot;
| ^~~~~~
connection.c:2668:22: warning: unused variable 'p_conn_new' [-Wunused-variable]
2668 | struct Connection *p_conn_new;
| ^~~~~~~~~~
connection.c:2667:22: warning: unused variable 'p_conn_selected' [-Wunused-variable]
2667 | struct Connection *p_conn_selected;
| ^~~~~~~~~~~~~~~
connection.c:2665:7: warning: unused variable 'retcode' [-Wunused-variable]
2665 | int retcode = 0;
| ^~~~~~~
connection.c:2664:7: warning: unused variable 'port' [-Wunused-variable]
2664 | int port;
| ^~~~
connection.c:2663:43: warning: unused variable 'port_tmp' [-Wunused-variable]
2663 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~~~~~
connection.c:2663:29: warning: unused variable 'protocol' [-Wunused-variable]
2663 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~~~~~
connection.c:2663:18: warning: unused variable 'host' [-Wunused-variable]
2663 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~
connection.c:2663:8: warning: unused variable 'name' [-Wunused-variable]
2663 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~
connection.c:2662:20: warning: unused variable 's_path' [-Wunused-variable]
2662 | char line[1024], s_path[16];
| ^~~~~~
connection.c:2662:8: warning: unused variable 'line' [-Wunused-variable]
2662 | char line[1024], s_path[16];
| ^~~~
connection.c:2661:9: warning: unused variable 'fp' [-Wunused-variable]
2661 | FILE *fp;
| ^~
connection.c:2657:15: warning: unused variable 'iter' [-Wunused-variable]
2657 | GtkTreeIter iter;
| ^~~~
connection.c:2656:17: warning: unused variable 'tree_model' [-Wunused-variable]
2656 | GtkTreeModel *tree_model;
| ^~~~~~~~~~
connection.c: In function 'get_selected_connection':
connection.c:2776:12: warning: unused variable 'have_iter' [-Wunused-variable]
2776 | gboolean have_iter;
| ^~~~~~~~~
connection.c: In function 'edit_button_clicked_cb':
connection.c:2877:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2877 | if (p_node = add_update_connection (g_selected_node, NULL))
| ^~~~~~
connection.c:2882:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2882 | if (p_node = add_update_folder (g_selected_node))
| ^~~~~~
connection.c: In function 'delete_button_clicked_cb':
connection.c:2952:16: warning: unused variable 'path' [-Wunused-variable]
2952 | GtkTreePath *path;
| ^~~~
connection.c: In function 'ok_button_clicked_cb':
connection.c:3018:18: warning: unused variable 'buffer' [-Wunused-variable]
3018 | GtkTextBuffer *buffer = (GtkTextBuffer *) user_data;
| ^~~~~~
connection.c: In function 'choose_manage_connection':
connection.c:3151:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
3151 | 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
122 | 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]
3160 | 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
122 | 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]
3169 | 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
122 | 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]
3178 | 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
122 | 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]
3187 | 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
122 | 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]
3247 | 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
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
connection.c:3247:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
3247 | 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]
3252 | 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
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
connection.c:3252:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
3252 | GtkWidget *ok_button = gtk_button_new_from_stock (GTK_STOCK_CONNECT);
| ^~~~~~~~~
connection.c:3257:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
3257 | 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
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
connection.c:3278:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
3278 | 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
60 | 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]
3314 | lterm_iteration ();
| ^~~~~~~~~~~~~~~
| gtk_main_iteration
connection.c:3064:10: warning: unused variable 'sel_name' [-Wunused-variable]
3064 | gchar *sel_name;
| ^~~~~~~~
connection.c:3063:8: warning: unused variable 'sel_port' [-Wunused-variable]
3063 | gint sel_port;
| ^~~~~~~~
connection.c:3062:21: warning: unused variable 'p_node' [-Wunused-variable]
3062 | struct GroupNode *p_node;
| ^~~~~~
connection.c:3061:20: warning: unused variable 'p_prot' [-Wunused-variable]
3061 | struct Protocol *p_prot;
| ^~~~~~
connection.c:3060:22: warning: unused variable 'p_conn_new' [-Wunused-variable]
3060 | struct Connection *p_conn_new;
| ^~~~~~~~~~
connection.c:3059:22: warning: unused variable 'p_conn_selected' [-Wunused-variable]
3059 | struct Connection *p_conn_selected;
| ^~~~~~~~~~~~~~~
connection.c:3055:7: warning: unused variable 'port' [-Wunused-variable]
3055 | int port;
| ^~~~
connection.c:3053:43: warning: unused variable 'port_tmp' [-Wunused-variable]
3053 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~~~~~
connection.c:3053:29: warning: unused variable 'protocol' [-Wunused-variable]
3053 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~~~~~
connection.c:3053:18: warning: unused variable 'host' [-Wunused-variable]
3053 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~
connection.c:3053:8: warning: unused variable 'name' [-Wunused-variable]
3053 | char name[64], host[128], protocol[64], port_tmp[16];
| ^~~~
connection.c:3052:20: warning: unused variable 's_path' [-Wunused-variable]
3052 | char line[1024], s_path[16];
| ^~~~~~
connection.c:3052:8: warning: unused variable 'line' [-Wunused-variable]
3052 | char line[1024], s_path[16];
| ^~~~
connection.c:3051:9: warning: unused variable 'fp' [-Wunused-variable]
3051 | FILE *fp;
| ^~
connection.c:3049:12: warning: unused variable 'have_iter' [-Wunused-variable]
3049 | gboolean have_iter;
| ^~~~~~~~~
connection.c:3038:22: warning: unused variable 'column' [-Wunused-variable]
3038 | GtkTreeViewColumn *column;
| ^~~~~~
connection.c:3037:20: warning: unused variable 'cell' [-Wunused-variable]
3037 | GtkCellRenderer *cell;
| ^~~~
connection.c:3036:15: warning: unused variable 'iter' [-Wunused-variable]
3036 | GtkTreeIter iter;
| ^~~~
connection.c:3032:14: warning: unused variable 'vpaned' [-Wunused-variable]
3032 | GtkWidget *vpaned;
| ^~~~~~
connection.c: In function 'create_quick_launch_window':
connection.c:3389:3: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations]
3389 | 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
769 | 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]
3449 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
| ^~~~~~~~~~~~~~~~
connection.c:3450:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
3450 | GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
| ^~~~~~~~~~~~~~
connection.c:3446:22: warning: unused variable 'p_conn' [-Wunused-variable]
3446 | struct Connection *p_conn;
| ^~~~~~
connection.c:3445:7: warning: unused variable 'err' [-Wunused-variable]
3445 | int err = 0;
| ^~~
connection.c: In function 'connection_import_MobaXterm':
connection.c:3586:9: warning: implicit declaration of function 'list_get_nth' [-Wimplicit-function-declaration]
3586 | list_get_nth (line, 1, '=', conn.name);
| ^~~~~~~~~~~~
connection.c:3579:19: warning: unused variable 'sshId' [-Wunused-variable]
3579 | const int sshId = '0';
| ^~~~~
connection.c:3577:34: warning: variable 'pConn' set but not used [-Wunused-but-set-variable]
3577 | struct Connection conn, *pConn;
| ^~~~~
connection.c:3513:15: warning: unused variable 'err' [-Wunused-variable]
3513 | int result, err = 0;
| ^~~
connection.c: In function 'connection_import_Putty':
connection.c:3616:28: warning: unused variable 'pConn' [-Wunused-variable]
3616 | struct Connection conn, *pConn;
| ^~~~~
connection.c:3613:15: warning: unused variable 'err' [-Wunused-variable]
3613 | int result, err = 0, n = 0;
| ^~~
connection.c: In function 'connection_export_file_chooser':
connection.c:3705:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
3705 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
| ^~~~~~~~~~~~~~~~
connection.c:3706:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
3706 | GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
| ^~~~~~~~~~~~~~
connection.c: In function 'connection_export_CSV':
connection.c:3915:47: warning: unused variable 'template' [-Wunused-variable]
3915 | char filename[512], templateFilename[512], *template, *connectionEntry;
| ^~~~~~~~
connection.c:3915:23: warning: unused variable 'templateFilename' [-Wunused-variable]
3915 | char filename[512], templateFilename[512], *template, *connectionEntry;
| ^~~~~~~~~~~~~~~~
At top level:
connection.c:2645:23: warning: 'row_targets' defined but not used [-Wunused-variable]
2645 | static GtkTargetEntry row_targets[] = {
| ^~~~~~~~~~~
connection.c: In function 'add_update_connection':
connection.c:1519:19: warning: '/edit-connection.glade' directive writing 22 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
1519 | sprintf (ui, "%s/edit-connection.glade", globals.data_dir);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connection.c: In function 'duplicate_connection_button_clicked_cb':
connection.c:2914:29: warning: ' (' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2914 | sprintf (new_name, "%s (%d)", p_conn->name, i);
| ^~
connection.c:2914:26: note: directive argument in the range [1, 2147483647]
2914 | sprintf (new_name, "%s (%d)", p_conn->name, i);
| ^~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 5 and 269 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from connection.c:37:
connection.c: In function 'delete_button_clicked_cb':
connection.c:2961:40: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
2961 | sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
connection.c:2961:56: note: format string is defined here
2961 | sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 42 and 297 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from connection.c:37:
connection.c:2959:40: warning: '%s' directive writing up to 255 bytes into a region of size 237 [-Wformat-overflow=]
2959 | sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
connection.c:2959:60: note: format string is defined here
2959 | sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connection.c: In function 'connection_import_MobaXterm':
connection.c:3600:17: warning: 'pFolderNode' may be used uninitialized in this function [-Wmaybe-uninitialized]
3600 | pNode = group_node_add_child (pFolderNode, GN_TYPE_CONNECTION, conn.name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connection.c: In function 'connection_export_CSV':
connection.c:3940:7: warning: 'connectionEntry' may be used uninitialized in this function [-Wmaybe-uninitialized]
3940 | free (connectionEntry);
| ^~~~~~~~~~~~~~~~~~~~~~
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/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 -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
47 | char *readFile (filename);
| ^~~~
sftp-panel.c: In function 'sftp_set_status':
sftp-panel.c:162:8: warning: unused variable 'text' [-Wunused-variable]
162 | char text[4096];
| ^~~~
sftp-panel.c: In function 'sftp_copy_file_upload':
sftp-panel.c:267:3: warning: implicit declaration of function 'lockSSH' [-Wimplicit-function-declaration]
267 | lockSSH (__func__, TRUE);
| ^~~~~~~
sftp-panel.c: In function 'sftp_copy_file_download':
sftp-panel.c:345:25: warning: unused variable 'rc' [-Wunused-variable]
345 | int nbytes, nwritten, rc;
| ^~
sftp-panel.c: In function 'upload_directory':
sftp-panel.c:489:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
489 | if (pc = (char *) strrchr (rootdir, '/'))
| ^~
sftp-panel.c: In function 'download_directory':
sftp-panel.c:586:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
586 | if (pc = (char *) strrchr (rootdir, '/'))
| ^~
sftp-panel.c: In function 'sftp_panel_check_inotify':
sftp-panel.c:867:18: warning: unused variable 'timeout' [-Wunused-variable]
867 | struct timeval timeout;
| ^~~~~~~
sftp-panel.c:822:12: warning: unused variable 'isModified' [-Wunused-variable]
822 | gboolean isModified = FALSE;
| ^~~~~~~~~~
sftp-panel.c: In function 'sftp_panel_create_mirror_file':
sftp-panel.c:925:8: warning: unused variable 'mirrorFile' [-Wunused-variable]
925 | char mirrorFile[2048];
| ^~~~~~~~~~
sftp-panel.c:923:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
923 | int result;
| ^~~~~~
sftp-panel.c: In function 'sftp_panel_open':
sftp-panel.c:1067:12: warning: unused variable 'success' [-Wunused-variable]
1067 | gboolean success;
| ^~~~~~~
sftp-panel.c:1066:42: warning: unused variable 'command' [-Wunused-variable]
1066 | gchar *filename, *uri, filepath[2048], command[2048];
| ^~~~~~~
sftp-panel.c:1066:21: warning: unused variable 'uri' [-Wunused-variable]
1066 | gchar *filename, *uri, filepath[2048], command[2048];
| ^~~
sftp-panel.c:1065:8: warning: unused variable 'folder_name' [-Wunused-variable]
1065 | char folder_name[1024];
| ^~~~~~~~~~~
sftp-panel.c:1064:19: warning: unused variable 'i' [-Wunused-variable]
1064 | int create, rc, i;
| ^
sftp-panel.c:1064:15: warning: unused variable 'rc' [-Wunused-variable]
1064 | int create, rc, i;
| ^~
sftp-panel.c:1064:7: warning: unused variable 'create' [-Wunused-variable]
1064 | int create, rc, i;
| ^~~~~~
sftp-panel.c: In function 'sftp_panel_create_file':
sftp-panel.c:1159:15: warning: unused variable 'rc' [-Wunused-variable]
1159 | int create, rc = 0;
| ^~
sftp-panel.c: In function 'sftp_panel_rename':
sftp-panel.c:1218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1218 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename))
| ^
sftp-panel.c:1202:8: warning: unused variable 'folder_name' [-Wunused-variable]
1202 | char folder_name[1024];
| ^~~~~~~~~~~
sftp-panel.c:1201:7: warning: unused variable 'create' [-Wunused-variable]
1201 | int create, rc;
| ^~~~~~
sftp-panel.c: In function 'sftp_panel_delete':
sftp-panel.c:1319:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1319 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename))
| ^
sftp-panel.c:1301:8: warning: unused variable 'folder_name' [-Wunused-variable]
1301 | char folder_name[1024];
| ^~~~~~~~~~~
sftp-panel.c:1300:7: warning: unused variable 'create' [-Wunused-variable]
1300 | int create, rc;
| ^~~~~~
sftp-panel.c: In function 'sftp_panel_change_time':
sftp-panel.c:1422:15: warning: pointer targets in passing argument 1 of 'localtime_r' differ in signedness [-Wpointer-sign]
1422 | localtime_r(&e->mtime, &dateTime);
| ^~~~~~~~~
| |
| long unsigned int *
In file included from /usr/include/glib-2.0/glib/gtypes.h:35,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/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:57: note: expected 'const time_t * restrict' {aka 'const long int * restrict'} but argument is of type 'long unsigned int *'
133 | extern struct tm *localtime_r (const time_t *__restrict __timer,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
sftp-panel.c:1437:54: warning: pointer targets in passing argument 2 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign]
1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day);
| ^~~~~
| |
| int *
In file included from /usr/include/gtk-3.0/gtk/gtk.h:55,
from sftp-panel.c:23:
/usr/include/gtk-3.0/gtk/gtkcalendar.h:157:19: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *'
157 | guint *year,
| ~~~~~~~~~~~~^~~~
sftp-panel.c:1437:61: warning: pointer targets in passing argument 3 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign]
1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day);
| ^~~~~~
| |
| int *
In file included from /usr/include/gtk-3.0/gtk/gtk.h:55,
from sftp-panel.c:23:
/usr/include/gtk-3.0/gtk/gtkcalendar.h:158:19: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *'
158 | guint *month,
| ~~~~~~~~~~~~^~~~~
sftp-panel.c:1437:69: warning: pointer targets in passing argument 4 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign]
1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day);
| ^~~~
| |
| int *
In file included from /usr/include/gtk-3.0/gtk/gtk.h:55,
from sftp-panel.c:23:
/usr/include/gtk-3.0/gtk/gtkcalendar.h:159:19: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'int *'
159 | guint *day);
| ~~~~~~~~~~~~^~~
sftp-panel.c:1476:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1476 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename))
| ^
sftp-panel.c:1489:77: warning: passing argument 3 of 'sftp_utimes' from incompatible pointer type [-Wincompatible-pointer-types]
1489 | rc = sftp_utimes (p_ssh_current->ssh_node->sftp, file_abs_path, &newFileTime);
| ^~~~~~~~~~~~
| |
| struct timeval (*)[2]
In file included from ssh.h:6,
from main.h:10,
from sftp-panel.c:33:
/usr/include/libssh/sftp.h:745:87: note: expected 'const struct timeval *' but argument is of type 'struct timeval (*)[2]'
745 | LIBSSH_API int sftp_utimes(sftp_session sftp, const char *file, const struct timeval *times);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
sftp-panel.c:1430:1: warning: label 'run_dialog' defined but not used [-Wunused-label]
1430 | run_dialog:
| ^~~~~~~~~~
sftp-panel.c:1367:8: warning: unused variable 'folder_name' [-Wunused-variable]
1367 | char folder_name[1024];
| ^~~~~~~~~~~
sftp-panel.c:1365:23: warning: unused variable 'i' [-Wunused-variable]
1365 | int result, rc = 0, i;
| ^
sftp-panel.c: In function 'refresh_panel_history':
sftp-panel.c:1618:10: warning: unused variable 's' [-Wunused-variable]
1618 | gchar *s;
| ^
sftp-panel.c:1617:10: warning: unused variable 'n_items' [-Wunused-variable]
1617 | int i, n_items;
| ^~~~~~~
sftp-panel.c:1616:20: warning: unused variable 'b' [-Wunused-variable]
1616 | struct Bookmark *b;
| ^
sftp-panel.c: In function 'sftp_panel_change_directory':
sftp-panel.c:1716:7: warning: unused variable 'rc' [-Wunused-variable]
1716 | int rc;
| ^~
sftp-panel.c: In function 'row_activated_sftp_cb':
sftp-panel.c:1798:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1798 | if (e = dl_search_by_name (&p_ssh_current->dirlist, name))
| ^
sftp-panel.c:1786:7: warning: unused variable 'retcode' [-Wunused-variable]
1786 | int retcode;
| ^~~~~~~
sftp-panel.c:1785:12: warning: unused variable 'have_iter' [-Wunused-variable]
1785 | gboolean have_iter;
| ^~~~~~~~~
sftp-panel.c: In function 'sftp_go_up_cb':
sftp-panel.c:1833:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1833 | if (pc = (char *) strrchr (newpath, '/'))
| ^~
sftp-panel.c: In function 'follow_terminal_folder':
sftp-panel.c:1905:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1905 | if (path = get_remote_directory ())
| ^~~~
sftp-panel.c: In function 'sort_name_compare_func':
sftp-panel.c:2035:14: warning: unused variable 'size2' [-Wunused-variable]
2035 | int size1, size2;
| ^~~~~
sftp-panel.c:2035:7: warning: unused variable 'size1' [-Wunused-variable]
2035 | int size1, size2;
| ^~~~~
sftp-panel.c: In function 'sftp_cell_tooltip_cb':
sftp-panel.c:2120:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2120 | if (e = dl_search_by_name (&p_ssh_current->dirlist, name))
| ^
sftp-panel.c: In function 'sftp_popup_menu':
sftp-panel.c:2153:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
2153 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2154:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations]
2154 | 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
210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2156:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations]
2156 | 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
130 | GtkUIManager *gtk_ui_manager_new (void);
| ^~~~~~~~~~~~~~~~~~
sftp-panel.c:2157:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations]
2157 | 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
138 | 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]
2158 | 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
138 | 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]
2160 | 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
158 | 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]
2161 | 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
158 | 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]
2163 | 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
149 | 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]
2167 | 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
138 | 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]
2249 | 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
103 | const gchar* gtk_action_get_name (GtkAction *action);
| ^~~~~~~~~~~~~~~~~~~
sftp-panel.c:2249:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
2249 | 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
96 | 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]
2355 | 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
122 | 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]
2359 | 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
122 | 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]
2363 | 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
122 | 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]
2367 | 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
122 | 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]
2371 | 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
122 | 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]
2375 | 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
122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2548:6: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
2548 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2559:11: warning: 'gtk_action_new' is deprecated [-Wdeprecated-declarations]
2559 | 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
98 | GtkAction *gtk_action_new (const gchar *name,
| ^~~~~~~~~~~~~~
sftp-panel.c:2561:11: warning: 'gtk_action_group_add_action' is deprecated [-Wdeprecated-declarations]
2561 | 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
200 | void gtk_action_group_add_action (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2569:15: warning: 'gtk_action_new' is deprecated [-Wdeprecated-declarations]
2569 | 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
98 | GtkAction *gtk_action_new (const gchar *name,
| ^~~~~~~~~~~~~~
sftp-panel.c:2570:15: warning: 'gtk_action_group_add_action' is deprecated [-Wdeprecated-declarations]
2570 | 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
200 | void gtk_action_group_add_action (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2505:17: warning: unused variable 'icon_theme' [-Wunused-variable]
2505 | GtkIconTheme *icon_theme;
| ^~~~~~~~~~
sftp-panel.c:2422:15: warning: unused variable 'iter' [-Wunused-variable]
2422 | GtkTreeIter iter;
| ^~~~
sftp-panel.c: In function 'load_additional_ssh_menu':
sftp-panel.c:2782:15: warning: unused variable 'i' [-Wunused-variable]
2782 | int action, i;
| ^
sftp-panel.c: In function 'load_types':
sftp-panel.c:2875:36: warning: unused variable 'pc' [-Wunused-variable]
2875 | char filename[256], tmp_s[128], *pc;
| ^~
sftp-panel.c:2875:23: warning: unused variable 'tmp_s' [-Wunused-variable]
2875 | char filename[256], tmp_s[128], *pc;
| ^~~~~
sftp-panel.c: In function 'show_output':
sftp-panel.c:2962:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
2962 | GTK_STOCK_OK,
| ^~~~~~~~~~~~
sftp-panel.c:3005:3: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations]
3005 | 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
58 | gint gdk_screen_get_width (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~
sftp-panel.c:3005:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
3005 | 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
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:3007:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3007 | if (font_desc = pango_font_description_from_string (prefs.font_fixed))
| ^~~~~~~~~
sftp-panel.c:3009:7: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations]
3009 | 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
769 | void gtk_widget_modify_font (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:3013:8: warning: unused variable 'result' [-Wunused-variable]
3013 | gint result = gtk_dialog_run (GTK_DIALOG (dialog));
| ^~~~~~
sftp-panel.c:3002:17: warning: unused variable 'w_height' [-Wunused-variable]
3002 | gint w_width, w_height;
| ^~~~~~~~
sftp-panel.c:3002:8: warning: unused variable 'w_width' [-Wunused-variable]
3002 | gint w_width, w_height;
| ^~~~~~~
sftp-panel.c: In function 'sftp_queue_count':
sftp-panel.c:3044:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
3044 | return;
| ^~~~~~
sftp-panel.c:3032:1: note: declared here
3032 | sftp_queue_count (int *nUp, int *nDown)
| ^~~~~~~~~~~~~~~~
sftp-panel.c:3047:18: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
3047 | lockSFTPQueue (__func__, TRUE);
| ^~~~~~~~
In file included from sftp-panel.c:40:
async.h:9:27: note: expected 'char *' but argument is of type 'const char *'
9 | void lockSFTPQueue (char *caller, gboolean flagLock);
| ~~~~~~^~~~~~
sftp-panel.c:3066:18: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
3066 | lockSFTPQueue (__func__, FALSE);
| ^~~~~~~~
In file included from sftp-panel.c:40:
async.h:9:27: note: expected 'char *' but argument is of type 'const char *'
9 | void lockSFTPQueue (char *caller, gboolean flagLock);
| ~~~~~~^~~~~~
sftp-panel.c: In function 'sftp_queue_add':
sftp-panel.c:3125:22: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
3125 | lockSFTPQueue (__func__, TRUE);
| ^~~~~~~~
In file included from sftp-panel.c:40:
async.h:9:27: note: expected 'char *' but argument is of type 'const char *'
9 | void lockSFTPQueue (char *caller, gboolean flagLock);
| ~~~~~~^~~~~~
sftp-panel.c:3142:22: warning: passing argument 1 of 'lockSFTPQueue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
3142 | lockSFTPQueue (__func__, FALSE);
| ^~~~~~~~
In file included from sftp-panel.c:40:
async.h:9:27: note: expected 'char *' but argument is of type 'const char *'
9 | void lockSFTPQueue (char *caller, gboolean flagLock);
| ~~~~~~^~~~~~
sftp-panel.c:3153:50: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
3153 | rc = pthread_create (&thread_transfer, NULL, async_sftp_transfer, (void *)sftp_panel.queue);
| ^~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *)
In file included from /usr/include/glib-2.0/glib/deprecated/gthread.h:124,
from /usr/include/glib-2.0/glib.h:111,
from /usr/include/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:201:15: note: expected 'void * (*)(void *)' but argument is of type 'int (*)(void *)'
201 | void *(*__start_routine) (void *),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:3085:15: warning: unused variable 'info' [-Wunused-variable]
3085 | struct stat info;
| ^~~~
sftp-panel.c:3084:27: warning: unused variable 'e' [-Wunused-variable]
3084 | struct Directory_Entry *e;
| ^
sftp-panel.c: In function 'sftp_panel_copy_path_clipboard.part.0':
sftp-panel.c:1580:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1580 | sprintf (currentPath, "%s/%s", p_ssh_current->directory, filename);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'sftp_panel_create_mirror_file':
sftp-panel.c:932:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
932 | sprintf (mirrorDir, "%s/%s/%s", prefs.tempDir, get_current_connection_tab ()->connection.host, pSSH->directory);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 3 and 2304 bytes into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:959:29: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
959 | sprintf (ti.source, "%s/%s", pSSH->directory, filename);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:960:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
960 | sprintf (ti.destination, "%s/%s", mirrorDir, filename);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:1037:31: warning: '%s' directive writing up to 2047 bytes into a region of size between 1917 and 2044 [-Wformat-overflow=]
1037 | sprintf (command, "\"%s\" \"%s\"", prefs.text_editor, pMirror.localFile);
| ^~ ~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 6 and 2180 bytes into a destination of size 2048
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'sftp_panel_copy_path_terminal':
sftp-panel.c:1546:28: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1546 | sprintf (path, "%s/%s", p_ssh_current->directory, filename);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'load_types':
sftp-panel.c:2883:25: warning: '/types.xml' directive writing 10 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2883 | sprintf (filename, "%s/types.xml", globals.data_dir);
| ^~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2902:42: warning: '/types/' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2902 | sprintf (p_type->imagefile, "%s/types/%s", globals.img_dir, xml_node_get_value (node));
| ^~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'create_sftp_panel':
sftp-panel.c:2338:19: warning: '/sftp.glade' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2338 | sprintf (ui, "%s/sftp.glade", globals.data_dir);
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2512:25: warning: '/file_16.png' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2512 | sprintf (filename, "%s/file_16.png", globals.img_dir);
| ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2515:25: warning: '/directory_16.png' directive writing 17 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2515 | sprintf (filename, "%s/directory_16.png", globals.img_dir);
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 18 and 273 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2532:25: warning: '/additionals.xml' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2532 | sprintf (filename, "%s/additionals.xml", globals.data_dir);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:2535:27: warning: '/additionals.xml' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2535 | sprintf (filename, "%s/additionals.xml", globals.app_dir);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'refresh_sftp_list_store.part.0':
sftp-panel.c:2629:31: warning: '*' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
2629 | sprintf (tmp_s, "*%s*", p_ssh_current->match_string);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'sftp_panel_change_time':
sftp-panel.c:1376:19: warning: '/time.glade' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
1376 | sprintf (ui, "%s/time.glade", globals.data_dir);
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'row_activated_sftp_cb':
sftp-panel.c:1802:40: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1802 | sprintf (position, "%s/%s", p_ssh_current->directory, name);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c: In function 'sftp_queue_add':
sftp-panel.c:3117:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
3117 | sprintf (pTi->source, "%s/%s", p_ssh->directory, gfile);
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sftp-panel.c:3108:44: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
3108 | sprintf (pTi->destination, "%s/%s", p_ssh->directory, (char *) basename (gfile));
| ^
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __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/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 -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
47 | char *readFile (filename);
| ^~~~
gui.c: In function 'child_exit':
gui.c:540:9: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration]
540 | pid = wait (&status);
| ^~~~
gui.c: In function 'tabResetFlag':
gui.c:606:16: warning: operation on 'pConn->flags' may be undefined [-Wsequence-point]
606 | pConn->flags = pConn->flags &= ~bitmask;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'query_value':
gui.c:666:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
666 | 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
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
gui.c:703:7: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations]
703 | 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
58 | 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]
819 | if (conn_update_last_user (p_conn->name, p_conn->last_user))
| ^~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'show_login_mask':
gui.c:946:1: warning: label 'run_dialog' defined but not used [-Wunused-label]
946 | run_dialog:
| ^~~~~~~~~~
gui.c:888:23: warning: unused variable 'i' [-Wunused-variable]
888 | int result, rc = 0, i;
| ^
gui.c: In function 'connection_tab_close':
gui.c:1049:14: warning: unused variable 'child' [-Wunused-variable]
1049 | GtkWidget *child;
| ^~~~~
gui.c: In function 'close_button_clicked_cb':
gui.c:1112:22: warning: unused variable 'can_close' [-Wunused-variable]
1112 | int page, retcode, can_close;
| ^~~~~~~~~
gui.c:1112:13: warning: unused variable 'retcode' [-Wunused-variable]
1112 | int page, retcode, can_close;
| ^~~~~~~
gui.c:1112:7: warning: unused variable 'page' [-Wunused-variable]
1112 | int page, retcode, can_close;
| ^~~~
gui.c: In function 'query_tooltip_cb':
gui.c:1148:5: warning: 'vte_terminal_match_check' is deprecated [-Wdeprecated-declarations]
1148 | 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:58:7: note: declared here
58 | char *vte_terminal_match_check(VteTerminal *terminal,
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1152:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1152 | if (p_conn = get_connection_by_host (g_match.matched_string))
| ^~~~~~
gui.c: In function 'connection_tab_new':
gui.c:1205:3: warning: 'vte_terminal_match_add_gregex' is deprecated [-Wdeprecated-declarations]
1205 | 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:40:5: note: declared here
40 | int vte_terminal_match_add_gregex(VteTerminal *terminal,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1206:3: warning: 'vte_terminal_match_set_cursor_type' is deprecated [-Wdeprecated-declarations]
1206 | 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:52:6: note: declared here
52 | 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]
1274 | 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
122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1232:7: warning: unused variable 'font_size' [-Wunused-variable]
1232 | int font_size;
| ^~~~~~~~~
gui.c:1230:11: warning: unused variable 'h' [-Wunused-variable]
1230 | gint w, h;
| ^
gui.c:1230:8: warning: unused variable 'w' [-Wunused-variable]
1230 | gint w, h;
| ^
gui.c: In function 'connection_tab_getcwd':
gui.c:1473:11: warning: value computed is not used [-Wunused-value]
1473 | *pc ++;
| ^~~~~~
gui.c: In function 'connection_log_on_param':
gui.c:1500:7: warning: implicit declaration of function 'connection_copy'; did you mean 'connection_init'? [-Wimplicit-function-declaration]
1500 | connection_copy (&p_connection_tab->connection, p_conn);
| ^~~~~~~~~~~~~~~
| connection_init
gui.c:1510:15: warning: implicit declaration of function 'choose_manage_connection' [-Wimplicit-function-declaration]
1510 | retcode = choose_manage_connection (&p_connection_tab->connection);
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1550:15: warning: implicit declaration of function 'refresh_panel_history' [-Wimplicit-function-declaration]
1550 | refresh_panel_history ();
| ^~~~~~~~~~~~~~~~~~~~~
gui.c:1492:20: warning: unused variable 'p_prot' [-Wunused-variable]
1492 | struct Protocol *p_prot;
| ^~~~~~
gui.c: In function 'connection_duplicate':
gui.c:1613:8: warning: unused variable 'command' [-Wunused-variable]
1613 | char command[1024];
| ^~~~~~~
gui.c: In function 'connection_new_terminal_dir':
gui.c:1663:7: warning: unused variable 'rc' [-Wunused-variable]
1663 | int rc;
| ^~
gui.c:1659:20: warning: unused variable 'p_prot' [-Wunused-variable]
1659 | struct Protocol *p_prot;
| ^~~~~~
gui.c: In function 'application_quit':
gui.c:1727:10: warning: unused variable 'item' [-Wunused-variable]
1727 | GList *item;
| ^~~~
gui.c: In function 'open_recent_session_from_info':
gui.c:1798:8: warning: unused variable 's_tmp' [-Wunused-variable]
1798 | char s_tmp[256];
| ^~~~~
gui.c:1796:22: warning: unused variable 'p_conn' [-Wunused-variable]
1796 | struct Connection *p_conn;
| ^~~~~~
gui.c:1795:10: warning: unused variable 'item' [-Wunused-variable]
1795 | GList *item;
| ^~~~
gui.c: In function 'session_recent_cb':
gui.c:1815:22: warning: unused variable 'p_conn' [-Wunused-variable]
1815 | struct Connection *p_conn;
| ^~~~~~
gui.c:1814:10: warning: unused variable 'item' [-Wunused-variable]
1814 | GList *item;
| ^~~~
gui.c:1813:8: warning: unused variable 's_tmp' [-Wunused-variable]
1813 | char s_tmp[256];
| ^~~~~
gui.c:1812:7: warning: unused variable 'i' [-Wunused-variable]
1812 | int i;
| ^
gui.c: In function 'update_recent_sessions_menu':
gui.c:1914:5: warning: 'gtk_ui_manager_remove_ui' is deprecated [-Wdeprecated-declarations]
1914 | 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
179 | void gtk_ui_manager_remove_ui (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1916:3: warning: 'gtk_action_group_list_actions' is deprecated [-Wdeprecated-declarations]
1916 | 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
198 | GList *gtk_action_group_list_actions (GtkActionGroup *action_group);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1920:7: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
1920 | 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
96 | GType gtk_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~
gui.c:1921:7: warning: 'gtk_action_group_remove_action' is deprecated [-Wdeprecated-declarations]
1921 | 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
207 | void gtk_action_group_remove_action (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1921:7: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
1921 | 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
96 | GType gtk_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~
gui.c:1928:3: warning: 'gtk_ui_manager_new_merge_id' is deprecated [-Wdeprecated-declarations]
1928 | 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
186 | guint gtk_ui_manager_new_merge_id (GtkUIManager *manager);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1973:7: warning: 'gtk_action_new' is deprecated [-Wdeprecated-declarations]
1973 | 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
98 | GtkAction *gtk_action_new (const gchar *name,
| ^~~~~~~~~~~~~~
gui.c:1978:7: warning: 'gtk_action_group_add_action' is deprecated [-Wdeprecated-declarations]
1978 | 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
200 | void gtk_action_group_add_action (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:1981:7: warning: 'gtk_ui_manager_add_ui' is deprecated [-Wdeprecated-declarations]
1981 | 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
171 | void gtk_ui_manager_add_ui (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~
gui.c:1961:12: warning: unused variable 's_tmp' [-Wunused-variable]
1961 | char s_tmp[256];
| ^~~~~
gui.c:1960:14: warning: unused variable 'location' [-Wunused-variable]
1960 | GFile *location;
| ^~~~~~~~
gui.c:1957:14: warning: unused variable 'tip' [-Wunused-variable]
1957 | gchar *tip;
| ^~~
gui.c:1956:14: warning: unused variable 'ruri' [-Wunused-variable]
1956 | gchar *ruri;
| ^~~~
gui.c:1955:14: warning: unused variable 'uri' [-Wunused-variable]
1955 | gchar *uri;
| ^~~
gui.c: In function 'add_recent_connection':
gui.c:2046:7: warning: unused variable 'found' [-Wunused-variable]
2046 | int found = 0;
| ^~~~~
gui.c:2042:22: warning: unused variable 'p_conn_recent' [-Wunused-variable]
2042 | struct Connection *p_conn_recent;
| ^~~~~~~~~~~~~
gui.c: In function 'recent_chooser_item_activated':
gui.c:2174:8: warning: unused variable 's_tmp' [-Wunused-variable]
2174 | char s_tmp[256];
| ^~~~~
gui.c:2173:8: warning: unused variable 'display_name' [-Wunused-variable]
2173 | char display_name[1024];
| ^~~~~~~~~~~~
gui.c:2172:22: warning: unused variable 'p_conn' [-Wunused-variable]
2172 | struct Connection *p_conn;
| ^~~~~~
gui.c:2170:10: warning: unused variable 'item' [-Wunused-variable]
2170 | GList *item;
| ^~~~
gui.c: In function 'setup_toolbar_connect_button':
gui.c:2230:3: warning: 'gtk_action_group_get_action' is deprecated [-Wdeprecated-declarations]
2230 | 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
195 | GtkAction *gtk_action_group_get_action (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:2231:3: warning: 'gtk_activatable_set_related_action' is deprecated [-Wdeprecated-declarations]
2231 | 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
80 | void gtk_activatable_set_related_action (GtkActivatable *activatable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:2231:3: warning: 'gtk_activatable_get_type' is deprecated [-Wdeprecated-declarations]
2231 | 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
73 | 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]
2244 | struct Connection *c;
| ^
gui.c:2243:26: warning: unused variable 'cl' [-Wunused-variable]
2243 | struct Connection_List cl;
| ^~
gui.c:2242:10: warning: unused variable 'item' [-Wunused-variable]
2242 | GList *item;
| ^~~~
gui.c:2241:7: warning: unused variable 'rc' [-Wunused-variable]
2241 | int rc;
| ^~
gui.c: In function 'save_recent_connections':
gui.c:2302:10: warning: unused variable 'item' [-Wunused-variable]
2302 | GList *item;
| ^~~~
gui.c:2301:7: warning: unused variable 'i' [-Wunused-variable]
2301 | int i;
| ^
gui.c:2300:12: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
2300 | int len, rc = 0;
| ^~
gui.c:2300:7: warning: unused variable 'len' [-Wunused-variable]
2300 | int len, rc = 0;
| ^~~
gui.c:2299:8: warning: unused variable 'name_tmp' [-Wunused-variable]
2299 | char name_tmp[256];
| ^~~~~~~~
gui.c:2298:9: warning: unused variable 'p_enc_b64' [-Wunused-variable]
2298 | char *p_enc_b64;
| ^~~~~~~~~
gui.c:2297:9: warning: unused variable 'p_enc' [-Wunused-variable]
2297 | char *p_enc;
| ^~~~~
gui.c:2296:26: warning: unused variable 'cl' [-Wunused-variable]
2296 | struct Connection_List cl;
| ^~
gui.c:2295:22: warning: unused variable 'p_conn' [-Wunused-variable]
2295 | struct Connection *p_conn;
| ^~~~~~
gui.c:2294:21: warning: unused variable 'conn' [-Wunused-variable]
2294 | struct Connection conn;
| ^~~~
gui.c: In function 'edit_copy':
gui.c:2389:13: warning: 'vte_terminal_copy_clipboard' is deprecated [-Wdeprecated-declarations]
2389 | 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:101:6: note: declared here
101 | void vte_terminal_copy_clipboard(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'paste_host':
gui.c:2454:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations]
2454 | 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
103 | const gchar* gtk_action_get_name (GtkAction *action);
| ^~~~~~~~~~~~~~~~~~~
gui.c:2454:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
2454 | 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
96 | 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]
2510 | run_dialog:
| ^~~~~~~~~~
gui.c:2468:23: warning: unused variable 'i' [-Wunused-variable]
2468 | int result, rc = 0, i;
| ^
gui.c: In function 'edit_current_profile':
gui.c:2549:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2549 | if (p_profile = profile_get_by_id (&g_profile_list, p_current_connection_tab->profile_id))
| ^~~~~~~~~
gui.c: At top level:
gui.c:2777:2: warning: "/*" within comment [-Wcomment]
2777 | \/*
|
gui.c: In function 'view_toolbar':
gui.c:2822:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations]
2822 | 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
149 | 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]
2841 | 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
149 | 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]
2890 | 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
149 | 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]
2900 | 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
149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:2898:14: warning: variable 'toggle' set but not used [-Wunused-but-set-variable]
2898 | GtkWidget *toggle;
| ^~~~~~
gui.c: In function 'terminal_detach':
gui.c:3018:3: warning: implicit declaration of function 'lterm_iteration'; did you mean 'gtk_main_iteration'? [-Wimplicit-function-declaration]
3018 | lterm_iteration ();
| ^~~~~~~~~~~~~~~
| gtk_main_iteration
gui.c: In function 'terminal_toggled_cb':
gui.c:3178:16: warning: unused variable 'path' [-Wunused-variable]
3178 | GtkTreePath *path = gtk_tree_path_new_from_string (path_str);
| ^~~~
gui.c: In function 'terminal_cluster':
gui.c:3319:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
3319 | 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
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
gui.c:3231:17: warning: unused variable 'tree_model' [-Wunused-variable]
3231 | GtkTreeModel *tree_model;
| ^~~~~~~~~~
gui.c:3228:21: warning: unused variable 'select' [-Wunused-variable]
3228 | GtkTreeSelection *select;
| ^~~~~~
gui.c:3194:17: warning: unused variable 'tmp' [-Wunused-variable]
3194 | char ui[256], tmp[512];
| ^~~
gui.c:3192:26: warning: unused variable 'button_cancel' [-Wunused-variable]
3192 | GtkWidget *button_ok, *button_cancel;
| ^~~~~~~~~~~~~
gui.c:3192:14: warning: unused variable 'button_ok' [-Wunused-variable]
3192 | GtkWidget *button_ok, *button_cancel;
| ^~~~~~~~~
gui.c: In function 'sftp_upload_files':
gui.c:3420:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3420 | if (p_conn = cl_get_by_name (&conn_list, p_current_connection_tab->connection.name))
| ^~~~~~
gui.c:3403:1: warning: label 'l_upl_dialog' defined but not used [-Wunused-label]
3403 | l_upl_dialog:
| ^~~~~~~~~~~~
gui.c:3362:9: warning: unused variable 's_tmp' [-Wunused-variable]
3362 | char *s_tmp;
| ^~~~~
gui.c: In function 'sftp_download_files':
gui.c:3530:1: warning: label 'l_dwl_dialog' defined but not used [-Wunused-label]
3530 | l_dwl_dialog:
| ^~~~~~~~~~~~
gui.c:3487:23: warning: unused variable 'remote_directory' [-Wunused-variable]
3487 | char pattern[1024], remote_directory[1024] = "";
| ^~~~~~~~~~~~~~~~
gui.c:3487:8: warning: unused variable 'pattern' [-Wunused-variable]
3487 | char pattern[1024], remote_directory[1024] = "";
| ^~~~~~~
gui.c:3486:32: warning: unused variable 's_tmp' [-Wunused-variable]
3486 | char *local_directory=NULL, *s_tmp;
| ^~~~~
gui.c: In function 'go_to_url':
gui.c:3578:3: warning: 'gtk_show_uri' is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
3578 | 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
33 | gboolean gtk_show_uri (GdkScreen *screen,
| ^~~~~~~~~~~~
gui.c:3568:7: warning: variable 'exit_code' set but not used [-Wunused-but-set-variable]
3568 | int exit_code;
| ^~~~~~~~~
gui.c: In function 'Info':
gui.c:3665:3: warning: implicit declaration of function 'get_system'; did you mean 'system'? [-Wimplicit-function-declaration]
3665 | get_system (sys);
| ^~~~~~~~~~
| system
gui.c:3628:9: warning: unused variable 'fp' [-Wunused-variable]
3628 | FILE *fp;
| ^~
gui.c:3627:27: warning: unused variable 'vbox_versions' [-Wunused-variable]
3627 | GtkWidget *hbox_title, *vbox_versions;
| ^~~~~~~~~~~~~
gui.c:3627:14: warning: unused variable 'hbox_title' [-Wunused-variable]
3627 | GtkWidget *hbox_title, *vbox_versions;
| ^~~~~~~~~~
gui.c:3625:18: warning: unused variable 'info' [-Wunused-variable]
3625 | struct utsname info;
| ^~~~
gui.c:3623:8: warning: unused variable 's' [-Wunused-variable]
3623 | char s[1024], text[1024];
| ^
gui.c: In function 'activate_radio_action':
gui.c:3819:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations]
3819 | 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
103 | const gchar* gtk_action_get_name (GtkAction *action);
| ^~~~~~~~~~~~~~~~~~~
gui.c:3819:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
3819 | 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
96 | GType gtk_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~
gui.c:3820:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
3820 | 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
96 | GType gtk_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~
gui.c:3821:3: warning: 'gtk_toggle_action_get_active' is deprecated [-Wdeprecated-declarations]
3821 | 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
85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3821:3: warning: 'gtk_toggle_action_get_type' is deprecated [-Wdeprecated-declarations]
3821 | 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
73 | 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]
3822 | 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
89 | gint gtk_radio_action_get_current_value (GtkRadioAction *action);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3822:3: warning: 'gtk_radio_action_get_type' is deprecated [-Wdeprecated-declarations]
3822 | 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
73 | GType gtk_radio_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3821:12: warning: unused variable 'active' [-Wunused-variable]
3821 | gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current));
| ^~~~~~
gui.c:3820:16: warning: unused variable 'typename' [-Wunused-variable]
3820 | const gchar *typename = G_OBJECT_TYPE_NAME (GTK_ACTION (current));
| ^~~~~~~~
gui.c:3819:16: warning: unused variable 'name' [-Wunused-variable]
3819 | const gchar *name = gtk_action_get_name (GTK_ACTION (current));
| ^~~~
gui.c: In function 'profile_radio_action_cb':
gui.c:3837:3: warning: 'gtk_action_get_name' is deprecated [-Wdeprecated-declarations]
3837 | 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
103 | const gchar* gtk_action_get_name (GtkAction *action);
| ^~~~~~~~~~~~~~~~~~~
gui.c:3837:3: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
3837 | 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
96 | GType gtk_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~
gui.c:3838:3: warning: 'gtk_toggle_action_get_active' is deprecated [-Wdeprecated-declarations]
3838 | 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
85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3838:3: warning: 'gtk_toggle_action_get_type' is deprecated [-Wdeprecated-declarations]
3838 | 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
73 | 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]
3839 | 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
89 | gint gtk_radio_action_get_current_value (GtkRadioAction *action);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3839:3: warning: 'gtk_radio_action_get_type' is deprecated [-Wdeprecated-declarations]
3839 | 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
73 | GType gtk_radio_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3839:8: warning: unused variable 'value' [-Wunused-variable]
3839 | gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current));
| ^~~~~
gui.c:3838:12: warning: unused variable 'active' [-Wunused-variable]
3838 | gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current));
| ^~~~~~
gui.c: In function 'add_stock_icon':
gui.c:3850:3: warning: 'gtk_icon_source_new' is deprecated [-Wdeprecated-declarations]
3850 | 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
170 | GtkIconSource* gtk_icon_source_new (void);
| ^~~~~~~~~~~~~~~~~~~
gui.c:3851:3: warning: 'gtk_icon_set_new' is deprecated [-Wdeprecated-declarations]
3851 | 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
138 | GtkIconSet* gtk_icon_set_new (void);
| ^~~~~~~~~~~~~~~~
gui.c:3853:3: warning: 'gtk_icon_source_set_filename' is deprecated [-Wdeprecated-declarations]
3853 | 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
177 | void gtk_icon_source_set_filename (GtkIconSource *source,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3854:3: warning: 'gtk_icon_set_add_source' is deprecated [-Wdeprecated-declarations]
3854 | 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
159 | void gtk_icon_set_add_source (GtkIconSet *icon_set,
| ^~~~~~~~~~~~~~~~~~~~~~~
gui.c:3855:3: warning: 'gtk_icon_factory_add' is deprecated [-Wdeprecated-declarations]
3855 | 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
82 | 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]
3863 | 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
80 | GtkIconFactory* gtk_icon_factory_new (void);
| ^~~~~~~~~~~~~~~~~~~~
gui.c:3886:3: warning: 'gtk_icon_factory_add_default' is deprecated [-Wdeprecated-declarations]
3886 | 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
92 | 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]
3947 | 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
179 | void gtk_ui_manager_remove_ui (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3949:3: warning: 'gtk_action_group_list_actions' is deprecated [-Wdeprecated-declarations]
3949 | 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
198 | GList *gtk_action_group_list_actions (GtkActionGroup *action_group);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3954:7: warning: 'gtk_action_group_remove_action' is deprecated [-Wdeprecated-declarations]
3954 | 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
207 | void gtk_action_group_remove_action (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3954:7: warning: 'gtk_action_get_type' is deprecated [-Wdeprecated-declarations]
3954 | 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
96 | GType gtk_action_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~~
gui.c:3990:3: warning: 'gtk_action_group_add_radio_actions' is deprecated [-Wdeprecated-declarations]
3990 | 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
220 | 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]
3993 | 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
158 | guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3944:14: warning: unused variable 'action' [-Wunused-variable]
3944 | GtkAction *action;
| ^~~~~~
gui.c:3943:24: warning: unused variable 'items' [-Wunused-variable]
3943 | GList *actions, *l, *items;
| ^~~~~
gui.c: In function 'get_main_menu':
gui.c:4035:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
4035 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
gui.c:4036:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations]
4036 | 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
210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4037:3: warning: 'gtk_action_group_add_toggle_actions' is deprecated [-Wdeprecated-declarations]
4037 | 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
215 | 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]
4038 | 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
220 | void gtk_action_group_add_radio_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4040:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations]
4040 | 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
130 | GtkUIManager *gtk_ui_manager_new (void);
| ^~~~~~~~~~~~~~~~~~
gui.c:4041:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations]
4041 | 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
138 | void gtk_ui_manager_insert_action_group (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4043:3: warning: 'gtk_ui_manager_get_accel_group' is deprecated [-Wdeprecated-declarations]
4043 | 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
147 | 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]
4046 | 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
158 | 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]
4047 | 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
158 | guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4050:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations]
4050 | 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
149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4068:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
4068 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
gui.c:4069:3: warning: 'gtk_action_group_set_translation_domain' is deprecated [-Wdeprecated-declarations]
4069 | 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
252 | 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]
4070 | 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
138 | void gtk_ui_manager_insert_action_group (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4074:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
4074 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
gui.c:4075:3: warning: 'gtk_action_group_set_translation_domain' is deprecated [-Wdeprecated-declarations]
4075 | 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
252 | 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]
4076 | 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
138 | void gtk_ui_manager_insert_action_group (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4003:8: warning: unused variable 'recent_connections_desc' [-Wunused-variable]
4003 | char recent_connections_desc[10000];
| ^~~~~~~~~~~~~~~~~~~~~~~
gui.c:4000:21: warning: unused variable 'recent_manager' [-Wunused-variable]
4000 | GtkRecentManager *recent_manager;
| ^~~~~~~~~~~~~~
gui.c: In function 'completion_match_selected_cb':
gui.c:4135:3: warning: implicit declaration of function 'open_connection'; did you mean 'get_connection'? [-Wimplicit-function-declaration]
4135 | open_connection (connection_string);
| ^~~~~~~~~~~~~~~
| get_connection
gui.c:4137:3: warning: implicit declaration of function 'search_entry_focus_out_event_cb' [-Wimplicit-function-declaration]
4137 | search_entry_focus_out_event_cb (search_entry, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'search_entry_focus_in_event_cb':
gui.c:4175:3: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations]
4175 | 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
1144 | 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]
4195 | 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
1144 | 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]
4245 | 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]
4268 | 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
149 | 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]
4277 | 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
320 | void gtk_entry_set_icon_from_stock (GtkEntry *entry,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4299:7: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations]
4299 | 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
149 | 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]
4355 | 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
149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'statusbar_push':
gui.c:4399:8: warning: unused variable 'result' [-Wunused-variable]
4399 | gint result;
| ^~~~~~
gui.c: In function 'statusbar_msg':
gui.c:4430:8: warning: unused variable 'result' [-Wunused-variable]
4430 | gint result;
| ^~~~~~
gui.c: In function 'update_statusbar':
gui.c:4476:11: warning: 'vte_terminal_get_encoding' is deprecated [-Wdeprecated-declarations]
4476 | 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:127:13: note: declared here
127 | const char *vte_terminal_get_encoding(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _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]
4603 | struct GroupNode *p_node;
| ^~~~~~
gui.c: In function 'terminal_popup_menu':
gui.c:4633:12: warning: implicit declaration of function 'count_current_connections'; did you mean 'load_recent_connections'? [-Wimplicit-function-declaration]
4633 | n_conn = count_current_connections ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| load_recent_connections
gui.c:4698:3: warning: 'gtk_action_group_new' is deprecated [-Wdeprecated-declarations]
4698 | 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
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
gui.c:4699:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations]
4699 | 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
210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4700:3: warning: 'gtk_action_group_add_actions' is deprecated [-Wdeprecated-declarations]
4700 | 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
210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4702:3: warning: 'gtk_ui_manager_new' is deprecated [-Wdeprecated-declarations]
4702 | 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
130 | GtkUIManager *gtk_ui_manager_new (void);
| ^~~~~~~~~~~~~~~~~~
gui.c:4703:3: warning: 'gtk_ui_manager_insert_action_group' is deprecated [-Wdeprecated-declarations]
4703 | 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
138 | 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]
4708 | 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
158 | 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]
4710 | 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
158 | 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]
4711 | 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
158 | guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4714:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations]
4714 | 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
149 | 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]
4729 | 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
138 | void gtk_menu_popup (GtkMenu *menu,
| ^~~~~~~~~~~~~~
gui.c: In function 'child_exited_cb':
gui.c:4792:7: warning: unused variable 'code' [-Wunused-variable]
4792 | int code;
| ^~~~
gui.c: In function 'button_press_event_cb':
gui.c:4912:5: warning: 'vte_terminal_match_check' is deprecated [-Wdeprecated-declarations]
4912 | 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:58:7: note: declared here
58 | char *vte_terminal_match_check(VteTerminal *terminal,
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui.c:4938:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
4938 | if (p_conn = get_connection_by_host (g_match.matched_string))
| ^~~~~~
gui.c:4897:17: warning: unused variable 'tag' [-Wunused-variable]
4897 | int row, col, tag;
| ^~~
gui.c: In function 'selection_changed_cb':
gui.c:5005:5: warning: 'vte_terminal_copy_clipboard' is deprecated [-Wdeprecated-declarations]
5005 | 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:101:6: note: declared here
101 | void vte_terminal_copy_clipboard(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'contents_changed_cb':
gui.c:5107:5: warning: implicit declaration of function 'lower' [-Wimplicit-function-declaration]
5107 | lower (line);
| ^~~~~
gui.c: In function 'char_size_changed_cb':
gui.c:5252:13: warning: unused variable 'ypad' [-Wunused-variable]
5252 | int xpad, ypad;
| ^~~~
gui.c:5252:7: warning: unused variable 'xpad' [-Wunused-variable]
5252 | int xpad, ypad;
| ^~~~
gui.c:5251:15: warning: unused variable 'geometry' [-Wunused-variable]
5251 | GdkGeometry geometry;
| ^~~~~~~~
gui.c:5250:14: warning: variable 'window' set but not used [-Wunused-but-set-variable]
5250 | 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]
5407 | 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
155 | GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:5410:9: warning: 'gtk_radio_action_set_current_value' is deprecated [-Wdeprecated-declarations]
5410 | 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
91 | void gtk_radio_action_set_current_value (GtkRadioAction *action,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:5410:9: warning: 'gtk_radio_action_get_type' is deprecated [-Wdeprecated-declarations]
5410 | 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
73 | 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]
5530 | 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:127:13: note: declared here
127 | const char *vte_terminal_get_encoding(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:5551:3: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations]
5551 | 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
769 | void gtk_widget_modify_font (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~
gui.c:5503:12: warning: unused variable 'terminal_back_color' [-Wunused-variable]
5503 | GdkColor terminal_back_color;
| ^~~~~~~~~~~~~~~~~~~
gui.c:5502:12: warning: unused variable 'terminal_fore_color' [-Wunused-variable]
5502 | GdkColor terminal_fore_color;
| ^~~~~~~~~~~~~~~~~~~
gui.c:5501:8: warning: unused variable 'word_chars' [-Wunused-variable]
5501 | char word_chars[1024];
| ^~~~~~~~~~
gui.c: In function 'apply_profile_terminal':
gui.c:5561:12: warning: unused variable 'object' [-Wunused-variable]
5561 | GObject *object;
| ^~~~~~
gui.c: In function 'start_gtk':
gui.c:5869:3: warning: 'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations]
5869 | 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
149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:5736:37: warning: unused variable 'ifr_function' [-Wunused-variable]
5736 | struct Iteration_Function_Request ifr_function;
| ^~~~~~~~~~~~
gui.c:5735:7: warning: unused variable 'font_size' [-Wunused-variable]
5735 | int font_size;
| ^~~~~~~~~
gui.c:5734:25: warning: unused variable 'font_desc' [-Wunused-variable]
5734 | PangoFontDescription *font_desc;
| ^~~~~~~~~
gui.c:5733:14: warning: unused variable 'scrollbar' [-Wunused-variable]
5733 | GtkWidget *scrollbar;
| ^~~~~~~~~
gui.c:5732:14: warning: unused variable 'hbox_terminal' [-Wunused-variable]
5732 | GtkWidget *hbox_terminal; /* vte + scrollbar */
| ^~~~~~~~~~~~~
gui.c:5730:8: warning: unused variable 's_tmp' [-Wunused-variable]
5730 | char s_tmp[256];
| ^~~~~
gui.c:5729:7: warning: unused variable 'i' [-Wunused-variable]
5729 | int i;
| ^
gui.c: In function 'open_connection':
gui.c:5686:1: warning: control reaches end of non-void function [-Wreturn-type]
5686 | }
| ^
gui.c: In function 'edit_find':
gui.c:2475:19: warning: '/find.glade' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
2475 | sprintf (ui, "%s/find.glade", globals.data_dir);
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'Info':
gui.c:3635:19: warning: '/credits.glade' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
3635 | sprintf (ui, "%s/credits.glade", globals.data_dir);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:3656:31: warning: '/main_icon.png' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
3656 | sprintf (image_filename, "%s/main_icon.png", globals.img_dir);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'terminal_cluster':
gui.c:3203:19: warning: '/cluster.glade' directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
3203 | sprintf (ui, "%s/cluster.glade", globals.data_dir);
| ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'set_title':
gui.c:622:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
622 | sprintf (title, "%s - %s", user_s, appname);
| ^~ ~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gui.c:34:
gui.c: In function 'expand_args':
gui.c:807:37: warning: '%s' directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=]
807 | sprintf (label, _("Enter user for %s:"), p_conn->name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
gui.c:807:56: note: format string is defined here
807 | sprintf (label, _("Enter user for %s:"), p_conn->name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gui.c:34:
gui.c:852:37: warning: '%s' directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=]
852 | sprintf (label, _("Enter directory for %s:"), p_conn->name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
gui.c:852:61: note: format string is defined here
852 | sprintf (label, _("Enter directory for %s:"), p_conn->name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gui.c:34:
gui.c:837:37: warning: '%s' directive writing up to 255 bytes into a region of size between 202 and 233 [-Wformat-overflow=]
837 | sprintf (label, _("Enter password for %s@%s:"), p_conn->user, p_conn->name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
gui.c:837:63: note: format string is defined here
837 | sprintf (label, _("Enter password for %s@%s:"), p_conn->user, p_conn->name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 29 and 315 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'show_login_mask':
gui.c:892:19: warning: '/login.glade' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
892 | sprintf (ui, "%s/login.glade", globals.data_dir);
| ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:898:36: warning: '/keys-64.png' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
898 | sprintf (image_auth_filename, "%s/keys-64.png", globals.img_dir);
| ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'update_recent_sessions_menu':
gui.c:1920:127: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
1920 | g_signal_handlers_disconnect_by_func (GTK_ACTION (l->data), G_CALLBACK (session_recent_cb), (gpointer) recent_entries[i].name);
| ^
gui.c: In function 'add_recent_connection':
gui.c:2106:23: warning: '%s' directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=]
2106 | sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 4 and 353 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gui.c:34:
gui.c: In function 'sftp_upload_files':
gui.c:3385:21: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=]
3385 | sprintf (title, _("Upload to %s (%s)"), p_current_connection_tab->connection.name, p_current_connection_tab->connection.host);
| ^~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
gui.c:3385:32: note: format string is defined here
3385 | sprintf (title, _("Upload to %s (%s)"), p_current_connection_tab->connection.name, p_current_connection_tab->connection.host);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 14 and 524 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'sftp_download_files':
gui.c:3547:6: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
3547 | if (result == GTK_RESPONSE_ACCEPT && local_directory)
| ^
gui.c: In function 'update_title':
gui.c:4387:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
4387 | sprintf (title, "%s - %s", label, appname);
| ^~ ~~~~~~~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'update_statusbar':
gui.c:4490:31: warning: '%s' directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=]
4490 | sprintf (s, "%s@%s (%s)",
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 5 and 546 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gui.c:34:
gui.c: In function 'connection_tab_close':
gui.c:1059:28: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=]
1059 | sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.h:41:16: note: in definition of macro '_'
41 | #define _(x) x
| ^
gui.c:1059:49: note: format string is defined here
1059 | sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 22 and 277 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'terminal_popup_menu':
gui.c:4679:26: warning: ' (' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
4679 | sprintf (s_tmp, "%s (%s)", p_conn->name, p_conn->host);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function 'open_recent_connection_from_info':
gui.c:1771:27: warning: '%s' directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=]
1771 | sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol);
| ^~
In file included from /usr/include/stdio.h:866,
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:38:10: note: '__builtin___sprintf_chk' output between 4 and 353 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __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/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 -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 -lssl -lcrypto -lssh -lX11
/usr/bin/ld.default: sftp-panel.o:/usr/src/RPM/BUILD/lterm-1.5.1/src/sftp-panel.c:71: multiple definition of `label_status'; protocol.o:/usr/src/RPM/BUILD/lterm-1.5.1/src/protocol.c:42: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:384: lterm] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/lterm-1.5.1/src'
make[1]: *** [Makefile:291: all] Error 2
make: *** [Makefile:347: all-recursive] Error 1
error: Bad exit status from /usr/src/tmp/rpm-tmp.50197 (%build)
RPM build errors:
Bad exit status from /usr/src/tmp/rpm-tmp.50197 (%build)
Command exited with non-zero status 1
31.47user 4.91system 0:19.78elapsed 183%CPU (0avgtext+0avgdata 104024maxresident)k
0inputs+0outputs (0major+752017minor)pagefaults 0swaps
hsh-rebuild: rebuild of `lterm-1.5.1-alt1.src.rpm' failed.
Command exited with non-zero status 1
51.80user 12.90system 0:55.27elapsed 117%CPU (0avgtext+0avgdata 107448maxresident)k
0inputs+0outputs (0major+1111716minor)pagefaults 0swaps