Diff of the two buildlogs: -- --- b1/build.log 2021-07-15 13:52:57.461873910 +0000 +++ b2/build.log 2021-07-15 14:01:22.706975246 +0000 @@ -1,6 +1,9 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 17 08:15:12 -12 2022 -I: pbuilder-time-stamp: 1660767312 +W: cgroups are not available on the host, not using them. +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Fri Jul 16 03:53:02 +14 2021 +I: pbuilder-time-stamp: 1626357182 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +20,8 @@ I: copying [./transcalc_0.14-7.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.MzXJNZK1/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 2 10:51:13 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Tb2b9Cq0/trustedkeys.kbx': General error +gpgv: Signature made Sun Jan 3 12:51:13 2021 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./transcalc_0.14-7.dsc @@ -36,137 +39,170 @@ 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/48247/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14923/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/14923/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14923/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8dd26a174d4a44c9bf4e2b86448de849' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='48247' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=14923 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.2ABhs3cDGi/pbuilderrc_48GI --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.2ABhs3cDGi/b1 --logfile b1/build.log transcalc_0.14-7.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.2ABhs3cDGi/pbuilderrc_9Snp --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.2ABhs3cDGi/b2 --logfile b2/build.log --extrapackages usrmerge transcalc_0.14-7.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-2 (2021-06-21) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 16 03:46 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/48247/tmp/hooks/D02_print_environment finished + total 5796 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 16 03:55 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 14 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/14923/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -405,7 +441,7 @@ Get: 195 http://deb.debian.org/debian bullseye/main i386 libxdamage-dev i386 1:1.1.5-2 [15.8 kB] Get: 196 http://deb.debian.org/debian bullseye/main i386 libxml2-utils i386 2.9.10+dfsg-6.7 [110 kB] Get: 197 http://deb.debian.org/debian bullseye/main i386 libgtk2.0-dev i386 2.24.33-2 [827 kB] -Fetched 86.2 MB in 1s (86.4 MB/s) +Fetched 86.2 MB in 11s (8037 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -1219,8 +1255,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (468 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 33856 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. 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 +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 dpkg-buildpackage: info: source package transcalc dpkg-buildpackage: info: source version 0.14-7 dpkg-buildpackage: info: source distribution unstable @@ -1243,7 +1315,7 @@ ./configure --build=i686-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/i386-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 thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1267,8 +1339,8 @@ checking for some Win32 platform... no checking for native Win32... no checking how to run the C preprocessor... gcc -E -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 ANSI C header files... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.7... yes @@ -1334,7 +1406,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/transcalc-0.14' dh_auto_build - make -j18 + make -j10 make[2]: Entering directory '/build/transcalc-0.14' make all-recursive make[3]: Entering directory '/build/transcalc-0.14' @@ -1350,14 +1422,6 @@ gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o unitscombo.o unitscombo.c gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_label.o setup_label.c gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_values.o setup_values.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_transgui.o setup_transgui.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o file_io.o file_io.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o print_trans.o print_trans.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o microstrip.o microstrip.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o c_microstrip.o c_microstrip.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c 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, @@ -1366,7 +1430,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_menu.c:28: + from transcalc.h:43, + from setup_values.c:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1379,7 +1444,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_menu.c:28: + from transcalc.h:43, + from setup_values.c:32: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1391,7 +1457,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from options.c:27: + 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); | ^~~~ @@ -1404,7 +1471,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from options.c:27: + from transcalc.h:43, + from transcalc.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1441,19 +1509,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: -/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 file_io.c:31: + 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); | ^~~~ @@ -1466,20 +1522,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from unitscombo.c:29: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from file_io.c:31: + from options.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1491,7 +1534,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 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); | ^~~~ @@ -1504,7 +1547,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_transgui.c:29: + from image_util.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1541,122 +1584,10 @@ 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:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from c_microstrip.c:28: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from rectwaveguide.c:23: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from rectwaveguide.c:23: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from microstrip.c:29: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from microstrip.c:29: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -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 coax.c:30: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from coax.c:30: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, from setup_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); | ^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from image_util.c:28: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, @@ -1670,19 +1601,6 @@ /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from image_util.c:28: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1718,61 +1636,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 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:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from transcalc.c:26: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/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 setup_values.c:32: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_values.c:32: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - 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: + 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); | ^~~~ @@ -1785,7 +1649,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from callback_general.c:28: + from setup_menu.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1797,8 +1661,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 print_trans.c:28: + 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); | ^~~~ @@ -1811,8 +1674,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from print_trans.c:28: + from unitscombo.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1820,7 +1682,8 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_menu.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1834,7 +1697,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_menu.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1842,7 +1706,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from options.c:27: + from setup_menu.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1856,7 +1720,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from options.c:27: + from setup_menu.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1864,6 +1728,23 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, + from options.c:27: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from transcalc.h:43, + from setup_label.c:31: +/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, from help.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; @@ -1878,7 +1759,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from help.c:29: + from transcalc.h:43, + from setup_label.c:31: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1886,15 +1768,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from file_io.c:31: -/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, - from setup_transgui.c:29: + from setup_status.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1908,7 +1782,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from file_io.c:31: + from options.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1922,18 +1796,10 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_transgui.c:29: + from help.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from unitscombo.c:29: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, @@ -1944,7 +1810,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from unitscombo.c:29: + from setup_status.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1952,14 +1818,6 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from c_microstrip.c:28: -/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, from setup_body.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; @@ -1974,20 +1832,6 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from c_microstrip.c:28: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, from setup_body.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal @@ -1996,7 +1840,8 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from rectwaveguide.c:23: + from transcalc.h:43, + from setup_values.c:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2010,7 +1855,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from rectwaveguide.c:23: + from transcalc.h:43, + from setup_values.c:32: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -2018,7 +1864,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from microstrip.c:29: + from image_util.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2032,7 +1878,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from microstrip.c:29: + from image_util.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -2040,7 +1886,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from coax.c:30: + from unitscombo.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2054,23 +1900,66 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from coax.c:30: + from unitscombo.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +transcalc.c: In function 'read_config_file': +transcalc.c:188:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 188 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +options.c: In function 'optionsCB': +options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] + 161 | GtkWidget *vbox; + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_transgui.o setup_transgui.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o file_io.o file_io.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o print_trans.o print_trans.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o microstrip.o microstrip.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o c_microstrip.o c_microstrip.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from microstrip.c:29: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from microstrip.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_status.c:28: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from image_util.c:28: + from microstrip.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2084,10 +1973,260 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_status.c:28: + from microstrip.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from transcalc.h:43, + from print_trans.c:28: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from transcalc.h:43, + from print_trans.c:28: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from setup_transgui.c:29: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from setup_transgui.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~^~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from rectwaveguide.c:23: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from rectwaveguide.c:23: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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))))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~^~~~ +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:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from callback_general.c:28: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + 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 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); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from file_io.c:31: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from rectwaveguide.c:23: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, @@ -2098,16 +2237,155 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from image_util.c:28: + from rectwaveguide.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +rectwaveguide.c: In function 'alphac': +rectwaveguide.c:104:14: warning: variable 'k' set but not used [-Wunused-but-set-variable] + 104 | gfloat Rs, k, f_c; + | ^ +rectwaveguide.c: In function 'get_rectwaveguide_comp': +rectwaveguide.c:228:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 228 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 229 | (GTK_COMBO(rwin->component_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'get_rectwaveguide_elec': +rectwaveguide.c:247:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 247 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 248 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:253:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 253 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 254 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'get_rectwaveguide_phys': +rectwaveguide.c:273:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 273 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 274 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:279:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 279 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 280 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:285:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 285 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 286 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'analyze_rectwaveguide': +rectwaveguide.c:359:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 359 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 360 | (GTK_ENTRY + | ~~~~~~~~~~ + 361 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:365:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 365 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 366 | (GTK_ENTRY + | ~~~~~~~~~~ + 367 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:389:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 389 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 390 | (GTK_COMBO + | ~~~~~~~~~~ + 391 | (rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c: In function 'synthesize_rectwaveguide': +rectwaveguide.c:503:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 503 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 504 | (GTK_ENTRY + | ~~~~~~~~~~ + 505 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:512:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 512 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 513 | (GTK_ENTRY + | ~~~~~~~~~~ + 514 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:524:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 524 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 525 | (GTK_ENTRY + | ~~~~~~~~~~ + 526 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ +rectwaveguide.c:566:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 566 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 567 | (GTK_COMBO + | ~~~~~~~~~~ + 568 | (rwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rectwaveguide.c:27: +rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 77 | extern gint getunit (gchar *); + | ^~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from setup_label.c:31: + from setup_transgui.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2121,8 +2399,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_label.c:31: + from setup_transgui.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -2130,8 +2407,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from transcalc.c:26: + from callback_general.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2145,8 +2421,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from transcalc.c:26: + from callback_general.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -2154,8 +2429,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from setup_values.c:32: + from file_io.c:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2169,8 +2443,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_values.c:32: + from file_io.c:31: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -2198,11 +2471,61 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from 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:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from c_microstrip.c:28: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +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 coax.c:30: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from coax.c:30: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from callback_general.c:28: + from coax.c:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2216,37 +2539,10 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from callback_general.c:28: + from coax.c:30: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -options.c: In function 'optionsCB': -options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] - 161 | GtkWidget *vbox; - | ^~~~ -c_microstrip.c: In function 'compute_single_line': -c_microstrip.c:160:21: warning: variable 'er_eff_single' set but not used [-Wunused-but-set-variable] - 160 | gfloat Z0_single, er_eff_single; - | ^~~~~~~~~~~~~ -c_microstrip.c:160:10: warning: variable 'Z0_single' set but not used [-Wunused-but-set-variable] - 160 | gfloat Z0_single, er_eff_single; - | ^~~~~~~~~ -c_microstrip.c:159:15: warning: variable 'ht_h' set but not used [-Wunused-but-set-variable] - 159 | gfloat w_h, ht_h; - | ^~~~ -c_microstrip.c:159:10: warning: variable 'w_h' set but not used [-Wunused-but-set-variable] - 159 | gfloat w_h, ht_h; - | ^~~ -c_microstrip.c:158:32: warning: variable 't' set but not used [-Wunused-but-set-variable] - 158 | gfloat er, mur, h, w, s, ht, t; - | ^ -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; - | ^ -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; - | ^ print_trans.c: In function 'get_trans_text': print_trans.c:71:13: warning: Deprecated pre-processor symbol, replace with 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); @@ -2254,16 +2550,6 @@ print_trans.c:72:13: warning: Deprecated pre-processor symbol, replace with 72 | g_string_sprintfa (s, "%s\n",ctime(&date)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 *); - | ^~~~~~~ print_trans.c:92:13: warning: Deprecated pre-processor symbol, replace with 92 | g_string_sprintfa (s, " %s = %s",tlabel->substrate_label_name[i], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2273,84 +2559,21 @@ print_trans.c:96:13: warning: Deprecated pre-processor symbol, replace with 96 | g_string_sprintfa (s, " (%s) \n", tlabel->stooltips_helptext[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c: In function 'read_config_file': -transcalc.c:188:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 188 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -rectwaveguide.c: In function 'get_rectwaveguide_elec': -rectwaveguide.c:247:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 247 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 248 | (GTK_COMBO(rwin->electrical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ print_trans.c:109:13: warning: Deprecated pre-processor symbol, replace with 109 | g_string_sprintfa (s, " %s = %s",tlabel->component_label_name[i], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c: In function 'conductor_losses': -rectwaveguide.c:253:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 253 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 254 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -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; - | ^~~~ print_trans.c:112:13: warning: Deprecated pre-processor symbol, replace with 112 | g_string_sprintfa (s, " %s ",newch2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ print_trans.c:113:13: warning: Deprecated pre-processor symbol, replace with 113 | g_string_sprintfa (s, " (%s) \n", tlabel->ctooltips_helptext[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microstrip.c: In function 'conductor_losses': -rectwaveguide.c: In function 'get_rectwaveguide_phys': -rectwaveguide.c:273:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 273 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 274 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -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; - | ^~~~ print_trans.c:126:13: warning: Deprecated pre-processor symbol, replace with 126 | g_string_sprintfa (s, " %s = %s",tlabel->physical_label_name[i], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print_trans.c:129:13: warning: Deprecated pre-processor symbol, replace with 129 | g_string_sprintfa (s, " %s ",newch2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c: In function 'line_angle': -rectwaveguide.c:279:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 279 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 280 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -c_microstrip.c:637:13: warning: variable 'l' set but not used [-Wunused-but-set-variable] - 637 | gfloat f, l, e_r_eff_e, e_r_eff_o; - | ^ print_trans.c:132:9: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] 132 | &tmpstr); | ^~~~~~~ @@ -2363,15 +2586,6 @@ /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); | ~~~~~~~~~~~~~~~~~~~^~~ -rectwaveguide.c:285:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 285 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 286 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ print_trans.c:133:13: warning: Deprecated pre-processor symbol, replace with 133 | g_string_sprintfa (s, "<%s> ", tmpstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2387,23 +2601,11 @@ print_trans.c:152:13: warning: Deprecated pre-processor symbol, replace with 152 | g_string_sprintfa (s, " (%s) \n", tlabel->etooltips_helptext[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print_trans.c:159:50: warning: passing argument 2 of 'gtk_label_get' from incompatible pointer type [-Wincompatible-pointer-types] 159 | gtk_label_get (GTK_LABEL (twin->results_text), &newch1); | ^~~~~~~ | | | const gchar ** {aka const char **} -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from transcalc.h:43, @@ -2411,17 +2613,9 @@ /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); | ~~~~~~~~~~~~~~~~~~~^~~ -microstrip.c: In function 'get_microstrip_sub': print_trans.c:160:13: warning: Deprecated pre-processor symbol, replace with 160 | g_string_sprintfa (s, "%s", newch1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~ 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); | ^~~~~~~ @@ -2434,46 +2628,57 @@ /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); | ~~~~~~~~~~~~~~~~~~~^~~ -rectwaveguide.c:365:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 365 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 366 | (GTK_ENTRY - | ~~~~~~~~~~ - 367 | (GTK_COMBO(rwin->electrical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ print_trans.c:165:13: warning: Deprecated pre-processor symbol, replace with 165 | g_string_sprintfa (s, "%s\n", newch1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~ -rectwaveguide.c:389:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 389 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 390 | (GTK_COMBO - | ~~~~~~~~~~ - 391 | (rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c: In function 'trc_file_load': +file_io.c:181:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 181 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +file_io.c:199:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 199 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:209:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 209 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:219:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 219 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:229:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | fscanf(fp, "%s %i\n", tmp_str1, &tmp_int); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:237:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 237 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_io.c:248:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 248 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +file_io.c:257:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 257 | fscanf(fp, "%d %d\n", &main_window_width, &main_window_height); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from c_microstrip.c:28: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from c_microstrip.c:28: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ coax.c: In function 'get_coax_comp': -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); - | ~~~~~~~^~~~ coax.c:79:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2508,49 +2713,7 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -rectwaveguide.c: In function 'synthesize_rectwaveguide': -rectwaveguide.c:503:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 503 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 504 | (GTK_ENTRY - | ~~~~~~~~~~ - 505 | (GTK_COMBO(rwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -rectwaveguide.c:512:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 512 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 513 | (GTK_ENTRY - | ~~~~~~~~~~ - 514 | (GTK_COMBO(rwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ -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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~ -rectwaveguide.c:524:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 524 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 525 | (GTK_ENTRY - | ~~~~~~~~~~ - 526 | (GTK_COMBO(rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ coax.c: In function 'get_coax_phys': -microstrip.c: In function 'get_microstrip_comp': coax.c:126:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2562,13 +2725,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: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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~ coax.c:133:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2580,33 +2736,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); | ~~~~~~~^~~~ -c_microstrip.c: In function 'get_c_microstrip_sub': -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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~ -c_microstrip.c:890:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 890 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from c_microstrip.c: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); - | ~~~~~~~^~~~ -rectwaveguide.c:566:31: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 566 | required_unit = getunit(gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 567 | (GTK_COMBO - | ~~~~~~~~~~ - 568 | (rwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rectwaveguide.c:27: -rectwaveguide.h:77:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 77 | extern gint getunit (gchar *); - | ^~~~~~~ coax.c:140:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2618,43 +2747,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: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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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: 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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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: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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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: 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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c:895:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 895 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->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); - | ~~~~~~~^~~~ -In file included from c_microstrip.c: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); - | ~~~~~~~^~~~ coax.c: In function 'analyze_coax': coax.c:259:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | required_unit = getunit (gtk_entry_get_text @@ -2667,20 +2759,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: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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~ -c_microstrip.c:900:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 900 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from c_microstrip.c: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); - | ~~~~~~~^~~~ coax.c:265:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | required_unit = getunit (gtk_entry_get_text | ^~~~~~~~~~~~~~~~~~ @@ -2692,63 +2770,108 @@ 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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: +coax.c: In function 'synthesize_coax': +coax.c:393:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 393 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 394 | (GTK_ENTRY + | ~~~~~~~~~~ + 395 | (GTK_COMBO(cwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.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: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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: +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 + | ^~~~~~~~~~~~~~~~~~ + 402 | (GTK_ENTRY + | ~~~~~~~~~~ + 403 | (GTK_COMBO(cwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.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: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))))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c_microstrip.c:909:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 909 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); +coax.c:412:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 412 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 413 | (GTK_ENTRY + | ~~~~~~~~~~ + 414 | (GTK_COMBO(cwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.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); + | ~~~~~~~^~~~ +coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] + 358 | gfloat f, er, din, dout, Z0; + | ^ +c_microstrip.c: In function 'compute_single_line': +c_microstrip.c:160:21: warning: variable 'er_eff_single' set but not used [-Wunused-but-set-variable] + 160 | gfloat Z0_single, er_eff_single; + | ^~~~~~~~~~~~~ +c_microstrip.c:160:10: warning: variable 'Z0_single' set but not used [-Wunused-but-set-variable] + 160 | gfloat Z0_single, er_eff_single; + | ^~~~~~~~~ +c_microstrip.c:159:15: warning: variable 'ht_h' set but not used [-Wunused-but-set-variable] + 159 | gfloat w_h, ht_h; + | ^~~~ +c_microstrip.c:159:10: warning: variable 'w_h' set but not used [-Wunused-but-set-variable] + 159 | gfloat w_h, ht_h; + | ^~~ +c_microstrip.c:158:32: warning: variable 't' set but not used [-Wunused-but-set-variable] + 158 | gfloat er, mur, h, w, s, ht, t; + | ^ +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; + | ^ +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; + | ^~~~ +c_microstrip.c: In function 'line_angle': +c_microstrip.c:637:13: warning: variable 'l' set but not used [-Wunused-but-set-variable] + 637 | gfloat f, l, e_r_eff_e, e_r_eff_o; + | ^ +c_microstrip.c: In function 'get_c_microstrip_sub': +c_microstrip.c:890:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 890 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: +In file included from c_microstrip.c: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); | ~~~~~~~^~~~ +c_microstrip.c:895:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 895 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c_microstrip.c: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); | ~~~~~~~^~~~ -c_microstrip.c: In function 'get_c_microstrip_comp': -c_microstrip.c:925:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 925 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +c_microstrip.c:900:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 900 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c_microstrip.c: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); | ~~~~~~~^~~~ -coax.c: In function 'synthesize_coax': -c_microstrip.c: In function 'get_c_microstrip_elec': -microstrip.c: In function 'synthesize_microstrip': -coax.c:393:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 393 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 394 | (GTK_ENTRY - | ~~~~~~~~~~ - 395 | (GTK_COMBO(cwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: +c_microstrip.c:909:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 909 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from c_microstrip.c: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: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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: +c_microstrip.c: In function 'get_c_microstrip_comp': +c_microstrip.c:925:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 925 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from c_microstrip.c: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); | ~~~~~~~^~~~ +c_microstrip.c: In function 'get_c_microstrip_elec': c_microstrip.c:941:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 941 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2756,17 +2879,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); | ~~~~~~~^~~~ -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 - | ^~~~~~~~~~~~~~~~~~ - 402 | (GTK_ENTRY - | ~~~~~~~~~~ - 403 | (GTK_COMBO(cwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.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); - | ~~~~~~~^~~~ c_microstrip.c:946:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 946 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2774,17 +2886,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); | ~~~~~~~^~~~ -coax.c:412:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 412 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 413 | (GTK_ENTRY - | ~~~~~~~~~~ - 414 | (GTK_COMBO(cwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.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); - | ~~~~~~~^~~~ c_microstrip.c:951:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 951 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[2])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2800,9 +2901,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); | ~~~~~~~^~~~ -coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] - 358 | gfloat f, er, din, dout, Z0; - | ^ c_microstrip.c:973:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 973 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2817,32 +2915,7 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c: In function 'show_results': -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c:994:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 994 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2878,6 +2951,10 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +setup_transgui.c: In function 'setup_transgui': +setup_transgui.c:468:2: warning: 'defaultval' may be used uninitialized in this function [-Wmaybe-uninitialized] + 468 | sprintf(textentry,"%g", (float) defaultval); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c:1031:126: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1031 | sprintf(text, "Skin Depth = %.4g %s\n", (c_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))))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2900,7 +2977,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); | ~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c 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])); @@ -2941,10 +3017,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -setup_transgui.c: In function 'setup_transgui': -setup_transgui.c:468:2: warning: 'defaultval' may be used uninitialized in this function [-Wmaybe-uninitialized] - 468 | sprintf(textentry,"%g", (float) defaultval); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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])); @@ -3039,6 +3111,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~ +microstrip.c:705:19: note: assuming directive output of 12 bytes + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from microstrip.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rectwaveguide.c: In function 'synthesize_rectwaveguide': rectwaveguide.c:515:16: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 515 | sprintf(text,"%g", (float) (rw->a * conv_length[LENGTH_M][required_unit])); @@ -3079,19 +3164,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); - | ^~ -microstrip.c:705:19: note: assuming directive output of 12 bytes - 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from microstrip.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c: 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])); @@ -3154,13 +3226,13 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/transcalc-0.14' dh_auto_install - make -j18 install DESTDIR=/build/transcalc-0.14/debian/transcalc AM_UPDATE_INFO_DIR=no + make -j10 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' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/bin' make[4]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/bin' /usr/bin/install -c transcalc '/build/transcalc-0.14/debian/transcalc/usr/bin' make[4]: Leaving directory '/build/transcalc-0.14/src' make[3]: Leaving directory '/build/transcalc-0.14/src' @@ -3168,7 +3240,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' @@ -3178,7 +3250,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' @@ -3187,7 +3259,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' @@ -3228,13 +3300,14 @@ dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -I: copying local configuration +I: user script /srv/workspace/pbuilder/14923/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14923/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/48247 and its subdirectories -I: Current time: Wed Aug 17 08:15:56 -12 2022 -I: pbuilder-time-stamp: 1660767356 +I: removing directory /srv/workspace/pbuilder/14923 and its subdirectories +I: Current time: Fri Jul 16 04:01:21 +14 2021 +I: pbuilder-time-stamp: 1626357682