Diff of the two buildlogs: -- --- b1/build.log 2023-05-12 23:58:49.905605272 +0000 +++ b2/build.log 2023-05-13 00:04:49.137862808 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 12 11:56:43 -12 2023 -I: pbuilder-time-stamp: 1683935803 +I: Current time: Fri Jun 14 20:21:55 +14 2024 +I: pbuilder-time-stamp: 1718346115 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./transcalc_0.14.orig.tar.gz] I: copying [./transcalc_0.14-7.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Jan 2 10:51:13 2021 -12 +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: cannot verify inline signature for ./transcalc_0.14-7.dsc: no acceptable signature found @@ -34,135 +34,167 @@ 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/3236199/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/121365/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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 14 20:22 /bin/sh -> /bin/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/121365/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/121365/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 parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(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 parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='db8726207c1140ca8f13381ce78392cb' - 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='3236199' - PS1='# ' - PS2='> ' + INVOCATION_ID=f9e432fac992405cb535f0d212133e89 + 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=121365 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/r-b-build.0gSEFYAx/pbuilderrc_Nyi2 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0gSEFYAx/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/r-b-build.0gSEFYAx/pbuilderrc_wxLe --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0gSEFYAx/b2 --logfile b2/build.log --extrapackages usrmerge 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-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3236199/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 14 20:22 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/121365/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -405,7 +437,7 @@ Get: 199 http://deb.debian.org/debian bookworm/main amd64 libxdamage-dev amd64 1:1.1.6-1 [15.0 kB] Get: 200 http://deb.debian.org/debian bookworm/main amd64 libxml2-utils amd64 2.9.14+dfsg-1.2 [98.8 kB] Get: 201 http://deb.debian.org/debian bookworm/main amd64 libgtk2.0-dev amd64 2.24.33-2 [827 kB] -Fetched 85.6 MB in 5s (19.0 MB/s) +Fetched 85.6 MB in 4s (20.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19596 files and directories currently installed.) @@ -1233,8 +1265,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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 +I: user script /srv/workspace/pbuilder/121365/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/121365/tmp/hooks/A99_set_merged_usr finished +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 @@ -1282,7 +1325,7 @@ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1315,8 +1358,8 @@ checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.7... yes checking for GTK+ - version >= 2.2.0... yes (version 2.24.33) @@ -1367,7 +1410,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' @@ -1388,6 +1431,7 @@ gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -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.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o microstrip.o microstrip.c gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -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.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -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, @@ -1396,7 +1440,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 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); | ^~~~ @@ -1420,7 +1464,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 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); | ^~~~ @@ -1444,7 +1488,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_status.c:28: + 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); | ^~~~ @@ -1468,7 +1512,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 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); | ^~~~ @@ -1496,6 +1540,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); | ^~~~ +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 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); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + 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: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, @@ -1516,7 +1585,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 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); | ^~~~ @@ -1532,19 +1601,6 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ -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: -/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:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | 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, @@ -1553,7 +1609,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 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); | ^~~~ @@ -1582,6 +1638,30 @@ /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ +In file included from /usr/include/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 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); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + 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: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, @@ -1602,7 +1682,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 image_util.c:28: + 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); | ^~~~ @@ -1626,7 +1706,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 microstrip.c:29: + 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); | ^~~~ @@ -1650,7 +1730,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_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); | ^~~~ @@ -1675,7 +1755,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 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); | ^~~~ @@ -1699,8 +1779,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 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); | ^~~~ @@ -1793,30 +1872,6 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | 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 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); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - 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: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ 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, @@ -1882,7 +1937,6 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -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/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1896,19 +1950,6 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ -transcalc.c: In function 'read_config_file': -transcalc.c:188:9: 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, @@ -1929,24 +1970,19 @@ /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/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: +/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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ -transcalc.c: In function 'running_for_first_time': -transcalc.c:153:7: warning: argument 2 null where non-null expected [-Wnonnull] - 153 | if (stat (config_filename, config_file_stat) != 0) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from transcalc.h:34: -/usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: in a call to function 'stat' declared 'nonnull' - 205 | extern int stat (const char *__restrict __file, - | ^~~~ -options.c: In function 'optionsCB': -options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] - 161 | GtkWidget *vbox; - | ^~~~ 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, @@ -1960,6 +1996,12 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | 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, @@ -1973,214 +2015,25 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | 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.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c -print_trans.c: In function 'get_trans_text': -print_trans.c:71:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" - 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:72:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 72 | g_string_sprintfa (s, "%s\n",ctime(&date)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:92:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 92 | g_string_sprintfa (s, " %s = %s",tlabel->substrate_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:95:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 95 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:96:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 96 | g_string_sprintfa (s, " (%s) \n", tlabel->stooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:109:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 109 | g_string_sprintfa (s, " %s = %s",tlabel->component_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:112:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 112 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:113:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 113 | g_string_sprintfa (s, " (%s) \n", tlabel->ctooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:126:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 126 | g_string_sprintfa (s, " %s = %s",tlabel->physical_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:129:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 129 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:132:23: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] - 132 | &tmpstr); - | ^~~~~~~ - | | - | const gchar ** {aka const char **} -gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c -In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, - from /usr/include/gtk-2.0/gtk/gtk.h:35: -/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:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 133 | g_string_sprintfa (s, "<%s> ", tmpstr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:135:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 135 | g_string_sprintfa (s, " (%s) \n", tlabel->ptooltips_helptext[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:148:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 148 | g_string_sprintfa (s, " %s = %s",tlabel->electrical_label_name[i], - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:151:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 151 | g_string_sprintfa (s, " %s ",newch2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -print_trans.c:152:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" - 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 **} -/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 "g_string_append_printf" - 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 **} -/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 "g_string_append_printf" - 165 | g_string_sprintfa (s, "%s\n", newch1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~ -microstrip.c: In function 'get_microstrip_sub': -microstrip.c:454:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 454 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:459:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 459 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:464:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 464 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:473:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 473 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_comp': -microstrip.c:489:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 489 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:510:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 510 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_phys': -microstrip.c:527:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 527 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:532:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 532 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'show_results': -microstrip.c:554:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 554 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:558:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 558 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:562:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 562 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:570:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 570 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:571:124: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 571 | sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'synthesize_microstrip': -microstrip.c:704:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 704 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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: +/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 'compute_single_line': +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ 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; | ^~~~~~~~~~~~~ @@ -2199,6 +2052,19 @@ c_microstrip.c:158:25: warning: variable 's' set but not used [-Wunused-but-set-variable] 158 | gfloat er, mur, h, w, s, ht, t; | ^ +transcalc.c: In function 'read_config_file': +transcalc.c:188:9: 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c: In function 'conductor_losses': c_microstrip.c:548:79: warning: variable 'tand' set but not used [-Wunused-but-set-variable] 548 | gfloat f, w, e_r_eff_e_0, e_r_eff_o_0, Z0_h_e, Z0_h_o, delta, sigma, rough, tand; @@ -2272,6 +2138,24 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +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; + | ^~~~ +microstrip.c: In function 'get_microstrip_sub': +microstrip.c:454:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 454 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:459:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 459 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:978:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 978 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[2])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2297,6 +2181,32 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +microstrip.c:464:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 464 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:473:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 473 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_comp': +microstrip.c:489:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 489 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:1017:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1017 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2315,6 +2225,38 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +microstrip.c:510:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 510 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_phys': +microstrip.c:527:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 527 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:532:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 532 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'show_results': +microstrip.c:554:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 554 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:558:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 558 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 'synthesize_c_microstrip': 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))); @@ -2328,14 +2270,272 @@ 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 function 'print_execute', - inlined from 'print_ok' at print_trans.c:190:7: -print_trans.c:53:3: warning: 'fclose' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] - 53 | fclose (fp); - | ^~~~~~~~~~~ -print_trans.c:43:8: note: returned from 'popen' - 43 | fp = popen (command, "w"); - | ^~~~~~~~~~~~~~~~~~~~ +microstrip.c:562:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 562 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:570:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 570 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:571:124: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 571 | sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'synthesize_microstrip': +microstrip.c:704:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 704 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +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 *); + | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:34: 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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:34: 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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +print_trans.c: In function 'get_trans_text': +print_trans.c:71:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" + 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:72:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 72 | g_string_sprintfa (s, "%s\n",ctime(&date)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:92:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 92 | g_string_sprintfa (s, " %s = %s",tlabel->substrate_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:95:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 95 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:96:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 96 | g_string_sprintfa (s, " (%s) \n", tlabel->stooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:109:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 109 | g_string_sprintfa (s, " %s = %s",tlabel->component_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:112:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 112 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:113:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 113 | g_string_sprintfa (s, " (%s) \n", tlabel->ctooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:126:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 126 | g_string_sprintfa (s, " %s = %s",tlabel->physical_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:129:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 129 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:132:23: 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: +/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:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 133 | g_string_sprintfa (s, "<%s> ", tmpstr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:135:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 135 | g_string_sprintfa (s, " (%s) \n", tlabel->ptooltips_helptext[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:148:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 148 | g_string_sprintfa (s, " %s = %s",tlabel->electrical_label_name[i], + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:151:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 151 | g_string_sprintfa (s, " %s ",newch2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +print_trans.c:152:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" + 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 **} +/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 "g_string_append_printf" + 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 **} +/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 "g_string_append_printf" + 165 | g_string_sprintfa (s, "%s\n", newch1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c: In function 'running_for_first_time': +transcalc.c:153:7: warning: argument 2 null where non-null expected [-Wnonnull] + 153 | if (stat (config_filename, config_file_stat) != 0) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from transcalc.h:34: +/usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: in a call to function 'stat' declared 'nonnull' + 205 | extern int stat (const char *__restrict __file, + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c 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])); @@ -2386,6 +2586,48 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +In function 'print_execute', + inlined from 'print_ok' at print_trans.c:190:7: +print_trans.c:53:3: warning: 'fclose' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] + 53 | fclose (fp); + | ^~~~~~~~~~~ +print_trans.c:43:8: note: returned from 'popen' + 43 | fp = popen (command, "w"); + | ^~~~~~~~~~~~~~~~~~~~ +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])); + | ^~ +rectwaveguide.c:362:20: note: assuming directive output of 12 bytes + 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:906, + from rectwaveguide.c:22: +In function 'sprintf', + inlined from 'analyze_rectwaveguide' at rectwaveguide.c:362:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +rectwaveguide.c: In function 'analyze_rectwaveguide': +rectwaveguide.c:368:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); + | ^~ +rectwaveguide.c:368:20: note: assuming directive output of 12 bytes + 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); + | ^~~~ +In function 'sprintf', + inlined from 'analyze_rectwaveguide' at rectwaveguide.c:368:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __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, @@ -2410,6 +2652,23 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +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:906, + from microstrip.c:28: +In function 'sprintf', + inlined from 'synthesize_microstrip' at microstrip.c:705:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __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, @@ -2418,7 +2677,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 rectwaveguide.c:23: + from callback_general.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); | ^~~~ @@ -2434,6 +2693,54 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +rectwaveguide.c: In function 'synthesize_rectwaveguide': +rectwaveguide.c:515:23: 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])); + | ^~ +rectwaveguide.c:515:22: note: assuming directive output of 12 bytes + 515 | sprintf(text,"%g", (float) (rw->a * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In function 'sprintf', + inlined from 'synthesize_rectwaveguide' at rectwaveguide.c:515:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +rectwaveguide.c: In function 'synthesize_rectwaveguide': +rectwaveguide.c:506:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 506 | sprintf(text,"%g", (float) (rw->b * conv_length[LENGTH_M][required_unit])); + | ^~ +rectwaveguide.c:506:22: note: assuming directive output of 12 bytes + 506 | sprintf(text,"%g", (float) (rw->b * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In function 'sprintf', + inlined from 'synthesize_rectwaveguide' at rectwaveguide.c:506:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +rectwaveguide.c: In function 'synthesize_rectwaveguide': +rectwaveguide.c:527:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 527 | sprintf(text,"%g", (float) (rw->l * conv_length[LENGTH_M][required_unit])); + | ^~ +rectwaveguide.c:527:20: note: assuming directive output of 12 bytes + 527 | sprintf(text,"%g", (float) (rw->l * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In function 'sprintf', + inlined from 'synthesize_rectwaveguide' at rectwaveguide.c:527:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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, @@ -2447,30 +2754,6 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | 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 callback_general.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:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - 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: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ 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, @@ -2580,23 +2863,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); | ~~~~~~~^~~~ -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:906, - from microstrip.c:28: -In function 'sprintf', - inlined from 'synthesize_microstrip' at microstrip.c:705:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ coax.c:401:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 401 | required_unit = getunit (gtk_entry_get_text | ^~~~~~~~~~~~~~~~~~ @@ -2620,147 +2886,6 @@ coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] 358 | gfloat f, er, din, dout, Z0; | ^ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:34: 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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:34: 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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/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:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ 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])); @@ -2795,6 +2920,51 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +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 function 'sprintf', + inlined from 'synthesize_c_microstrip' at c_microstrip.c:1170:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +c_microstrip.c: In function 'synthesize_c_microstrip': +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 function 'sprintf', + inlined from 'synthesize_c_microstrip' at c_microstrip.c:1174:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +c_microstrip.c: In function 'synthesize_c_microstrip': +c_microstrip.c:1144:16: warning: 'f2' may be used uninitialized [-Wmaybe-uninitialized] + 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); + | ^~~ +c_microstrip.c:1101:15: note: 'f2' was declared here + 1101 | gdouble f1, f2, ft1, ft2, j11, j12, j21, j22, d_s_h, d_w_h, err; + | ^~ +c_microstrip.c:1144:31: warning: 'f1' may be used uninitialized [-Wmaybe-uninitialized] + 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); + | ~~~^~~~~ +c_microstrip.c:1101:11: note: 'f1' was declared here + 1101 | gdouble f1, f2, ft1, ft2, j11, j12, j21, j22, d_s_h, d_w_h, err; + | ^~ 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])); @@ -2843,133 +3013,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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])); - | ^~ -rectwaveguide.c:362:20: note: assuming directive output of 12 bytes - 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:906, - from rectwaveguide.c:22: -In function 'sprintf', - inlined from 'analyze_rectwaveguide' at rectwaveguide.c:362:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -rectwaveguide.c: In function 'analyze_rectwaveguide': -rectwaveguide.c:368:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); - | ^~ -rectwaveguide.c:368:20: note: assuming directive output of 12 bytes - 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); - | ^~~~ -In function 'sprintf', - inlined from 'analyze_rectwaveguide' at rectwaveguide.c:368:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -rectwaveguide.c: In function 'synthesize_rectwaveguide': -rectwaveguide.c:515:23: 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])); - | ^~ -rectwaveguide.c:515:22: note: assuming directive output of 12 bytes - 515 | sprintf(text,"%g", (float) (rw->a * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In function 'sprintf', - inlined from 'synthesize_rectwaveguide' at rectwaveguide.c:515:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -rectwaveguide.c: In function 'synthesize_rectwaveguide': -rectwaveguide.c:506:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 506 | sprintf(text,"%g", (float) (rw->b * conv_length[LENGTH_M][required_unit])); - | ^~ -rectwaveguide.c:506:22: note: assuming directive output of 12 bytes - 506 | sprintf(text,"%g", (float) (rw->b * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In function 'sprintf', - inlined from 'synthesize_rectwaveguide' at rectwaveguide.c:506:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -rectwaveguide.c: In function 'synthesize_rectwaveguide': -rectwaveguide.c:527:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 527 | sprintf(text,"%g", (float) (rw->l * conv_length[LENGTH_M][required_unit])); - | ^~ -rectwaveguide.c:527:20: note: assuming directive output of 12 bytes - 527 | sprintf(text,"%g", (float) (rw->l * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In function 'sprintf', - inlined from 'synthesize_rectwaveguide' at rectwaveguide.c:527:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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 function 'sprintf', - inlined from 'synthesize_c_microstrip' at c_microstrip.c:1170:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -c_microstrip.c: In function 'synthesize_c_microstrip': -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 function 'sprintf', - inlined from 'synthesize_c_microstrip' at c_microstrip.c:1174:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -c_microstrip.c: In function 'synthesize_c_microstrip': -c_microstrip.c:1144:16: warning: 'f2' may be used uninitialized [-Wmaybe-uninitialized] - 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); - | ^~~ -c_microstrip.c:1101:15: note: 'f2' was declared here - 1101 | gdouble f1, f2, ft1, ft2, j11, j12, j21, j22, d_s_h, d_w_h, err; - | ^~ -c_microstrip.c:1144:31: warning: 'f1' may be used uninitialized [-Wmaybe-uninitialized] - 1144 | d_w_h = (-f2 * j11 + f1 * j21) / (j11 * j22 - j21 * j12); - | ~~~^~~~~ -c_microstrip.c:1101:11: note: 'f1' was declared here - 1101 | gdouble f1, f2, ft1, ft2, j11, j12, j21, j22, d_s_h, d_w_h, err; - | ^~ 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 @@ -2999,12 +3042,12 @@ 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' - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/bin' + /usr/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' @@ -3013,7 +3056,7 @@ make[3]: Entering directory '/build/transcalc-0.14/images' make[4]: Entering directory '/build/transcalc-0.14/images' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/images/' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/images/' /usr/bin/install -c -m 644 microstrip.jpg rectwaveguide.jpg coax.jpg c_microstrip.jpg '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/images/' make[4]: Leaving directory '/build/transcalc-0.14/images' make[3]: Leaving directory '/build/transcalc-0.14/images' @@ -3023,7 +3066,7 @@ make[4]: Entering directory '/build/transcalc-0.14/docs' make[5]: Entering directory '/build/transcalc-0.14/docs' make[5]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/man/man1' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/man/man1' /usr/bin/install -c -m 644 transcalc.1 '/build/transcalc-0.14/debian/transcalc/usr/share/man/man1' make[5]: Leaving directory '/build/transcalc-0.14/docs' make[4]: Leaving directory '/build/transcalc-0.14/docs' @@ -3032,7 +3075,7 @@ make[3]: Entering directory '/build/transcalc-0.14/examples' make[4]: Entering directory '/build/transcalc-0.14/examples' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/examples/' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/examples/' /usr/bin/install -c -m 644 example1.trc 000.trc cstrip_kj_1.trc hp.trc ustrip_jansen.trc 001.trc cstrip_kj_2.trc ustrip50fr4.trc '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/examples/' make[4]: Leaving directory '/build/transcalc-0.14/examples' make[3]: Leaving directory '/build/transcalc-0.14/examples' @@ -3066,8 +3109,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'transcalc' in '../transcalc_0.14-7_amd64.deb'. dpkg-deb: building package 'transcalc-dbgsym' in '../transcalc-dbgsym_0.14-7_amd64.deb'. +dpkg-deb: building package 'transcalc' in '../transcalc_0.14-7_amd64.deb'. dpkg-genbuildinfo --build=binary -O../transcalc_0.14-7_amd64.buildinfo dpkg-genchanges --build=binary -O../transcalc_0.14-7_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3075,12 +3118,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/121365/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/121365/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/3236199 and its subdirectories -I: Current time: Fri May 12 11:58:49 -12 2023 -I: pbuilder-time-stamp: 1683935929 +I: removing directory /srv/workspace/pbuilder/121365 and its subdirectories +I: Current time: Fri Jun 14 20:27:50 +14 2024 +I: pbuilder-time-stamp: 1718346470