Diff of the two buildlogs: -- --- b1/build.log 2023-04-18 02:54:44.733647871 +0000 +++ b2/build.log 2023-04-18 02:57:49.481452947 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 17 14:52:43 -12 2023 -I: pbuilder-time-stamp: 1681786363 +I: Current time: Mon May 20 23:18:36 +14 2024 +I: pbuilder-time-stamp: 1716196716 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./transcalc_0.14.orig.tar.gz] I: copying [./transcalc_0.14-7.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Jan 2 10:51:13 2021 -12 +gpgv: Signature made Sun Jan 3 12:51:13 2021 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./transcalc_0.14-7.dsc: no acceptable signature found @@ -34,52 +34,84 @@ 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/28289/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9941/tmp/hooks/D01_modify_environment starting +debug: Running on codethink11-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 20 23:18 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/9941/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9941/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='28289' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=9941 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KPBJZNme/pbuilderrc_zznU --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KPBJZNme/b1 --logfile b1/build.log transcalc_0.14-7.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KPBJZNme/pbuilderrc_9F20 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KPBJZNme/b2 --logfile b2/build.log --extrapackages usrmerge transcalc_0.14-7.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink14-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 15 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28289/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 19 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/9941/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -322,7 +354,7 @@ Get: 199 http://deb.debian.org/debian bookworm/main arm64 libxdamage-dev arm64 1:1.1.6-1 [15.1 kB] Get: 200 http://deb.debian.org/debian bookworm/main arm64 libxml2-utils arm64 2.9.14+dfsg-1.1+b3 [97.2 kB] Get: 201 http://deb.debian.org/debian bookworm/main arm64 libgtk2.0-dev arm64 2.24.33-2 [827 kB] -Fetched 83.6 MB in 2s (43.4 MB/s) +Fetched 83.6 MB in 2s (46.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -1150,8 +1182,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/transcalc-0.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../transcalc_0.14-7_source.changes +I: user script /srv/workspace/pbuilder/9941/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/9941/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/transcalc-0.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../transcalc_0.14-7_source.changes dpkg-buildpackage: info: source package transcalc dpkg-buildpackage: info: source version 0.14-7 dpkg-buildpackage: info: source distribution unstable @@ -1306,7 +1347,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_menu.c:28: + from setup_body.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1330,7 +1371,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); | ^~~~ @@ -1346,6 +1388,19 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1354,7 +1409,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from image_util.c:28: + from setup_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); | ^~~~ @@ -1370,6 +1425,19 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1378,7 +1446,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from unitscombo.c:29: + from 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); | ^~~~ @@ -1431,6 +1499,19 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ +transcalc.c: In function 'read_config_file': +transcalc.c:188:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 188 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1439,8 +1520,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: + 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); | ^~~~ @@ -1456,6 +1536,19 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1480,6 +1573,7 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_label.o setup_label.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, @@ -1488,7 +1582,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_body.c:24: + from 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); | ^~~~ @@ -1504,6 +1598,7 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_values.o setup_values.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1530,6 +1625,15 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ +transcalc.c: In function 'running_for_first_time': +transcalc.c:153:7: warning: argument 2 null where non-null expected [-Wnonnull] + 153 | if (stat (config_filename, config_file_stat) != 0) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from transcalc.h:34: +/usr/include/aarch64-linux-gnu/sys/stat.h:205:12: note: in a call to function 'stat' declared 'nonnull' + 205 | extern int stat (const char *__restrict __file, + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_transgui.o setup_transgui.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1556,75 +1660,12 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_label.o setup_label.c -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -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.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o print_trans.o print_trans.c options.c: In function 'optionsCB': options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] 161 | GtkWidget *vbox; | ^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_values.o setup_values.c -transcalc.c: In function 'read_config_file': -transcalc.c:188:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 188 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_transgui.o setup_transgui.c -transcalc.c: In function 'running_for_first_time': -transcalc.c:153:7: warning: argument 2 null where non-null expected [-Wnonnull] - 153 | if (stat (config_filename, config_file_stat) != 0) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from transcalc.h:34: -/usr/include/aarch64-linux-gnu/sys/stat.h:205:12: note: in a call to function 'stat' declared 'nonnull' - 205 | extern int stat (const char *__restrict __file, - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -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.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o print_trans.o print_trans.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o microstrip.o microstrip.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o c_microstrip.o c_microstrip.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, @@ -1653,6 +1694,30 @@ 700 | { | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + 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:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1675,7 +1740,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from transcalc.h:43, - from print_trans.c:28: + 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); | ^~~~ @@ -1699,8 +1764,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from transcalc.h:43, - from setup_values.c:32: + 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); | ^~~~ @@ -1729,6 +1793,134 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ +microstrip.c: In function 'conductor_losses': +microstrip.c:291:56: warning: variable 'tand' set but not used [-Wunused-but-set-variable] + 291 | gfloat f, w, e_r_eff_0, Z0_h_1, delta, sigma, rough, tand; + | ^~~~ +microstrip.c: In function 'get_microstrip_sub': +microstrip.c:454:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 454 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:459:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 459 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:464:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 464 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:473:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 473 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_comp': +microstrip.c:489:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 489 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_elec': +microstrip.c:505:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 505 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:510:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 510 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_phys': +microstrip.c:527:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 527 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:532:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 532 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'show_results': +microstrip.c:554:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 554 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:558:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 558 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:562:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 562 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:570:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 570 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:571:124: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 571 | sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'synthesize_microstrip': +microstrip.c:704:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 704 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1737,7 +1929,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 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); | ^~~~ @@ -1753,6 +1945,45 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +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:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1767,9 +1998,57 @@ 576 | struct _GTimeVal | ^~~~~~~~~ print_trans.c: In function 'get_trans_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 c_microstrip.c:28: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/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); + | ^~~~ print_trans.c:71:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ print_trans.c:72:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" 72 | g_string_sprintfa (s, "%s\n",ctime(&date)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1844,152 +2123,31 @@ print_trans.c:165:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" 165 | g_string_sprintfa (s, "%s\n", newch1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c -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:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - 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:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ -In function 'print_execute', - inlined from 'print_ok' at print_trans.c:190:7: -print_trans.c:53:3: warning: 'fclose' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] - 53 | fclose (fp); - | ^~~~~~~~~~~ -print_trans.c:43:8: note: returned from 'popen' - 43 | fp = popen (command, "w"); - | ^~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from c_microstrip.c:28: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c -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:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ +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, @@ -2016,31 +2174,14 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ -file_io.c: In function 'trc_file_load': -file_io.c:181:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 181 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -file_io.c:199:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 199 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:209:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 209 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:219:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 219 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:229:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | fscanf(fp, "%s %i\n", tmp_str1, &tmp_int); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:237:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 237 | fscanf(fp, "%s %s\n", tmp_str1, tmp_str2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_io.c:248:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 248 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -file_io.c:257:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 257 | fscanf(fp, "%d %d\n", &main_window_width, &main_window_height); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'print_execute', + inlined from 'print_ok' at print_trans.c:190:7: +print_trans.c:53:3: warning: 'fclose' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] + 53 | fclose (fp); + | ^~~~~~~~~~~ +print_trans.c:43:8: note: returned from 'popen' + 43 | fp = popen (command, "w"); + | ^~~~~~~~~~~~~~~~~~~~ rectwaveguide.c: In function 'alphac': rectwaveguide.c:104:14: warning: variable 'k' set but not used [-Wunused-but-set-variable] 104 | gfloat Rs, k, f_c; @@ -2159,6 +2300,30 @@ 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/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:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2169,107 +2334,23 @@ 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: In function 'conductor_losses': -microstrip.c:291:56: warning: variable 'tand' set but not used [-Wunused-but-set-variable] - 291 | gfloat f, w, e_r_eff_0, Z0_h_1, delta, sigma, rough, tand; - | ^~~~ -microstrip.c: In function 'get_microstrip_sub': -microstrip.c:454:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 454 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:459:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 459 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:464:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 464 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:473:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 473 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_comp': -microstrip.c:489:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 489 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_elec': -microstrip.c:505:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 505 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:510:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 510 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_phys': -microstrip.c:527:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 527 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:532:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 532 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'show_results': -microstrip.c:554:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 554 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:558:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 558 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:562:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 562 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:570:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 570 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:571:124: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 571 | sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'synthesize_microstrip': -microstrip.c:704:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 704 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ +microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~ +microstrip.c:705:19: note: assuming directive output of 12 bytes + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:906, + from microstrip.c:28: +In function 'sprintf', + inlined from 'synthesize_microstrip' at microstrip.c:705:5: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ c_microstrip.c: In function '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; @@ -2289,6 +2370,7 @@ 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; | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c c_microstrip.c: In function '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; @@ -2418,30 +2500,6 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -In file included from /usr/include/gtk-2.0/gtk/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:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here - 700 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2621,9 +2679,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; - | ^ 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, @@ -2648,6 +2703,22 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ +coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] + 358 | gfloat f, er, din, dout, Z0; + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ rectwaveguide.c: In function 'analyze_rectwaveguide': rectwaveguide.c:362:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); @@ -2716,19 +2787,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ coax.c: In function 'synthesize_coax': coax.c:404:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); @@ -2825,23 +2883,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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:906, - from microstrip.c:28: -In function 'sprintf', - inlined from 'synthesize_microstrip' at microstrip.c:705:5: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ c_microstrip.c: In function 'synthesize_c_microstrip': c_microstrip.c:1170:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 1170 | sprintf(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit])); @@ -2992,12 +3033,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/9941/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9941/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/28289 and its subdirectories -I: Current time: Mon Apr 17 14:54:43 -12 2023 -I: pbuilder-time-stamp: 1681786483 +I: removing directory /srv/workspace/pbuilder/9941 and its subdirectories +I: Current time: Mon May 20 23:20:22 +14 2024 +I: pbuilder-time-stamp: 1716196822