Diff of the two buildlogs: -- --- b1/build.log 2021-10-20 15:02:07.845455481 +0000 +++ b2/build.log 2021-10-20 15:06:29.616523976 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Oct 20 02:59:04 -12 2021 -I: pbuilder-time-stamp: 1634741945 +I: Current time: Wed Nov 23 11:25:19 +14 2022 +I: pbuilder-time-stamp: 1669152319 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./transcalc_0.14-7.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.2mtiu8sS/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 2 10:51:13 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.jffrCLqQ/trustedkeys.kbx': General error +gpgv: Signature made Sun Jan 3 12:51:13 2021 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./transcalc_0.14-7.dsc @@ -35,135 +35,169 @@ dpkg-source: info: applying 080_fix_ftbfs_gcc10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3288421/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1183589/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1183589/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1183589/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='670eac83bbbe49daa51a57db1f936527' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3288421' - PS1='# ' - PS2='> ' + INVOCATION_ID=f40f571bd1cd4f138af984807e53cf99 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1183589 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.RxAsc3EVZf/pbuilderrc_vYYc --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.RxAsc3EVZf/b1 --logfile b1/build.log transcalc_0.14-7.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.RxAsc3EVZf/pbuilderrc_bC6V --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.RxAsc3EVZf/b2 --logfile b2/build.log transcalc_0.14-7.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 07:09 more - -rwsr-xr-x 1 root root 55528 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 18664 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Oct 6 21:24 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 07:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/3288421/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Nov 23 11:26 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 10 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/1183589/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -402,7 +436,7 @@ Get: 195 http://deb.debian.org/debian bullseye/main amd64 libxdamage-dev amd64 1:1.1.5-2 [15.6 kB] Get: 196 http://deb.debian.org/debian bullseye/main amd64 libxml2-utils amd64 2.9.10+dfsg-6.7 [109 kB] Get: 197 http://deb.debian.org/debian bullseye/main amd64 libgtk2.0-dev amd64 2.24.33-2 [827 kB] -Fetched 84.8 MB in 4s (20.6 MB/s) +Fetched 84.8 MB in 5s (18.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -1217,7 +1251,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/transcalc-0.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../transcalc_0.14-7_source.changes +hostname: Name or service not known +I: Running cd /build/transcalc-0.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../transcalc_0.14-7_source.changes dpkg-buildpackage: info: source package transcalc dpkg-buildpackage: info: source version 0.14-7 dpkg-buildpackage: info: source distribution unstable @@ -1331,7 +1366,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/transcalc-0.14' dh_auto_build - make -j15 + make -j16 make[2]: Entering directory '/build/transcalc-0.14' make all-recursive make[3]: Entering directory '/build/transcalc-0.14' @@ -1352,6 +1387,7 @@ gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o print_trans.o print_trans.c gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o microstrip.o microstrip.c gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o c_microstrip.o c_microstrip.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1360,7 +1396,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from file_io.c:31: + from setup_menu.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1373,7 +1409,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from file_io.c:31: + from setup_menu.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1385,7 +1421,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from options.c:27: + from help.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1398,10 +1434,32 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from options.c:27: + from help.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from setup_menu.c:28: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from setup_menu.c:28: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1410,7 +1468,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_body.c:24: + from options.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1423,7 +1481,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_body.c:24: + from options.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1435,8 +1493,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from transcalc.h:43, - from setup_label.c:31: + from file_io.c:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1449,11 +1506,32 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_label.c:31: + from file_io.c:31: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from help.c:29: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from help.c:29: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1462,7 +1540,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_menu.c:28: + from setup_body.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1475,7 +1553,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_menu.c:28: + from setup_body.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1487,7 +1565,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_status.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1500,7 +1579,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_status.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1513,7 +1593,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from transcalc.h:43, - from transcalc.c:26: + from print_trans.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1527,7 +1607,7 @@ from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from transcalc.h:43, - from transcalc.c:26: + from print_trans.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1539,7 +1619,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_transgui.c:29: + from setup_status.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1552,7 +1632,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_transgui.c:29: + from setup_status.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1564,7 +1644,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from help.c:29: + from unitscombo.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1577,10 +1657,32 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from help.c:29: + from unitscombo.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from options.c:27: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from options.c:27: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1589,19 +1691,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from microstrip.c:29: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from image_util.c:28: + from transcalc.h:43, + from setup_values.c:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1614,20 +1705,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from microstrip.c:29: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from image_util.c:28: + from transcalc.h:43, + from setup_values.c:32: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1639,7 +1718,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from c_microstrip.c:28: + from image_util.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1652,7 +1731,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from c_microstrip.c:28: + from image_util.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1665,7 +1744,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from transcalc.h:43, - from setup_values.c:32: + from setup_label.c:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1679,7 +1758,7 @@ from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from transcalc.h:43, - from setup_values.c:32: + from setup_label.c:31: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1691,7 +1770,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from unitscombo.c:29: + from rectwaveguide.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1704,7 +1783,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from unitscombo.c:29: + from rectwaveguide.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1734,7 +1813,8 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_body.c:24: + from transcalc.h:43, + from print_trans.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1748,7 +1828,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_body.c:24: + from transcalc.h:43, + from print_trans.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1756,7 +1837,8 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_transgui.c:29: + from transcalc.h:43, + from setup_values.c:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1770,25 +1852,22 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_transgui.c:29: + from transcalc.h:43, + from setup_values.c:32: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from unitscombo.c:29: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, @@ -1796,16 +1875,16 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ + from unitscombo.c:29: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from c_microstrip.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1819,7 +1898,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from c_microstrip.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1827,7 +1907,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from options.c:27: + from setup_body.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1841,10 +1921,40 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from options.c:27: + from setup_body.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +options.c: In function 'optionsCB': +options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] + 161 | GtkWidget *vbox; + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from setup_transgui.c:29: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from setup_transgui.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1867,6 +1977,133 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +print_trans.c: In function 'get_trans_text': +print_trans.c:71:13: warning: Deprecated pre-processor symbol, replace with + 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:72:13: warning: Deprecated pre-processor symbol, replace with + 72 | g_string_sprintfa (s, "%s\n",ctime(&date)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:92:13: warning: Deprecated pre-processor symbol, replace with + 92 | g_string_sprintfa (s, " %s = %s",tlabel->substrate_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:95:13: warning: Deprecated pre-processor symbol, replace with + 95 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:96:13: warning: Deprecated pre-processor symbol, replace with + 96 | g_string_sprintfa (s, " (%s) \n", tlabel->stooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:109:13: warning: Deprecated pre-processor symbol, replace with + 109 | g_string_sprintfa (s, " %s = %s",tlabel->component_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:112:13: warning: Deprecated pre-processor symbol, replace with + 112 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:113:13: warning: Deprecated pre-processor symbol, replace with + 113 | g_string_sprintfa (s, " (%s) \n", tlabel->ctooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:126:13: warning: Deprecated pre-processor symbol, replace with + 126 | g_string_sprintfa (s, " %s = %s",tlabel->physical_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:129:13: warning: Deprecated pre-processor symbol, replace with + 129 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from c_microstrip.c:28: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +print_trans.c:132:9: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] + 132 | &tmpstr); + | ^~~~~~~ + | | + | const gchar ** {aka const char **} +In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, + from /usr/include/gtk-2.0/gtk/gtk.h:35, + from transcalc.h:43, + from print_trans.c:28: +/usr/include/gtk-2.0/gtk/gtklabel.h:189:56: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} + 189 | gchar **str); + | ~~~~~~~~~~~~~~~~~~~^~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from c_microstrip.c:28: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +print_trans.c:133:13: warning: Deprecated pre-processor symbol, replace with + 133 | g_string_sprintfa (s, "<%s> ", tmpstr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:135:13: warning: Deprecated pre-processor symbol, replace with + 135 | g_string_sprintfa (s, " (%s) \n", tlabel->ptooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:148:13: warning: Deprecated pre-processor symbol, replace with + 148 | g_string_sprintfa (s, " %s = %s",tlabel->electrical_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:151:13: warning: Deprecated pre-processor symbol, replace with + 151 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:152:13: warning: Deprecated pre-processor symbol, replace with + 152 | g_string_sprintfa (s, " (%s) \n", tlabel->etooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:159:50: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] + 159 | gtk_label_get (GTK_LABEL (twin->results_text), &newch1); + | ^~~~~~~ + | | + | const gchar ** {aka const char **} +In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, + from /usr/include/gtk-2.0/gtk/gtk.h:35, + from transcalc.h:43, + from print_trans.c:28: +/usr/include/gtk-2.0/gtk/gtklabel.h:189:56: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} + 189 | gchar **str); + | ~~~~~~~~~~~~~~~~~~~^~~ +print_trans.c:160:13: warning: Deprecated pre-processor symbol, replace with + 160 | g_string_sprintfa (s, "%s", newch1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:164:43: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] + 164 | gtk_label_get(GTK_LABEL (twin->status), &newch1); + | ^~~~~~~ + | | + | const gchar ** {aka const char **} +In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, + from /usr/include/gtk-2.0/gtk/gtk.h:35, + from transcalc.h:43, + from print_trans.c:28: +/usr/include/gtk-2.0/gtk/gtklabel.h:189:56: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} + 189 | gchar **str); + | ~~~~~~~~~~~~~~~~~~~^~~ +print_trans.c:165:13: warning: Deprecated pre-processor symbol, replace with + 165 | g_string_sprintfa (s, "%s\n", newch1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c +transcalc.c: In function 'read_config_file': +transcalc.c:188:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 188 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1891,11 +2128,61 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from microstrip.c:29: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from microstrip.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +file_io.c: In function 'trc_file_load': +file_io.c:181:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 181 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +file_io.c:199:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 199 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:209:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 209 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:219:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 219 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:229:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | fscanf(fp, "%s %i\n", tmp_str1, &tmp_int); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:237:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 237 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:248:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 248 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +file_io.c:257:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 257 | fscanf(fp, "%d %d\n", &main_window_width, &main_window_height); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from help.c:29: + from image_util.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1909,7 +2196,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from help.c:29: + from image_util.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1917,7 +2204,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_menu.c:28: + from rectwaveguide.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1931,24 +2218,38 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_menu.c:28: + from rectwaveguide.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from microstrip.c:29: + from setup_transgui.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from setup_transgui.c:29: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from transcalc.c:26: + from c_microstrip.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1962,11 +2263,18 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from transcalc.c:26: + from c_microstrip.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from microstrip.c:29: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, @@ -1981,6 +2289,146 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +rectwaveguide.c: In function 'alphac': +rectwaveguide.c:104:14: warning: variable 'k' set but not used [-Wunused-but-set-variable] + 104 | gfloat Rs, k, f_c; + | ^ +rectwaveguide.c: In function 'get_rectwaveguide_comp': +rectwaveguide.c:228:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 228 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 229 | (GTK_COMBO(rwin->component_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'get_rectwaveguide_elec': +rectwaveguide.c:247:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 247 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 248 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:253:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 253 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 254 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'get_rectwaveguide_phys': +rectwaveguide.c:273:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 273 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 274 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:279:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 279 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 280 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:285:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 285 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 286 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'analyze_rectwaveguide': +rectwaveguide.c:359:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 359 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 360 | (GTK_ENTRY + | ~~~~~~~~~~ + 361 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:365:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 365 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 366 | (GTK_ENTRY + | ~~~~~~~~~~ + 367 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:389:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 389 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 390 | (GTK_COMBO + | ~~~~~~~~~~ + 391 | (rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'synthesize_rectwaveguide': +rectwaveguide.c:503:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 503 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 504 | (GTK_ENTRY + | ~~~~~~~~~~ + 505 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:512:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 512 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 513 | (GTK_ENTRY + | ~~~~~~~~~~ + 514 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:524:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 524 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 525 | (GTK_ENTRY + | ~~~~~~~~~~ + 526 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:566:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 566 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 567 | (GTK_COMBO + | ~~~~~~~~~~ + 568 | (rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ c_microstrip.c: In function 'compute_single_line': c_microstrip.c:160:21: warning: variable 'er_eff_single' set but not used [-Wunused-but-set-variable] 160 | gfloat Z0_single, er_eff_single; @@ -2132,29 +2580,7 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from image_util.c:28: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ c_microstrip.c: In function 'synthesize_c_microstrip': -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from image_util.c:28: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ c_microstrip.c:1169:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1169 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2169,118 +2595,6 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from setup_values.c:32: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_values.c:32: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from unitscombo.c:29: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from unitscombo.c:29: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -file_io.c: In function 'trc_file_load': -file_io.c:181:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 181 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -file_io.c:199:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 199 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:209:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 209 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:219:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 219 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:229:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | fscanf(fp, "%s %i\n", tmp_str1, &tmp_int); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:237:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 237 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:248:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 248 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -file_io.c:257:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 257 | fscanf(fp, "%d %d\n", &main_window_width, &main_window_height); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c: In function 'read_config_file': -transcalc.c:188:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 188 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -options.c: In function 'optionsCB': -options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] - 161 | GtkWidget *vbox; - | ^~~~ microstrip.c: In function 'conductor_losses': microstrip.c:291:56: warning: variable 'tand' set but not used [-Wunused-but-set-variable] 291 | gfloat f, w, e_r_eff_0, Z0_h_1, delta, sigma, rough, tand; @@ -2322,6 +2636,46 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +c_microstrip.c: In function 'show_results': +c_microstrip.c:995:18: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 995 | sprintf(text, "%g", (float) (c_ms->Z0e * conv_res[RES_OHM][required_unit])); + | ^~ +c_microstrip.c:995:17: note: assuming directive output of 12 bytes + 995 | sprintf(text, "%g", (float) (c_ms->Z0e * conv_res[RES_OHM][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from c_microstrip.c:27: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +c_microstrip.c:999:18: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 999 | sprintf(text, "%g", (float) (c_ms->Z0o * conv_res[RES_OHM][required_unit])); + | ^~ +c_microstrip.c:999:17: note: assuming directive output of 12 bytes + 999 | sprintf(text, "%g", (float) (c_ms->Z0o * conv_res[RES_OHM][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from c_microstrip.c:27: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +c_microstrip.c:1003:18: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 1003 | sprintf(text, "%g", (float) (c_ms->ang_l_e * conv_ang[ANG_RAD][required_unit])); + | ^~ +c_microstrip.c:1003:17: note: assuming directive output of 12 bytes + 1003 | sprintf(text, "%g", (float) (c_ms->ang_l_e * conv_ang[ANG_RAD][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from c_microstrip.c:27: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ microstrip.c: In function 'get_microstrip_elec': microstrip.c:505:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 505 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); @@ -2396,180 +2750,10 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -print_trans.c: In function 'get_trans_text': -print_trans.c:71:13: warning: Deprecated pre-processor symbol, replace with - 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:72:13: warning: Deprecated pre-processor symbol, replace with - 72 | g_string_sprintfa (s, "%s\n",ctime(&date)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:92:13: warning: Deprecated pre-processor symbol, replace with - 92 | g_string_sprintfa (s, " %s = %s",tlabel->substrate_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:95:13: warning: Deprecated pre-processor symbol, replace with - 95 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:96:13: warning: Deprecated pre-processor symbol, replace with - 96 | g_string_sprintfa (s, " (%s) \n", tlabel->stooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:109:13: warning: Deprecated pre-processor symbol, replace with - 109 | g_string_sprintfa (s, " %s = %s",tlabel->component_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:112:13: warning: Deprecated pre-processor symbol, replace with - 112 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:113:13: warning: Deprecated pre-processor symbol, replace with - 113 | g_string_sprintfa (s, " (%s) \n", tlabel->ctooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:126:13: warning: Deprecated pre-processor symbol, replace with - 126 | g_string_sprintfa (s, " %s = %s",tlabel->physical_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:129:13: warning: Deprecated pre-processor symbol, replace with - 129 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:132:9: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] - 132 | &tmpstr); - | ^~~~~~~ - | | - | const gchar ** {aka const char **} -In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, - from /usr/include/gtk-2.0/gtk/gtk.h:35, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/gtk-2.0/gtk/gtklabel.h:189:56: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} - 189 | gchar **str); - | ~~~~~~~~~~~~~~~~~~~^~~ -print_trans.c:133:13: warning: Deprecated pre-processor symbol, replace with - 133 | g_string_sprintfa (s, "<%s> ", tmpstr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:135:13: warning: Deprecated pre-processor symbol, replace with - 135 | g_string_sprintfa (s, " (%s) \n", tlabel->ptooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:148:13: warning: Deprecated pre-processor symbol, replace with - 148 | g_string_sprintfa (s, " %s = %s",tlabel->electrical_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:151:13: warning: Deprecated pre-processor symbol, replace with - 151 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:152:13: warning: Deprecated pre-processor symbol, replace with - 152 | g_string_sprintfa (s, " (%s) \n", tlabel->etooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:159:50: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] - 159 | gtk_label_get (GTK_LABEL (twin->results_text), &newch1); - | ^~~~~~~ - | | - | const gchar ** {aka const char **} -In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, - from /usr/include/gtk-2.0/gtk/gtk.h:35, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/gtk-2.0/gtk/gtklabel.h:189:56: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} - 189 | gchar **str); - | ~~~~~~~~~~~~~~~~~~~^~~ -print_trans.c:160:13: warning: Deprecated pre-processor symbol, replace with - 160 | g_string_sprintfa (s, "%s", newch1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:164:43: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] - 164 | gtk_label_get(GTK_LABEL (twin->status), &newch1); - | ^~~~~~~ - | | - | const gchar ** {aka const char **} -In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, - from /usr/include/gtk-2.0/gtk/gtk.h:35, - from transcalc.h:43, - from print_trans.c:28: -/usr/include/gtk-2.0/gtk/gtklabel.h:189:56: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} - 189 | gchar **str); - | ~~~~~~~~~~~~~~~~~~~^~~ -print_trans.c:165:13: warning: Deprecated pre-processor symbol, replace with - 165 | g_string_sprintfa (s, "%s\n", newch1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c: In function 'show_results': -c_microstrip.c:995:18: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 995 | sprintf(text, "%g", (float) (c_ms->Z0e * conv_res[RES_OHM][required_unit])); - | ^~ -c_microstrip.c:995:17: note: assuming directive output of 12 bytes - 995 | sprintf(text, "%g", (float) (c_ms->Z0e * conv_res[RES_OHM][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from c_microstrip.c:27: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c:999:18: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 999 | sprintf(text, "%g", (float) (c_ms->Z0o * conv_res[RES_OHM][required_unit])); - | ^~ -c_microstrip.c:999:17: note: assuming directive output of 12 bytes - 999 | sprintf(text, "%g", (float) (c_ms->Z0o * conv_res[RES_OHM][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from c_microstrip.c:27: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c:1003:18: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 1003 | sprintf(text, "%g", (float) (c_ms->ang_l_e * conv_ang[ANG_RAD][required_unit])); - | ^~ -c_microstrip.c:1003:17: note: assuming directive output of 12 bytes - 1003 | sprintf(text, "%g", (float) (c_ms->ang_l_e * conv_ang[ANG_RAD][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from c_microstrip.c:27: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c setup_transgui.c: In function 'setup_transgui': setup_transgui.c:468:2: warning: 'defaultval' may be used uninitialized in this function [-Wmaybe-uninitialized] 468 | sprintf(textentry,"%g", (float) defaultval); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); - | ^~ -microstrip.c:705:19: note: assuming directive output of 12 bytes - 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from microstrip.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from rectwaveguide.c:23: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from rectwaveguide.c:23: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2624,84 +2808,10 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from rectwaveguide.c:23: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from rectwaveguide.c:23: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -rectwaveguide.c: In function 'alphac': -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, from coax.c:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ -rectwaveguide.c:104:14: warning: variable 'k' set but not used [-Wunused-but-set-variable] - 104 | gfloat Rs, k, f_c; - | ^ -rectwaveguide.c: In function 'get_rectwaveguide_comp': -rectwaveguide.c:228:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 228 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 229 | (GTK_COMBO(rwin->component_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c: In function 'get_rectwaveguide_elec': -rectwaveguide.c:247:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 247 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 248 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:253:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 253 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 254 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c: In function 'get_rectwaveguide_phys': -rectwaveguide.c:273:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 273 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 274 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:279:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 279 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 280 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, @@ -2716,94 +2826,6 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -rectwaveguide.c:285:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 285 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 286 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c: In function 'analyze_rectwaveguide': -rectwaveguide.c:359:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 359 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 360 | (GTK_ENTRY - | ~~~~~~~~~~ - 361 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:365:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 365 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 366 | (GTK_ENTRY - | ~~~~~~~~~~ - 367 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:389:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 389 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 390 | (GTK_COMBO - | ~~~~~~~~~~ - 391 | (rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c: In function 'synthesize_rectwaveguide': -rectwaveguide.c:503:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 503 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 504 | (GTK_ENTRY - | ~~~~~~~~~~ - 505 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:512:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 512 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 513 | (GTK_ENTRY - | ~~~~~~~~~~ - 514 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:524:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 524 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 525 | (GTK_ENTRY - | ~~~~~~~~~~ - 526 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:566:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 566 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 567 | (GTK_COMBO - | ~~~~~~~~~~ - 568 | (rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2955,39 +2977,6 @@ coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] 358 | gfloat f, er, din, dout, Z0; | ^ -c_microstrip.c: In function 'synthesize_c_microstrip': -c_microstrip.c:1170:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 1170 | sprintf(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit])); - | ^~ -c_microstrip.c:1170:19: note: assuming directive output of 12 bytes - 1170 | sprintf(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from c_microstrip.c:27: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c:1174:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 1174 | sprintf(text, "%g", (float) (c_ms->s * conv_length[LENGTH_M][required_unit])); - | ^~ -c_microstrip.c:1174:19: note: assuming directive output of 12 bytes - 1174 | sprintf(text, "%g", (float) (c_ms->s * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from c_microstrip.c:27: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c:1144:16: warning: 'f2' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); - | ^~~ -c_microstrip.c:1144:31: warning: 'f1' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); - | ~~~^~~~~ rectwaveguide.c: In function 'analyze_rectwaveguide': rectwaveguide.c:362:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); @@ -3015,6 +3004,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~ +microstrip.c:705:19: note: assuming directive output of 12 bytes + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from microstrip.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coax.c: In function 'analyze_coax': coax.c:262:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 262 | sprintf(text,"%g", (float) (cx->Z0 * conv_res[RES_OHM][required_unit])); @@ -3042,6 +3044,46 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +coax.c: In function 'synthesize_coax': +coax.c:404:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); + | ^~ +coax.c:404:22: note: assuming directive output of 12 bytes + 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from coax.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +coax.c:396:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); + | ^~ +coax.c:396:22: note: assuming directive output of 12 bytes + 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from coax.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +coax.c:415:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); + | ^~ +coax.c:415:20: note: assuming directive output of 12 bytes + 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from coax.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rectwaveguide.c: In function 'synthesize_rectwaveguide': rectwaveguide.c:515:16: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 515 | sprintf(text,"%g", (float) (rw->a * conv_length[LENGTH_M][required_unit])); @@ -3082,46 +3124,39 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c: In function 'synthesize_coax': -coax.c:404:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); - | ^~ -coax.c:404:22: note: assuming directive output of 12 bytes - 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from coax.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c:396:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); - | ^~ -coax.c:396:22: note: assuming directive output of 12 bytes - 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); - | ^~~~ +c_microstrip.c: In function 'synthesize_c_microstrip': +c_microstrip.c:1170:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 1170 | sprintf(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit])); + | ^~ +c_microstrip.c:1170:19: note: assuming directive output of 12 bytes + 1170 | sprintf(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit])); + | ^~~~ In file included from /usr/include/stdio.h:867, - from coax.c:29: + from c_microstrip.c:27: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c:415:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); - | ^~ -coax.c:415:20: note: assuming directive output of 12 bytes - 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); - | ^~~~ +c_microstrip.c:1174:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 1174 | sprintf(text, "%g", (float) (c_ms->s * conv_length[LENGTH_M][required_unit])); + | ^~ +c_microstrip.c:1174:19: note: assuming directive output of 12 bytes + 1174 | sprintf(text, "%g", (float) (c_ms->s * conv_length[LENGTH_M][required_unit])); + | ^~~~ In file included from /usr/include/stdio.h:867, - from coax.c:29: + from c_microstrip.c:27: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +c_microstrip.c:1144:16: warning: 'f2' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); + | ^~~ +c_microstrip.c:1144:31: warning: 'f1' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); + | ~~~^~~~~ gcc -ggdb -O2 -Wall -Wl,-z,relro -Wl,-z,now -o transcalc transcalc.o setup_menu.o options.o help.o setup_body.o setup_status.o image_util.o unitscombo.o setup_label.o setup_values.o setup_transgui.o file_io.o print_trans.o microstrip.o c_microstrip.o rectwaveguide.o coax.o callback_general.o fnmatch.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lm make[4]: Leaving directory '/build/transcalc-0.14/src' Making all in images @@ -3151,13 +3186,13 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/transcalc-0.14' dh_auto_install - make -j15 install DESTDIR=/build/transcalc-0.14/debian/transcalc AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/transcalc-0.14/debian/transcalc AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/transcalc-0.14' Making install in src make[3]: Entering directory '/build/transcalc-0.14/src' make[4]: Entering directory '/build/transcalc-0.14/src' -make[4]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/bin' +make[4]: Nothing to be done for 'install-data-am'. /usr/bin/install -c transcalc '/build/transcalc-0.14/debian/transcalc/usr/bin' make[4]: Leaving directory '/build/transcalc-0.14/src' make[3]: Leaving directory '/build/transcalc-0.14/src' @@ -3227,12 +3262,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1183589/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1183589/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3288421 and its subdirectories -I: Current time: Wed Oct 20 03:02:07 -12 2021 -I: pbuilder-time-stamp: 1634742127 +I: removing directory /srv/workspace/pbuilder/1183589 and its subdirectories +I: Current time: Wed Nov 23 11:29:37 +14 2022 +I: pbuilder-time-stamp: 1669152577