Diff of the two buildlogs: -- --- b1/build.log 2025-11-18 11:40:59.513600031 +0000 +++ b2/build.log 2025-11-18 11:42:25.165696172 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 17 23:40:12 -12 2025 -I: pbuilder-time-stamp: 1763466012 +I: Current time: Tue Dec 22 08:04:01 +14 2026 +I: pbuilder-time-stamp: 1797876241 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,53 +31,85 @@ dpkg-source: info: applying gcc-15.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2097538/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1754151/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 21 18:04 /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/1754151/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1754151/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 nocheck' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='67bc4dcf85724274b22acf810647ec9c' - 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='2097538' - PS1='# ' - PS2='> ' + INVOCATION_ID=cea47b8fdae24a70a8678b81af914487 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1754151 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.3oTLGkAU/pbuilderrc_evKZ --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3oTLGkAU/b1 --logfile b1/build.log ploticus_2.42-9.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.3oTLGkAU/pbuilderrc_er3b --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3oTLGkAU/b2 --logfile b2/build.log ploticus_2.42-9.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2097538/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1754151/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -235,7 +267,7 @@ Get: 106 http://deb.debian.org/debian unstable/main amd64 libx11-dev amd64 2:1.8.12-1 [894 kB] Get: 107 http://deb.debian.org/debian unstable/main amd64 libxpm-dev amd64 1:3.5.17-1+b3 [130 kB] Get: 108 http://deb.debian.org/debian unstable/main amd64 libgd-dev amd64 2.3.3-13 [262 kB] -Fetched 46.9 MB in 0s (120 MB/s) +Fetched 46.9 MB in 2s (19.2 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19866 files and directories currently installed.) @@ -688,7 +720,11 @@ Solving dependencies... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ploticus-2.42/ && 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 > ../ploticus_2.42-9_source.changes +I: user script /srv/workspace/pbuilder/1754151/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1754151/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ploticus-2.42/ && 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 > ../ploticus_2.42-9_source.changes dpkg-buildpackage: info: source package ploticus dpkg-buildpackage: info: source version 2.42-9 dpkg-buildpackage: info: source distribution unstable @@ -698,7 +734,7 @@ debian/rules clean dh clean dh_auto_clean - make -j40 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/ploticus-2.42' (cd src; make distclean); make[2]: Entering directory '/build/reproducible-path/ploticus-2.42/src' @@ -718,7 +754,7 @@ dh_update_autotools_config dh_autoreconf dh_auto_build - make -j40 INSTALL="install --strip-program=true" + make -j42 INSTALL="install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/ploticus-2.42' cd src; make; make libploticus-static; make clean; \ make FPIC=-fPIC libploticus-so; make clean; @@ -741,16 +777,8 @@ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_line.o proc_line.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_lineplot.o proc_lineplot.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_page.o proc_page.c -proc_categories.c: In function 'PLP_categories': -proc_categories.c:19:28: warning: variable 'datafield' set but not used [-Wunused-but-set-variable] - 19 | char *catspec, *selectex, *datafield, *listsize, *compmethod; - | ^~~~~~~~~ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_pie.o proc_pie.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_print.o proc_print.c -proc_bars.c: In function 'PLP_bars': -proc_bars.c:60:5: warning: variable 'ncolorlp' set but not used [-Wunused-but-set-variable] - 60 | int ncolorlp, taillengiven, barwidthfield, hidezerobars, ibar, colorfield, irow, segmentflag, exactcolorfield; - | ^~~~~~~~ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_boxplot.o proc_boxplot.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_rangesweep.o proc_rangesweep.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_usedata.o proc_usedata.c @@ -760,10 +788,6 @@ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_symbol.o proc_symbol.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_processdata.o proc_processdata.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tabulate.o proc_tabulate.c -proc_axis.c: In function 'PLP_axis': -proc_axis.c:717:42: warning: variable 'timepart' set but not used [-Wunused-but-set-variable] - 717 | double datepart, timepart; - | ^~~~~~~~ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_venndisk.o proc_venndisk.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o clickmap.o clickmap.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tree.o proc_tree.c @@ -775,6 +799,57 @@ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o details.o details.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o units.o units.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preliminaries.o preliminaries.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o process_arg.o process_arg.c +proc_categories.c: In function 'PLP_categories': +proc_categories.c:19:28: warning: variable 'datafield' set but not used [-Wunused-but-set-variable] + 19 | char *catspec, *selectex, *datafield, *listsize, *compmethod; + | ^~~~~~~~~ +proc_bars.c: In function 'PLP_bars': +proc_bars.c:60:5: warning: variable 'ncolorlp' set but not used [-Wunused-but-set-variable] + 60 | int ncolorlp, taillengiven, barwidthfield, hidezerobars, ibar, colorfield, irow, segmentflag, exactcolorfield; + | ^~~~~~~~ +proc_getdata.c: In function 'PLP_getdata': +proc_getdata.c:42:44: warning: variable 'cclen' set but not used [-Wunused-but-set-variable] + 42 | int delim, standardinput, fieldnameheader, cclen, buflen, literaldata, reqnfields; + | ^~~~~ +proc_vector.c: In function 'PLP_vector': +proc_scatterplot.c: In function 'PLP_scatterplot': +proc_vector.c:156:23: warning: variable 'ldet' set but not used [-Wunused-but-set-variable] + 156 | char *ldet; /* to get it to compile.. */ + | ^~~~ +proc_scatterplot.c:45:55: warning: variable 'cx' set but not used [-Wunused-but-set-variable] + 45 | double adjx, adjy, linelen, xloc, yloc, radius, x, y, cx, cy, hlinelen, sizescale; + | ^~ +proc_tabulate.c: In function 'PLP_tabulate': +proc_tabulate.c:52:8: warning: variable 'ix' set but not used [-Wunused-but-set-variable] + 52 | int i, ix, showresults, irow, result, doranges[2], ixx; + | ^~ +proc_tabulate.c:42:20: warning: variable 'forcehorizontal' set but not used [-Wunused-but-set-variable] + 42 | int forcevertical, forcehorizontal; + | ^~~~~~~~~~~~~~~ +pl.c: In function 'main': +proc_tabulate.c:42:5: warning: variable 'forcevertical' set but not used [-Wunused-but-set-variable] + 42 | int forcevertical, forcehorizontal; + | ^~~~~~~~~~~~~ +pl.c:298:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 298 | system( buf ); + | ^~~~~~~~~~~~~ +proc_pie.c: In function 'PLP_pie': +proc_pie.c:32:26: warning: variable 'oldy' set but not used [-Wunused-but-set-variable] + 32 | double fval, x, y, oldx, oldy, stheta, lblfarout, boxwid, boxhi, labx, laby, dval; + | ^~~~ +proc_pie.c:32:20: warning: variable 'oldx' set but not used [-Wunused-but-set-variable] + 32 | double fval, x, y, oldx, oldy, stheta, lblfarout, boxwid, boxhi, labx, laby, dval; + | ^~~~ +proc_axis.c: In function 'PLP_axis': +proc_axis.c:717:42: warning: variable 'timepart' set but not used [-Wunused-but-set-variable] + 717 | double datepart, timepart; + | ^~~~~~~~ +execscriptfile.c: In function 'PL_exec_scriptfile': +execscriptfile.c:25:5: warning: variable 'seekstate' set but not used [-Wunused-but-set-variable] + 25 | int seekstate; + | ^~~~~~~~~ proc_annotate.c: In function 'calc_arrow.isra': proc_annotate.c:227:8: warning: 'atx' may be used uninitialized [-Wmaybe-uninitialized] 227 | *tailx = atx; @@ -788,62 +863,13 @@ proc_annotate.c:193:13: note: 'aty' was declared here 193 | double atx, aty; | ^~~ -proc_getdata.c: In function 'PLP_getdata': -proc_getdata.c:42:44: warning: variable 'cclen' set but not used [-Wunused-but-set-variable] - 42 | int delim, standardinput, fieldnameheader, cclen, buflen, literaldata, reqnfields; - | ^~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preliminaries.o preliminaries.c -pl.c: In function 'main': -pl.c:298:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 298 | system( buf ); - | ^~~~~~~~~~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o process_arg.o process_arg.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plvalue_subst.o plvalue_subst.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cats.o cats.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fieldnames.o fieldnames.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o autorange.o autorange.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nearest.o nearest.c -proc_annotate.c: In function 'PLP_annotate': -proc_annotate.c:147:35: warning: 'cx' may be used uninitialized [-Wmaybe-uninitialized] - 147 | ulx = (((boxw/2.0)-cx)*-1.0); - | ~~~~~~~~~~~^~~~ -proc_annotate.c:31:28: note: 'cx' was declared here - 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; - | ^~ -proc_annotate.c:148:35: warning: 'cy' may be used uninitialized [-Wmaybe-uninitialized] - 148 | uly = (((boxw/2.0)-cy)*-1.0) + boxh; - | ~~~~~~~~~~~^~~~ -proc_annotate.c:31:32: note: 'cy' was declared here - 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; - | ^~ -proc_pie.c: In function 'PLP_pie': -proc_pie.c:32:26: warning: variable 'oldy' set but not used [-Wunused-but-set-variable] - 32 | double fval, x, y, oldx, oldy, stheta, lblfarout, boxwid, boxhi, labx, laby, dval; - | ^~~~ -proc_pie.c:32:20: warning: variable 'oldx' set but not used [-Wunused-but-set-variable] - 32 | double fval, x, y, oldx, oldy, stheta, lblfarout, boxwid, boxhi, labx, laby, dval; - | ^~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o select.o select.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o datasets.o datasets.c -proc_scatterplot.c: In function 'PLP_scatterplot': -proc_scatterplot.c:45:55: warning: variable 'cx' set but not used [-Wunused-but-set-variable] - 45 | double adjx, adjy, linelen, xloc, yloc, radius, x, y, cx, cy, hlinelen, sizescale; - | ^~ -proc_vector.c: In function 'PLP_vector': -proc_vector.c:156:23: warning: variable 'ldet' set but not used [-Wunused-but-set-variable] - 156 | char *ldet; /* to get it to compile.. */ - | ^~~~ -process_arg.c: In function 'PL_process_arg': -process_arg.c:22:33: warning: variable 'vardec' set but not used [-Wunused-but-set-variable] - 22 | int j, nt, slen, rtnstat, olen, vardec; - | ^~~~~~ -proc_tabulate.c: In function 'PLP_tabulate': pl.c:222:33: warning: '_I' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 222 | sprintf( scriptfile, "%s_I", PLS.tmpname ); | ^~ -proc_tabulate.c:52:8: warning: variable 'ix' set but not used [-Wunused-but-set-variable] - 52 | int i, ix, showresults, irow, result, doranges[2], ixx; - | ^~ In file included from /usr/include/stdio.h:970, from plg.h:11, from pl.h:9, @@ -857,17 +883,70 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -proc_tabulate.c:42:20: warning: variable 'forcehorizontal' set but not used [-Wunused-but-set-variable] - 42 | int forcevertical, forcehorizontal; - | ^~~~~~~~~~~~~~~ -proc_tabulate.c:42:5: warning: variable 'forcevertical' set but not used [-Wunused-but-set-variable] - 42 | int forcevertical, forcehorizontal; - | ^~~~~~~~~~~~~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nearest.o nearest.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o select.o select.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o datasets.o datasets.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.c -execscriptfile.c: In function 'PL_exec_scriptfile': -execscriptfile.c:25:5: warning: variable 'seekstate' set but not used [-Wunused-but-set-variable] - 25 | int seekstate; - | ^~~~~~~~~ +proc_tabulate.c: In function 'freqsort.isra': +proc_tabulate.c:528:25: warning: 'firstcell' may be used uninitialized [-Wmaybe-uninitialized] + 528 | used[firstcell] = 1; + | ~~~~~~~~~~~~~~~~^~~ +proc_tabulate.c:510:26: note: 'firstcell' was declared here + 510 | int i, j, used[MAXROWS], firstcell, first, diff; + | ^~~~~~~~~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plg.o plg.c +execline.c: In function 'proc_call': +execline.c:291:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 291 | else fprintf( PLS.diagfp, "Executing %s\n", procname ); fflush( PLS.diagfp ); + | ^~~~ +execline.c:291:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 291 | else fprintf( PLS.diagfp, "Executing %s\n", procname ); fflush( PLS.diagfp ); + | ^~~~~~ +process_arg.c: In function 'PL_process_arg': +process_arg.c:22:33: warning: variable 'vardec' set but not used [-Wunused-but-set-variable] + 22 | int j, nt, slen, rtnstat, olen, vardec; + | ^~~~~~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o init.o init.c +proc_annotate.c: In function 'PLP_annotate': +proc_annotate.c:147:35: warning: 'cx' may be used uninitialized [-Wmaybe-uninitialized] + 147 | ulx = (((boxw/2.0)-cx)*-1.0); + | ~~~~~~~~~~~^~~~ +proc_annotate.c:31:28: note: 'cx' was declared here + 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; + | ^~ +proc_annotate.c:148:35: warning: 'cy' may be used uninitialized [-Wmaybe-uninitialized] + 148 | uly = (((boxw/2.0)-cy)*-1.0) + boxh; + | ~~~~~~~~~~~^~~~ +proc_annotate.c:31:32: note: 'cy' was declared here + 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; + | ^~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arrow.o arrow.c +proc_tabulate.c: In function 'fsort.isra': +proc_tabulate.c:498:23: warning: 'mincell' may be used uninitialized [-Wmaybe-uninitialized] + 498 | used[mincell] = 1; + | ~~~~~~~~~~~~~~^~~ +proc_tabulate.c:473:26: note: 'mincell' was declared here + 473 | int i, j, used[MAXROWS], mincell, first, allnum, foo, idiff; + | ^~~~~~~ +proc_vector.c:187:21: warning: 'basedir' may be used uninitialized [-Wmaybe-uninitialized] + 187 | dir = basedir + ((dir / dirrange) * TWOPI ); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +proc_vector.c:25:22: note: 'basedir' was declared here + 25 | double sin(), cos(), basedir, constantlen, holdx, holdy; + | ^~~~~~~ +proc_vector.c:317:33: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] + 317 | newx = x + (len/2 * cos( dir )); + | ~~~^~ +proc_vector.c:24:46: note: 'len' was declared here + 24 | double dirrange, lenscale, x, y, newx, newy, len, dir, ahlen, ahwid; + | ^~~ +proc_vector.c:318:38: warning: 'dir' may be used uninitialized [-Wmaybe-uninitialized] + 318 | newy = y + (len/2 * sin( dir )); + | ^~~~~~~~~~ +proc_vector.c:24:51: note: 'dir' was declared here + 24 | double dirrange, lenscale, x, y, newx, newy, len, dir, ahlen, ahwid; + | ^~~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mark.o mark.c proc_legend.c: In function 'PLP_legend': proc_legend.c:208:19: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 208 | if( LEtype[j] == LEGEND_COLOR ) { @@ -885,20 +964,25 @@ autorange.c:26:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 26 | int stat; | ^~~~ -nearest.c: In function 'PLP_findnearest': -nearest.c:20:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] - 20 | int stat; - | ^~~~ -execline.c: In function 'proc_call': -execline.c:291:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 291 | else fprintf( PLS.diagfp, "Executing %s\n", procname ); fflush( PLS.diagfp ); - | ^~~~ -execline.c:291:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 291 | else fprintf( PLS.diagfp, "Executing %s\n", procname ); fflush( PLS.diagfp ); - | ^~~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plg.o plg.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o init.o init.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arrow.o arrow.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o block.o block.c +proc_pie.c:110:3: warning: 'df' may be used uninitialized [-Wmaybe-uninitialized] + 110 | if( df < 0 || df >= Nfields ) return( Eerr( 2840, "invalid datafield", "" ) ); + | ^ +proc_pie.c:28:15: note: 'df' was declared here + 28 | int j, align, df, lblfld, ncolors, nexpl, ibb, colorfield, nlines; + | ^~ +In file included from pl.h:9, + from proc_catlines.c:12: +proc_catlines.c: In function 'PLP_catlines': +plg.h:103:33: warning: 'ymin' may be used uninitialized [-Wmaybe-uninitialized] + 103 | #define Emovu( x , y ) PLG_pcode( 'M', Eax((double) x ) , Eay((double) y ), "" ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +proc_catlines.c:255:25: note: in expansion of macro 'Emovu' + 255 | Emovu( xcenter+ofs, ymin ); + | ^~~~~ +proc_catlines.c:37:8: note: 'ymin' was declared here + 37 | double ymin, barlinewidth; + | ^~~~ color.c: In function 'PLG_icolor': color.c:132:7: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 132 | return( c ); @@ -906,11 +990,45 @@ color.c:108:7: note: 'c' was declared here 108 | char *c; | ^ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mark.o mark.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o block.o block.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c +In file included from /usr/include/stdio.h:970, + from plg.h:11, + from pl.h:9, + from clickmap.c:18: +In function 'fprintf', + inlined from 'PL_clickmap_out' at clickmap.c:298:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:10: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] + 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 112 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +clickmap.c: In function 'PL_clickmap_out': +clickmap.c:149:7: note: 'fp' was declared here + 149 | FILE *fp; + | ^~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ps.o ps.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.c +In file included from /usr/include/stdio.h:970, + from plg.h:11, + from pl.h:9, + from proc_getdata.c:11: +In function 'fgets', + inlined from 'PLP_getdata' at proc_getdata.c:245:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:313:12: warning: 'dfp' may be used uninitialized [-Wmaybe-uninitialized] + 313 | return __fgets_alias (__s, __n, __stream); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +proc_getdata.c: In function 'PLP_getdata': +proc_getdata.c:41:7: note: 'dfp' was declared here + 41 | FILE *dfp, *popen(); + | ^~~ +nearest.c: In function 'PLP_findnearest': +nearest.c:20:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] + 20 | int stat; + | ^~~~ In file included from pl.h:9, from proc_boxplot.c:16: proc_boxplot.c: In function 'PLP_boxplot': +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o swf.o swf.c plg.h:162:57: warning: 'stats[1]' may be used uninitialized [-Wmaybe-uninitialized] 162 | #define Emark( x, y, code, r ) PLG_mark( x, y, code, r ) | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -949,28 +1067,10 @@ proc_boxplot.c:56:19: note: 'h[4]' was declared here 56 | double stats[20], h[5]; | ^ -proc_tabulate.c: In function 'freqsort.isra': -proc_tabulate.c:528:25: warning: 'firstcell' may be used uninitialized [-Wmaybe-uninitialized] - 528 | used[firstcell] = 1; - | ~~~~~~~~~~~~~~~~^~~ -proc_tabulate.c:510:26: note: 'firstcell' was declared here - 510 | int i, j, used[MAXROWS], firstcell, first, diff; - | ^~~~~~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c -In file included from /usr/include/stdio.h:970, - from plg.h:11, - from pl.h:9, - from proc_getdata.c:11: -In function 'fgets', - inlined from 'PLP_getdata' at proc_getdata.c:245:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:313:12: warning: 'dfp' may be used uninitialized [-Wmaybe-uninitialized] - 313 | return __fgets_alias (__s, __n, __stream); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_getdata.c: In function 'PLP_getdata': -proc_getdata.c:41:7: note: 'dfp' was declared here - 41 | FILE *dfp, *popen(); - | ^~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ps.o ps.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stub.o stub.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o winscale.o winscale.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lineclip.o lineclip.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o smoothfit.o smoothfit.c parse.c: In function 'PL_parsedata': parse.c:144:37: warning: 'sepchar' may be used uninitialized [-Wmaybe-uninitialized] 144 | if( data[j] == sepchar ) { /* terminate item */ @@ -978,73 +1078,8 @@ parse.c:55:6: note: 'sepchar' was declared here 55 | char sepchar, tok[255]; | ^~~~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o swf.o swf.c -In file included from pl.h:9, - from proc_catlines.c:12: -proc_catlines.c: In function 'PLP_catlines': -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stub.o stub.c -plg.h:103:33: warning: 'ymin' may be used uninitialized [-Wmaybe-uninitialized] - 103 | #define Emovu( x , y ) PLG_pcode( 'M', Eax((double) x ) , Eay((double) y ), "" ) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_catlines.c:255:25: note: in expansion of macro 'Emovu' - 255 | Emovu( xcenter+ofs, ymin ); - | ^~~~~ -proc_catlines.c:37:8: note: 'ymin' was declared here - 37 | double ymin, barlinewidth; - | ^~~~ -proc_vector.c:187:21: warning: 'basedir' may be used uninitialized [-Wmaybe-uninitialized] - 187 | dir = basedir + ((dir / dirrange) * TWOPI ); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_vector.c:25:22: note: 'basedir' was declared here - 25 | double sin(), cos(), basedir, constantlen, holdx, holdy; - | ^~~~~~~ -proc_vector.c:317:33: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] - 317 | newx = x + (len/2 * cos( dir )); - | ~~~^~ -proc_vector.c:24:46: note: 'len' was declared here - 24 | double dirrange, lenscale, x, y, newx, newy, len, dir, ahlen, ahwid; - | ^~~ -proc_vector.c:318:38: warning: 'dir' may be used uninitialized [-Wmaybe-uninitialized] - 318 | newy = y + (len/2 * sin( dir )); - | ^~~~~~~~~~ -proc_vector.c:24:51: note: 'dir' was declared here - 24 | double dirrange, lenscale, x, y, newx, newy, len, dir, ahlen, ahwid; - | ^~~ -proc_pie.c:110:3: warning: 'df' may be used uninitialized [-Wmaybe-uninitialized] - 110 | if( df < 0 || df >= Nfields ) return( Eerr( 2840, "invalid datafield", "" ) ); - | ^ -proc_pie.c:28:15: note: 'df' was declared here - 28 | int j, align, df, lblfld, ncolors, nexpl, ibb, colorfield, nlines; - | ^~ -proc_tabulate.c: In function 'fsort.isra': -proc_tabulate.c:498:23: warning: 'mincell' may be used uninitialized [-Wmaybe-uninitialized] - 498 | used[mincell] = 1; - | ~~~~~~~~~~~~~~^~~ -proc_tabulate.c:473:26: note: 'mincell' was declared here - 473 | int i, j, used[MAXROWS], mincell, first, allnum, foo, idiff; - | ^~~~~~~ -In file included from /usr/include/stdio.h:970, - from plg.h:11, - from pl.h:9, - from clickmap.c:18: -In function 'fprintf', - inlined from 'PL_clickmap_out' at clickmap.c:298:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:10: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] - 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 112 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -clickmap.c: In function 'PL_clickmap_out': -clickmap.c:149:7: note: 'fp' was declared here - 149 | FILE *fp; - | ^~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o winscale.o winscale.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lineclip.o lineclip.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o smoothfit.o smoothfit.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttest.o ttest.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o condex.o condex.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dates.o dates.c proc_lineplot.c: In function 'PLP_lineplot': proc_lineplot.c:315:11: warning: 'firstx' may be used uninitialized [-Wmaybe-uninitialized] 315 | if( x < linestart && !relax_xrange ) continue; /* X out of range - lo */ @@ -1064,12 +1099,8 @@ proc_lineplot.c:26:57: note: 'realrow' was declared here 26 | int npoints, result, nalt, altlist[MAXALT+2], anyvalid, realrow, sortopt; | ^~~~~~~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dates.o dates.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dbinterface.o dbinterface.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o err.o err.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o functions.o functions.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o glroutines.o glroutines.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o reslimits.o reslimits.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o secondaryops.o secondaryops.c In file included from pl.h:9, from proc_scatterplot.c:7: plg.h:142:57: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] @@ -1090,7 +1121,10 @@ proc_scatterplot.c:46:92: note: 'hw' was declared here 46 | double ox[38], oy[38], clusterfact, oldx, oldy, xlo, xhi, ylo, yhi, clusterdiff, ptx, pty, hw, txhi, rectw, recth, vennden; | ^~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shell.o shell.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o err.o err.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o functions.o functions.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o glroutines.o glroutines.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o reslimits.o reslimits.c smoothfit.c: In function 'smooth': smoothfit.c:543:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 543 | if (!flgis) @@ -1098,7 +1132,6 @@ smoothfit.c:545:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 545 | computeCubicCoeffs(); | ^~~~~~~~~~~~~~~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sinterp.o sinterp.c dbinterface.c: In function 'TDH_sqlrow': dbinterface.c:87:7: warning: 'stat' is used uninitialized [-Wuninitialized] 87 | return( stat ); @@ -1106,10 +1139,9 @@ dbinterface.c:76:5: note: 'stat' was declared here 76 | int stat; | ^~~~ -functions.c: In function 'eval_function': -functions.c:139:11: warning: variable 'externalcall' set but not used [-Wunused-but-set-variable] - 139 | int hash, externalcall; - | ^~~~~~~~~~~~ +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o secondaryops.o secondaryops.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shell.o shell.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sinterp.o sinterp.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tdhkit.o tdhkit.c dbinterface.c: In function 'TDH_sqlget': dbinterface.c:199:3: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] @@ -1125,20 +1157,21 @@ 190 | char *f[10]; | ^ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o times.o times.c +functions.c: In function 'eval_function': +functions.c:139:11: warning: variable 'externalcall' set but not used [-Wunused-but-set-variable] + 139 | int hash, externalcall; + | ^~~~~~~~~~~~ gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value.o value.c gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value_subst.o value_subst.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o variable.o variable.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o custom.o custom.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o localef.o localef.c shell.c: In function 'parsefields': shell.c:153:5: warning: variable 'ix' set but not used [-Wunused-but-set-variable] 153 | int ix, i, j, len, startfld, sp; | ^~ -sinterp.c: In function 'TDH_sinterp': -sinterp.c:468:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 468 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sinterp.c:518:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 518 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o variable.o variable.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o x11.o x11.c +gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interact.o interact.c shell.c: In function 'TDH_shellreadheader': shell.c:70:5: warning: 'fgets' writing 2999 bytes into a region of size 512 overflows the destination [-Wstringop-overflow=] 70 | s = fgets( namebuf, SCRIPTLINELEN-1, shellfp ); @@ -1152,42 +1185,14 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:305:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o custom.o custom.c -In file included from stub.c:13: -In function 'PLG_mov', - inlined from 'PLG_dotext' at stub.c:130:9: -plg.h:163:57: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] - 163 | #define Epcode( op, x, y, s ) PLG_pcode( op, x, y, s ) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -stub.c:46:6: note: in expansion of macro 'Epcode' - 46 | else Epcode( 'M', (double)x , (double)y, "" ); - | ^~~~~~ -stub.c: In function 'PLG_dotext': -stub.c:83:8: note: 'a' was declared here - 83 | double a, b; - | ^ -In function 'PLG_mov', - inlined from 'PLG_dotext' at stub.c:130:9: -plg.h:163:57: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] - 163 | #define Epcode( op, x, y, s ) PLG_pcode( op, x, y, s ) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -stub.c:46:6: note: in expansion of macro 'Epcode' - 46 | else Epcode( 'M', (double)x , (double)y, "" ); - | ^~~~~~ -stub.c: In function 'PLG_dotext': -stub.c:83:11: note: 'b' was declared here - 83 | double a, b; - | ^ -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o localef.o localef.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o x11.o x11.c -gcc -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interact.o interact.c gcc -c grgd.c devstuff.c -DGD18 -DGDFREETYPE -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -proc_bars.c:373:46: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] - 373 | if( !segmentflag ) y += fval; /* condition added scg 9/26/03 .. because y is undefined at this point */ - | ~~^~~~~~~ -proc_bars.c:54:30: note: 'y' was declared here - 54 | double adjx, adjy, halfw, x, y, y0, xleft, xright, barwidth, fval, cr, laby, taillen; - | ^ +sinterp.c: In function 'TDH_sinterp': +sinterp.c:468:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 468 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sinterp.c:518:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 518 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ localef.c: In function 'strnicoll': localef.c:23:18: warning: pointer targets in passing argument 1 of 'strcoll' differ in signedness [-Wpointer-sign] 23 | if ((c=strcoll(t1, t2)) != 0) return (c); @@ -1215,14 +1220,6 @@ /usr/include/string.h:163:33: note: expected 'const char *' but argument is of type 'unsigned char *' 163 | extern int strcoll (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -localef.c:47:22: warning: pointer targets in passing argument 2 of 'strcoll' differ in signedness [-Wpointer-sign] - 47 | if ((c=strcoll(t1, t2)) != 0) return (c); - | ^~ - | | - | unsigned char * -/usr/include/string.h:163:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 163 | extern int strcoll (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In function 'verttextsim', inlined from 'PLG_pcode' at pcode.c:623:41: pcode.c:740:19: warning: 'y2' may be used uninitialized [-Wmaybe-uninitialized] @@ -1245,6 +1242,39 @@ pcode.c:717:14: note: 'y1' was declared here 717 | double dist, y1, y2, x, y; | ^~ +localef.c:47:22: warning: pointer targets in passing argument 2 of 'strcoll' differ in signedness [-Wpointer-sign] + 47 | if ((c=strcoll(t1, t2)) != 0) return (c); + | ^~ + | | + | unsigned char * +/usr/include/string.h:163:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 163 | extern int strcoll (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from stub.c:13: +In function 'PLG_mov', + inlined from 'PLG_dotext' at stub.c:130:9: +plg.h:163:57: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] + 163 | #define Epcode( op, x, y, s ) PLG_pcode( op, x, y, s ) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +stub.c:46:6: note: in expansion of macro 'Epcode' + 46 | else Epcode( 'M', (double)x , (double)y, "" ); + | ^~~~~~ +stub.c: In function 'PLG_dotext': +stub.c:83:8: note: 'a' was declared here + 83 | double a, b; + | ^ +In function 'PLG_mov', + inlined from 'PLG_dotext' at stub.c:130:9: +plg.h:163:57: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] + 163 | #define Epcode( op, x, y, s ) PLG_pcode( op, x, y, s ) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +stub.c:46:6: note: in expansion of macro 'Epcode' + 46 | else Epcode( 'M', (double)x , (double)y, "" ); + | ^~~~~~ +stub.c: In function 'PLG_dotext': +stub.c:83:11: note: 'b' was declared here + 83 | double a, b; + | ^ variable.c: In function 'TDH_setvar': variable.c:47:55: warning: array subscript 30 is above array bounds of 'char[30]' [-Warray-bounds=] 47 | strncpy( Name[Ns], name, NAMEMAX-1 ); Name[Ns][NAMEMAX] = '\0'; @@ -1257,21 +1287,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:316:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 316 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -svg.c: In function 'PLGS_stroke': -svg.c:377:67: warning: '%s' directive writing up to 127 bytes into a region of size 31 [-Wformat-overflow=] - 377 | if (svg_dash_style[0] != '\0') sprintf(dash," stroke-dasharray=\"%s\"",svg_dash_style); - | ^~ ~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from svg.c:31: -In function 'sprintf', - inlined from 'PLGS_stroke' at svg.c:377:33: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 148 bytes into a destination of size 50 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ proc_processdata.c: In function 'PLP_processdata': proc_processdata.c:445:41: warning: 'startval' may be used uninitialized [-Wmaybe-uninitialized] 445 | out( startval ); @@ -1311,15 +1326,41 @@ times.c:210:23: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 210 | char *s, *outformat, *result; | ^~~~~~ -In file included from /usr/include/string.h:548, - from plg.h:13, - from pl.h:9, - from proc_axis.c:11: -In function 'strcpy', - inlined from 'PLP_axis' at proc_axis.c:773:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing 1 byte at offsets 0 and [0, 256] may overlap 1 byte at offset 0 [-Wrestrict] - 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +dates.c: In function 'DT_jdate': +proc_bars.c:373:46: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] + 373 | if( !segmentflag ) y += fval; /* condition added scg 9/26/03 .. because y is undefined at this point */ + | ~~^~~~~~~ +proc_bars.c:54:30: note: 'y' was declared here + 54 | double adjx, adjy, halfw, x, y, y0, xleft, xright, barwidth, fval, cr, laby, taillen; + | ^ +dates.c:285:3: warning: 'nt' may be used uninitialized [-Wmaybe-uninitialized] + 285 | if( nt != 3 ) return( 2 ); /* not three tokens */ + | ^ +dates.c:229:5: note: 'nt' was declared here + 229 | int nt; + | ^~ +svg.c: In function 'PLGS_stroke': +svg.c:377:67: warning: '%s' directive writing up to 127 bytes into a region of size 31 [-Wformat-overflow=] + 377 | if (svg_dash_style[0] != '\0') sprintf(dash," stroke-dasharray=\"%s\"",svg_dash_style); + | ^~ ~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from svg.c:31: +In function 'sprintf', + inlined from 'PLGS_stroke' at svg.c:377:33: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 148 bytes into a destination of size 50 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +x11.c: In function 'PLGX_event': +x11.c:382:22: warning: 'eid' may be used uninitialized [-Wmaybe-uninitialized] + 382 | x_waitflag = PLG_he( Exsca_inv( x ), Eysca_inv( y ), eid ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x11.c:338:10: note: 'eid' was declared here + 338 | unsigned eid; + | ^~~ sinterp.c:375:48: warning: '%s' directive writing up to 256 bytes into a region of size 255 [-Wformat-overflow=] 375 | sprintf( incfile, "%s%c%s", specialincludedir, PATH_SLASH, &tok[1] ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1342,13 +1383,6 @@ value_subst.c:83:6: note: 'oldvarsym' was declared here 83 | char oldvarsym; | ^~~~~~~~~ -x11.c: In function 'PLGX_event': -x11.c:382:22: warning: 'eid' may be used uninitialized [-Wmaybe-uninitialized] - 382 | x_waitflag = PLG_he( Exsca_inv( x ), Eysca_inv( y ), eid ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x11.c:338:10: note: 'eid' was declared here - 338 | unsigned eid; - | ^~~ sinterp.c: In function 'TDH_sinterp': sinterp.c:454:44: warning: 'linebegin' may be used uninitialized [-Wmaybe-uninitialized] 454 | ss->forloc[ ss->loopnest ] = linebegin; @@ -1362,20 +1396,6 @@ sinterp.c:56:5: note: 'stat' was declared here 56 | int stat; | ^~~~ -dates.c: In function 'DT_jdate': -dates.c:285:3: warning: 'nt' may be used uninitialized [-Wmaybe-uninitialized] - 285 | if( nt != 3 ) return( 2 ); /* not three tokens */ - | ^ -dates.c:229:5: note: 'nt' was declared here - 229 | int nt; - | ^~ -svg.c: In function 'PLGS_trailer': -svg.c:752:17: warning: 'outfp' may be used uninitialized [-Wmaybe-uninitialized] - 752 | gzclose( (gzFile) outfp ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -svg.c:680:9: note: 'outfp' was declared here - 680 | FILE *outfp; - | ^~~~~ grgd.c: In function 'PLGG_text': grgd.c:456:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 456 | Goldx = x; @@ -1389,32 +1409,6 @@ grgd.c:413:11: note: 'y' was declared here 413 | double x, y; | ^ -grgd.c: In function 'PLGG_centext': -grgd.c:526:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] - 526 | Goldx = x; - | ~~~~~~^~~ -grgd.c:466:17: note: 'x' was declared here - 466 | double halflen, x, y; - | ^ -grgd.c:527:7: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] - 527 | Goldy = y; - | ~~~~~~^~~ -grgd.c:466:20: note: 'y' was declared here - 466 | double halflen, x, y; - | ^ -grgd.c: In function 'PLGG_rightjust': -grgd.c:593:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] - 593 | Goldx = x; - | ~~~~~~^~~ -grgd.c:535:13: note: 'x' was declared here - 535 | double len, x, y; - | ^ -grgd.c:594:7: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] - 594 | Goldy = y; - | ~~~~~~^~~ -grgd.c:535:16: note: 'y' was declared here - 535 | double len, x, y; - | ^ dates.c: In function 'DT_makedate': dates.c:582:22: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 10 [-Wformat-overflow=] 582 | else sprintf( year, "%02d", yr ); @@ -1462,6 +1456,39 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +grgd.c: In function 'PLGG_centext': +grgd.c:526:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] + 526 | Goldx = x; + | ~~~~~~^~~ +grgd.c:466:17: note: 'x' was declared here + 466 | double halflen, x, y; + | ^ +grgd.c:527:7: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] + 527 | Goldy = y; + | ~~~~~~^~~ +grgd.c:466:20: note: 'y' was declared here + 466 | double halflen, x, y; + | ^ +svg.c: In function 'PLGS_trailer': +svg.c:752:17: warning: 'outfp' may be used uninitialized [-Wmaybe-uninitialized] + 752 | gzclose( (gzFile) outfp ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +svg.c:680:9: note: 'outfp' was declared here + 680 | FILE *outfp; + | ^~~~~ +grgd.c: In function 'PLGG_rightjust': +grgd.c:593:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] + 593 | Goldx = x; + | ~~~~~~^~~ +grgd.c:535:13: note: 'x' was declared here + 535 | double len, x, y; + | ^ +grgd.c:594:7: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] + 594 | Goldy = y; + | ~~~~~~^~~ +grgd.c:535:16: note: 'y' was declared here + 535 | double len, x, y; + | ^ dates.c: In function 'DT_dateinrange': dates.c:803:18: warning: 'd2' may be used uninitialized [-Wmaybe-uninitialized] 803 | else if( d1 <= 0 && d2 <= 0 ) return( 1 ); @@ -1475,6 +1502,15 @@ dates.c:798:6: note: 'd1' was declared here 798 | long d1, d2; | ^~ +In file included from /usr/include/string.h:548, + from plg.h:13, + from pl.h:9, + from proc_axis.c:11: +In function 'strcpy', + inlined from 'PLP_axis' at proc_axis.c:773:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing 1 byte at offsets 0 and [0, 256] may overlap 1 byte at offset 0 [-Wrestrict] + 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devstuff.c: In function 'PL_devnamemap': devstuff.c:120:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] 120 | char c; @@ -1580,10 +1616,12 @@ gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o units.o units.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preliminaries.o preliminaries.c -proc_categories.c: In function 'PLP_categories': -proc_categories.c:19:28: warning: variable 'datafield' set but not used [-Wunused-but-set-variable] - 19 | char *catspec, *selectex, *datafield, *listsize, *compmethod; - | ^~~~~~~~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o process_arg.o process_arg.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plvalue_subst.o plvalue_subst.c +proc_bars.c: In function 'PLP_bars': +proc_bars.c:60:5: warning: variable 'ncolorlp' set but not used [-Wunused-but-set-variable] + 60 | int ncolorlp, taillengiven, barwidthfield, hidezerobars, ibar, colorfield, irow, segmentflag, exactcolorfield; + | ^~~~~~~~ proc_axis.c: In function 'PLP_axis': proc_axis.c:717:42: warning: variable 'timepart' set but not used [-Wunused-but-set-variable] 717 | double datepart, timepart; @@ -1592,6 +1630,10 @@ proc_getdata.c:42:44: warning: variable 'cclen' set but not used [-Wunused-but-set-variable] 42 | int delim, standardinput, fieldnameheader, cclen, buflen, literaldata, reqnfields; | ^~~~~ +proc_vector.c: In function 'PLP_vector': +proc_vector.c:156:23: warning: variable 'ldet' set but not used [-Wunused-but-set-variable] + 156 | char *ldet; /* to get it to compile.. */ + | ^~~~ proc_pie.c: In function 'PLP_pie': proc_pie.c:32:26: warning: variable 'oldy' set but not used [-Wunused-but-set-variable] 32 | double fval, x, y, oldx, oldy, stheta, lblfarout, boxwid, boxhi, labx, laby, dval; @@ -1599,10 +1641,16 @@ proc_pie.c:32:20: warning: variable 'oldx' set but not used [-Wunused-but-set-variable] 32 | double fval, x, y, oldx, oldy, stheta, lblfarout, boxwid, boxhi, labx, laby, dval; | ^~~~ -proc_vector.c: In function 'PLP_vector': -proc_vector.c:156:23: warning: variable 'ldet' set but not used [-Wunused-but-set-variable] - 156 | char *ldet; /* to get it to compile.. */ - | ^~~~ +proc_tabulate.c: In function 'PLP_tabulate': +proc_tabulate.c:52:8: warning: variable 'ix' set but not used [-Wunused-but-set-variable] + 52 | int i, ix, showresults, irow, result, doranges[2], ixx; + | ^~ +proc_tabulate.c:42:20: warning: variable 'forcehorizontal' set but not used [-Wunused-but-set-variable] + 42 | int forcevertical, forcehorizontal; + | ^~~~~~~~~~~~~~~ +proc_tabulate.c:42:5: warning: variable 'forcevertical' set but not used [-Wunused-but-set-variable] + 42 | int forcevertical, forcehorizontal; + | ^~~~~~~~~~~~~ proc_scatterplot.c: In function 'PLP_scatterplot': proc_scatterplot.c:45:55: warning: variable 'cx' set but not used [-Wunused-but-set-variable] 45 | double adjx, adjy, linelen, xloc, yloc, radius, x, y, cx, cy, hlinelen, sizescale; @@ -1611,6 +1659,12 @@ execscriptfile.c:25:5: warning: variable 'seekstate' set but not used [-Wunused-but-set-variable] 25 | int seekstate; | ^~~~~~~~~ +proc_categories.c: In function 'PLP_categories': +proc_categories.c:19:28: warning: variable 'datafield' set but not used [-Wunused-but-set-variable] + 19 | char *catspec, *selectex, *datafield, *listsize, *compmethod; + | ^~~~~~~~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cats.o cats.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fieldnames.o fieldnames.c execline.c: In function 'proc_call': execline.c:291:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 291 | else fprintf( PLS.diagfp, "Executing %s\n", procname ); fflush( PLS.diagfp ); @@ -1618,55 +1672,8 @@ execline.c:291:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 291 | else fprintf( PLS.diagfp, "Executing %s\n", procname ); fflush( PLS.diagfp ); | ^~~~~~ -proc_tabulate.c: In function 'PLP_tabulate': -proc_tabulate.c:52:8: warning: variable 'ix' set but not used [-Wunused-but-set-variable] - 52 | int i, ix, showresults, irow, result, doranges[2], ixx; - | ^~ -proc_tabulate.c:42:20: warning: variable 'forcehorizontal' set but not used [-Wunused-but-set-variable] - 42 | int forcevertical, forcehorizontal; - | ^~~~~~~~~~~~~~~ -proc_tabulate.c:42:5: warning: variable 'forcevertical' set but not used [-Wunused-but-set-variable] - 42 | int forcevertical, forcehorizontal; - | ^~~~~~~~~~~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o process_arg.o process_arg.c -proc_annotate.c: In function 'calc_arrow.isra': -proc_annotate.c:227:8: warning: 'atx' may be used uninitialized [-Wmaybe-uninitialized] - 227 | *tailx = atx; - | ~~~~~~~^~~~~ -proc_annotate.c:193:8: note: 'atx' was declared here - 193 | double atx, aty; - | ^~~ -proc_annotate.c:228:8: warning: 'aty' may be used uninitialized [-Wmaybe-uninitialized] - 228 | *taily = aty; - | ~~~~~~~^~~~~ -proc_annotate.c:193:13: note: 'aty' was declared here - 193 | double atx, aty; - | ^~~ -proc_bars.c: In function 'PLP_bars': -proc_bars.c:60:5: warning: variable 'ncolorlp' set but not used [-Wunused-but-set-variable] - 60 | int ncolorlp, taillengiven, barwidthfield, hidezerobars, ibar, colorfield, irow, segmentflag, exactcolorfield; - | ^~~~~~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plvalue_subst.o plvalue_subst.c -proc_annotate.c: In function 'PLP_annotate': -proc_annotate.c:147:35: warning: 'cx' may be used uninitialized [-Wmaybe-uninitialized] - 147 | ulx = (((boxw/2.0)-cx)*-1.0); - | ~~~~~~~~~~~^~~~ -proc_annotate.c:31:28: note: 'cx' was declared here - 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; - | ^~ -proc_annotate.c:148:35: warning: 'cy' may be used uninitialized [-Wmaybe-uninitialized] - 148 | uly = (((boxw/2.0)-cy)*-1.0) + boxh; - | ~~~~~~~~~~~^~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cats.o cats.c -proc_annotate.c:31:32: note: 'cy' was declared here - 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; - | ^~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fieldnames.o fieldnames.c -process_arg.c: In function 'PL_process_arg': -process_arg.c:22:33: warning: variable 'vardec' set but not used [-Wunused-but-set-variable] - 22 | int j, nt, slen, rtnstat, olen, vardec; - | ^~~~~~ gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o autorange.o autorange.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nearest.o nearest.c proc_tabulate.c: In function 'freqsort.isra': proc_tabulate.c:528:25: warning: 'firstcell' may be used uninitialized [-Wmaybe-uninitialized] 528 | used[firstcell] = 1; @@ -1674,31 +1681,56 @@ proc_tabulate.c:510:26: note: 'firstcell' was declared here 510 | int i, j, used[MAXROWS], firstcell, first, diff; | ^~~~~~~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nearest.o nearest.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o select.o select.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o datasets.o datasets.c +process_arg.c: In function 'PL_process_arg': +process_arg.c:22:33: warning: variable 'vardec' set but not used [-Wunused-but-set-variable] + 22 | int j, nt, slen, rtnstat, olen, vardec; + | ^~~~~~ gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plg.o plg.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o init.o init.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arrow.o arrow.c -proc_pie.c:110:3: warning: 'df' may be used uninitialized [-Wmaybe-uninitialized] - 110 | if( df < 0 || df >= Nfields ) return( Eerr( 2840, "invalid datafield", "" ) ); - | ^ -proc_pie.c:28:15: note: 'df' was declared here - 28 | int j, align, df, lblfld, ncolors, nexpl, ibb, colorfield, nlines; - | ^~ In file included from pl.h:9, - from proc_catlines.c:12: -proc_catlines.c: In function 'PLP_catlines': -plg.h:103:33: warning: 'ymin' may be used uninitialized [-Wmaybe-uninitialized] - 103 | #define Emovu( x , y ) PLG_pcode( 'M', Eax((double) x ) , Eay((double) y ), "" ) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_catlines.c:255:25: note: in expansion of macro 'Emovu' - 255 | Emovu( xcenter+ofs, ymin ); - | ^~~~~ -proc_catlines.c:37:8: note: 'ymin' was declared here - 37 | double ymin, barlinewidth; - | ^~~~ + from proc_boxplot.c:16: +proc_boxplot.c: In function 'PLP_boxplot': +plg.h:162:57: warning: 'stats[1]' may be used uninitialized [-Wmaybe-uninitialized] + 162 | #define Emark( x, y, code, r ) PLG_mark( x, y, code, r ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +proc_boxplot.c:297:17: note: in expansion of macro 'Emark' + 297 | Emark( barloc, Ea(Y,stats[MEAN]), symcode, radius ); + | ^~~~~ +proc_boxplot.c:56:8: note: 'stats[1]' was declared here + 56 | double stats[20], h[5]; + | ^~~~~ +pl.h:229:57: warning: 'stats[2]' may be used uninitialized [-Wmaybe-uninitialized] + 229 | #define Ef_inr( axis, val ) PL_f_inr( axis, val ) + | ^~~~~~~~~~~~~~~~~~~~~ +proc_boxplot.c:268:31: note: in expansion of macro 'Ef_inr' + 268 | if( !trunc || Ef_inr( axis, stats[PCTL5] )) { + | ^~~~~~ +proc_boxplot.c:56:8: note: 'stats[2]' was declared here + 56 | double stats[20], h[5]; + | ^~~~~ +pl.h:229:57: warning: 'stats[6]' may be used uninitialized [-Wmaybe-uninitialized] + 229 | #define Ef_inr( axis, val ) PL_f_inr( axis, val ) + | ^~~~~~~~~~~~~~~~~~~~~ +proc_boxplot.c:272:31: note: in expansion of macro 'Ef_inr' + 272 | if( !trunc || Ef_inr( axis, stats[PCTL95] )) { + | ^~~~~~ +proc_boxplot.c:56:8: note: 'stats[6]' was declared here + 56 | double stats[20], h[5]; + | ^~~~~ +proc_boxplot.c:235:11: warning: 'h[0]' may be used uninitialized [-Wmaybe-uninitialized] + 235 | if( h[LOWTAIL] < Elimit( axis, 'l', 's' ) && h[HITAIL] < Elimit( axis, 'l', 's' ) ) + | ^ +proc_boxplot.c:56:19: note: 'h[0]' was declared here + 56 | double stats[20], h[5]; + | ^ +proc_boxplot.c:235:51: warning: 'h[4]' may be used uninitialized [-Wmaybe-uninitialized] + 235 | if( h[LOWTAIL] < Elimit( axis, 'l', 's' ) && h[HITAIL] < Elimit( axis, 'l', 's' ) ) +proc_boxplot.c:56:19: note: 'h[4]' was declared here + 56 | double stats[20], h[5]; + | ^ proc_legend.c: In function 'PLP_legend': proc_legend.c:208:19: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 208 | if( LEtype[j] == LEGEND_COLOR ) { @@ -1737,6 +1769,34 @@ proc_tabulate.c:473:26: note: 'mincell' was declared here 473 | int i, j, used[MAXROWS], mincell, first, allnum, foo, idiff; | ^~~~~~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o arrow.o arrow.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mark.o mark.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o block.o block.c +proc_pie.c:110:3: warning: 'df' may be used uninitialized [-Wmaybe-uninitialized] + 110 | if( df < 0 || df >= Nfields ) return( Eerr( 2840, "invalid datafield", "" ) ); + | ^ +proc_pie.c:28:15: note: 'df' was declared here + 28 | int j, align, df, lblfld, ncolors, nexpl, ibb, colorfield, nlines; + | ^~ +proc_annotate.c: In function 'calc_arrow.isra': +nearest.c: In function 'PLP_findnearest': +proc_annotate.c:227:8: warning: 'atx' may be used uninitialized [-Wmaybe-uninitialized] + 227 | *tailx = atx; + | ~~~~~~~^~~~~ +proc_annotate.c:193:8: note: 'atx' was declared here + 193 | double atx, aty; + | ^~~ +autorange.c: In function 'PLP_autorange': +autorange.c:26:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] + 26 | int stat; + | ^~~~ +proc_annotate.c:228:8: warning: 'aty' may be used uninitialized [-Wmaybe-uninitialized] + 228 | *taily = aty; + | ~~~~~~~^~~~~ +proc_annotate.c:193:13: note: 'aty' was declared here + 193 | double atx, aty; + | ^~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c parse.c: In function 'PL_parsedata': parse.c:144:37: warning: 'sepchar' may be used uninitialized [-Wmaybe-uninitialized] 144 | if( data[j] == sepchar ) { /* terminate item */ @@ -1744,51 +1804,10 @@ parse.c:55:6: note: 'sepchar' was declared here 55 | char sepchar, tok[255]; | ^~~~~~~ -In file included from pl.h:9, - from proc_boxplot.c:16: -proc_boxplot.c: In function 'PLP_boxplot': -plg.h:162:57: warning: 'stats[1]' may be used uninitialized [-Wmaybe-uninitialized] - 162 | #define Emark( x, y, code, r ) PLG_mark( x, y, code, r ) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -proc_boxplot.c:297:17: note: in expansion of macro 'Emark' - 297 | Emark( barloc, Ea(Y,stats[MEAN]), symcode, radius ); - | ^~~~~ -proc_boxplot.c:56:8: note: 'stats[1]' was declared here - 56 | double stats[20], h[5]; - | ^~~~~ -pl.h:229:57: warning: 'stats[2]' may be used uninitialized [-Wmaybe-uninitialized] - 229 | #define Ef_inr( axis, val ) PL_f_inr( axis, val ) - | ^~~~~~~~~~~~~~~~~~~~~ -proc_boxplot.c:268:31: note: in expansion of macro 'Ef_inr' - 268 | if( !trunc || Ef_inr( axis, stats[PCTL5] )) { - | ^~~~~~ -proc_boxplot.c:56:8: note: 'stats[2]' was declared here - 56 | double stats[20], h[5]; - | ^~~~~ -pl.h:229:57: warning: 'stats[6]' may be used uninitialized [-Wmaybe-uninitialized] - 229 | #define Ef_inr( axis, val ) PL_f_inr( axis, val ) - | ^~~~~~~~~~~~~~~~~~~~~ -proc_boxplot.c:272:31: note: in expansion of macro 'Ef_inr' - 272 | if( !trunc || Ef_inr( axis, stats[PCTL95] )) { - | ^~~~~~ -proc_boxplot.c:56:8: note: 'stats[6]' was declared here - 56 | double stats[20], h[5]; - | ^~~~~ -proc_boxplot.c:235:11: warning: 'h[0]' may be used uninitialized [-Wmaybe-uninitialized] - 235 | if( h[LOWTAIL] < Elimit( axis, 'l', 's' ) && h[HITAIL] < Elimit( axis, 'l', 's' ) ) - | ^ -proc_boxplot.c:56:19: note: 'h[0]' was declared here - 56 | double stats[20], h[5]; - | ^ -proc_boxplot.c:235:51: warning: 'h[4]' may be used uninitialized [-Wmaybe-uninitialized] - 235 | if( h[LOWTAIL] < Elimit( axis, 'l', 's' ) && h[HITAIL] < Elimit( axis, 'l', 's' ) ) -proc_boxplot.c:56:19: note: 'h[4]' was declared here - 56 | double stats[20], h[5]; - | ^ -nearest.c: In function 'PLP_findnearest': nearest.c:20:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 20 | int stat; | ^~~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ps.o ps.c In file included from /usr/include/stdio.h:970, from plg.h:11, from pl.h:9, @@ -1802,39 +1821,28 @@ proc_getdata.c:41:7: note: 'dfp' was declared here 41 | FILE *dfp, *popen(); | ^~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mark.o mark.c +proc_annotate.c: In function 'PLP_annotate': +proc_annotate.c:147:35: warning: 'cx' may be used uninitialized [-Wmaybe-uninitialized] + 147 | ulx = (((boxw/2.0)-cx)*-1.0); + | ~~~~~~~~~~~^~~~ +proc_annotate.c:31:28: note: 'cx' was declared here + 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; + | ^~ +proc_annotate.c:148:35: warning: 'cy' may be used uninitialized [-Wmaybe-uninitialized] + 148 | uly = (((boxw/2.0)-cy)*-1.0) + boxh; + | ~~~~~~~~~~~^~~~ +proc_annotate.c:31:32: note: 'cy' was declared here + 31 | double bd1, bd2, bd3, bd4, cx, cy, px, py; + | ^~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o swf.o swf.c color.c: In function 'PLG_icolor': -autorange.c: In function 'PLP_autorange': color.c:132:7: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 132 | return( c ); | ^ -autorange.c:26:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] - 26 | int stat; - | ^~~~ color.c:108:7: note: 'c' was declared here 108 | char *c; | ^ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o block.o block.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ps.o ps.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o swf.o swf.c -In file included from /usr/include/stdio.h:970, - from plg.h:11, - from pl.h:9, - from clickmap.c:18: -In function 'fprintf', - inlined from 'PL_clickmap_out' at clickmap.c:298:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:10: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] - 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 112 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -clickmap.c: In function 'PL_clickmap_out': -clickmap.c:149:7: note: 'fp' was declared here - 149 | FILE *fp; - | ^~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stub.o stub.c In file included from pl.h:9, from proc_scatterplot.c:7: plg.h:142:57: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] @@ -1855,10 +1863,24 @@ proc_scatterplot.c:46:92: note: 'hw' was declared here 46 | double ox[38], oy[38], clusterfact, oldx, oldy, xlo, xhi, ylo, yhi, clusterdiff, ptx, pty, hw, txhi, rectw, recth, vennden; | ^~ +In file included from /usr/include/stdio.h:970, + from plg.h:11, + from pl.h:9, + from clickmap.c:18: +In function 'fprintf', + inlined from 'PL_clickmap_out' at clickmap.c:298:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:10: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] + 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 112 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +clickmap.c: In function 'PL_clickmap_out': +clickmap.c:149:7: note: 'fp' was declared here + 149 | FILE *fp; + | ^~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stub.o stub.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o winscale.o winscale.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lineclip.o lineclip.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o smoothfit.o smoothfit.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttest.o ttest.c proc_lineplot.c: In function 'PLP_lineplot': proc_lineplot.c:315:11: warning: 'firstx' may be used uninitialized [-Wmaybe-uninitialized] 315 | if( x < linestart && !relax_xrange ) continue; /* X out of range - lo */ @@ -1878,11 +1900,90 @@ proc_lineplot.c:26:57: note: 'realrow' was declared here 26 | int npoints, result, nalt, altlist[MAXALT+2], anyvalid, realrow, sortopt; | ^~~~~~~ +In file included from pl.h:9, + from proc_catlines.c:12: +proc_catlines.c: In function 'PLP_catlines': +plg.h:103:33: warning: 'ymin' may be used uninitialized [-Wmaybe-uninitialized] + 103 | #define Emovu( x , y ) PLG_pcode( 'M', Eax((double) x ) , Eay((double) y ), "" ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +proc_catlines.c:255:25: note: in expansion of macro 'Emovu' + 255 | Emovu( xcenter+ofs, ymin ); + | ^~~~~ +proc_catlines.c:37:8: note: 'ymin' was declared here + 37 | double ymin, barlinewidth; + | ^~~~ +In function 'verttextsim', + inlined from 'PLG_pcode' at pcode.c:623:41: +pcode.c:740:19: warning: 'y2' may be used uninitialized [-Wmaybe-uninitialized] + 740 | y -= (Ecurtextheight * globalscale); + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pcode.c: In function 'PLG_pcode': +pcode.c:717:18: note: 'y2' was declared here + 717 | double dist, y1, y2, x, y; + | ^~ +In file included from pcode.c:63: +In function 'verttextsim', + inlined from 'PLG_pcode' at pcode.c:623:41: +plg.h:164:57: warning: 'y1' may be used uninitialized [-Wmaybe-uninitialized] + 164 | #define Ebb( x, y ) PLG_bb( x, y ) + | ^~~~~~~~~~~~~~ +pcode.c:744:1: note: in expansion of macro 'Ebb' + 744 | Ebb( x-(Ecurtextheight*globalscale), y1 ); + | ^~~ +pcode.c: In function 'PLG_pcode': +pcode.c:717:14: note: 'y1' was declared here + 717 | double dist, y1, y2, x, y; + | ^~ +proc_processdata.c: In function 'PLP_processdata': +proc_processdata.c:445:41: warning: 'startval' may be used uninitialized [-Wmaybe-uninitialized] + 445 | out( startval ); + | ^~~~~~~~~~~~~~~ +proc_processdata.c:49:56: note: 'startval' was declared here + 49 | char *action, *selectex, *select1, *select2, *curcon, *startval, *binsize, *binmod, *fieldnames; + | ^~~~~~~~ +In file included from /usr/include/stdio.h:970, + from plg.h:11, + from pl.h:9, + from proc_processdata.c:9: +In function 'sprintf', + inlined from 'PLP_processdata' at proc_processdata.c:450:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: 'istart' may be used uninitialized [-Wmaybe-uninitialized] + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +proc_processdata.c: In function 'PLP_processdata': +proc_processdata.c:53:65: note: 'istart' was declared here + 53 | int ix, stat, showdata, nfld, keepall, dispformatnum, resetbns, istart; + | ^~~~~~ +proc_bars.c:373:46: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] + 373 | if( !segmentflag ) y += fval; /* condition added scg 9/26/03 .. because y is undefined at this point */ + | ~~^~~~~~~ +proc_bars.c:54:30: note: 'y' was declared here + 54 | double adjx, adjy, halfw, x, y, y0, xleft, xright, barwidth, fval, cr, laby, taillen; + | ^ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o smoothfit.o smoothfit.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttest.o ttest.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o condex.o condex.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dates.o dates.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dbinterface.o dbinterface.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o err.o err.c gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o functions.o functions.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o glroutines.o glroutines.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o reslimits.o reslimits.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o secondaryops.o secondaryops.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shell.o shell.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sinterp.o sinterp.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tdhkit.o tdhkit.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o times.o times.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value.o value.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value_subst.o value_subst.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o variable.o variable.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o custom.o custom.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o localef.o localef.c +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o x11.o x11.c smoothfit.c: In function 'smooth': smoothfit.c:543:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 543 | if (!flgis) @@ -1890,8 +1991,6 @@ smoothfit.c:545:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 545 | computeCubicCoeffs(); | ^~~~~~~~~~~~~~~~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o glroutines.o glroutines.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o reslimits.o reslimits.c dbinterface.c: In function 'TDH_sqlrow': dbinterface.c:87:7: warning: 'stat' is used uninitialized [-Wuninitialized] 87 | return( stat ); @@ -1899,57 +1998,33 @@ dbinterface.c:76:5: note: 'stat' was declared here 76 | int stat; | ^~~~ +svg.c: In function 'PLGS_stroke': +svg.c:377:67: warning: '%s' directive writing up to 127 bytes into a region of size 31 [-Wformat-overflow=] + 377 | if (svg_dash_style[0] != '\0') sprintf(dash," stroke-dasharray=\"%s\"",svg_dash_style); + | ^~ ~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from svg.c:31: +In function 'sprintf', + inlined from 'PLGS_stroke' at svg.c:377:33: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 148 bytes into a destination of size 50 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interact.o interact.c functions.c: In function 'eval_function': functions.c:139:11: warning: variable 'externalcall' set but not used [-Wunused-but-set-variable] 139 | int hash, externalcall; | ^~~~~~~~~~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o secondaryops.o secondaryops.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shell.o shell.c -In file included from stub.c:13: -stub.c: In function 'PLG_dotext': -plg.h:182:57: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] - 182 | #define Emov( x, y ) PLG_mov( x , y ) - | ^~~~~~~~~~~~~~~~ -stub.c:130:30: note: in expansion of macro 'Emov' - 130 | else Emov( a, b ); - | ^~~~ -stub.c:83:8: note: 'a' was declared here - 83 | double a, b; - | ^ -plg.h:182:57: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] - 182 | #define Emov( x, y ) PLG_mov( x , y ) - | ^~~~~~~~~~~~~~~~ -stub.c:130:30: note: in expansion of macro 'Emov' - 130 | else Emov( a, b ); - | ^~~~ -stub.c:83:11: note: 'b' was declared here - 83 | double a, b; - | ^ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sinterp.o sinterp.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tdhkit.o tdhkit.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o times.o times.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value.o value.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value_subst.o value_subst.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o variable.o variable.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o custom.o custom.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o localef.o localef.c -shell.c: In function 'parsefields': -shell.c:153:5: warning: variable 'ix' set but not used [-Wunused-but-set-variable] - 153 | int ix, i, j, len, startfld, sp; - | ^~ -shell.c: In function 'TDH_shellreadheader': -shell.c:70:5: warning: 'fgets' writing 2999 bytes into a region of size 512 overflows the destination [-Wstringop-overflow=] - 70 | s = fgets( namebuf, SCRIPTLINELEN-1, shellfp ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -shell.c:20:13: note: destination object 'namebuf' of size 512 - 20 | static char namebuf[512]; /* was MAXRECORDLEN but seemed like overkill.. */ - | ^~~~~~~ -In file included from /usr/include/stdio.h:970, - from tdhkit.h:10, - from shell.c:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:305:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~ +sinterp.c: In function 'TDH_sinterp': +sinterp.c:468:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 468 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sinterp.c:518:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 518 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ localef.c: In function 'strnicoll': localef.c:23:18: warning: pointer targets in passing argument 1 of 'strcoll' differ in signedness [-Wpointer-sign] 23 | if ((c=strcoll(t1, t2)) != 0) return (c); @@ -1985,17 +2060,10 @@ /usr/include/string.h:163:51: note: expected 'const char *' but argument is of type 'unsigned char *' 163 | extern int strcoll (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -sinterp.c: In function 'TDH_sinterp': -sinterp.c:468:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 468 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sinterp.c:518:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 518 | fgets( line, SCRIPTLINELEN-1, ss->sfp[ ss->incnest ] ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o x11.o x11.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interact.o interact.c -gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o api.o api.c -gcc -fPIC -I./gd13 -I./ -c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c +shell.c: In function 'parsefields': +shell.c:153:5: warning: variable 'ix' set but not used [-Wunused-but-set-variable] + 153 | int ix, i, j, len, startfld, sp; + | ^~ variable.c: In function 'TDH_setvar': variable.c:47:55: warning: array subscript 30 is above array bounds of 'char[30]' [-Warray-bounds=] 47 | strncpy( Name[Ns], name, NAMEMAX-1 ); Name[Ns][NAMEMAX] = '\0'; @@ -2003,101 +2071,60 @@ variable.c:13:13: note: while referencing 'Name' 13 | static char Name[MAXVAR][NAMEMAX]; | ^~~~ -gcc -c -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 grgd.c -DGD16 -DPLOTICUS -I./ -I./gd16 -o grgd16.o -In function 'verttextsim', - inlined from 'PLG_pcode' at pcode.c:623:41: -pcode.c:740:19: warning: 'y2' may be used uninitialized [-Wmaybe-uninitialized] - 740 | y -= (Ecurtextheight * globalscale); - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pcode.c: In function 'PLG_pcode': -pcode.c:717:18: note: 'y2' was declared here - 717 | double dist, y1, y2, x, y; - | ^~ -In file included from pcode.c:63: -In function 'verttextsim', - inlined from 'PLG_pcode' at pcode.c:623:41: -plg.h:164:57: warning: 'y1' may be used uninitialized [-Wmaybe-uninitialized] - 164 | #define Ebb( x, y ) PLG_bb( x, y ) - | ^~~~~~~~~~~~~~ -pcode.c:744:1: note: in expansion of macro 'Ebb' - 744 | Ebb( x-(Ecurtextheight*globalscale), y1 ); - | ^~~ -pcode.c: In function 'PLG_pcode': -pcode.c:717:14: note: 'y1' was declared here - 717 | double dist, y1, y2, x, y; - | ^~ +shell.c: In function 'TDH_shellreadheader': +shell.c:70:5: warning: 'fgets' writing 2999 bytes into a region of size 512 overflows the destination [-Wstringop-overflow=] + 70 | s = fgets( namebuf, SCRIPTLINELEN-1, shellfp ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +shell.c:20:13: note: destination object 'namebuf' of size 512 + 20 | static char namebuf[512]; /* was MAXRECORDLEN but seemed like overkill.. */ + | ^~~~~~~ +In file included from /usr/include/stdio.h:970, + from tdhkit.h:10, + from shell.c:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:305:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' + 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, + | ^~~~~ +In file included from stub.c:13: +stub.c: In function 'PLG_dotext': +plg.h:182:57: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] + 182 | #define Emov( x, y ) PLG_mov( x , y ) + | ^~~~~~~~~~~~~~~~ +stub.c:130:30: note: in expansion of macro 'Emov' + 130 | else Emov( a, b ); + | ^~~~ +stub.c:83:8: note: 'a' was declared here + 83 | double a, b; + | ^ +plg.h:182:57: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] + 182 | #define Emov( x, y ) PLG_mov( x , y ) + | ^~~~~~~~~~~~~~~~ +stub.c:130:30: note: in expansion of macro 'Emov' + 130 | else Emov( a, b ); + | ^~~~ +stub.c:83:11: note: 'b' was declared here + 83 | double a, b; + | ^ +In file included from /usr/include/string.h:548, + from plg.h:13, + from pl.h:9, + from proc_axis.c:11: +In function 'strcpy', + inlined from 'PLP_axis' at proc_axis.c:773:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing 1 byte at offsets 0 and [0, 256] may overlap 1 byte at offset 0 [-Wrestrict] + 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'TDH_shellreadheader' at shell.c:70:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:316:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 316 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_bars.c:373:46: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] - 373 | if( !segmentflag ) y += fval; /* condition added scg 9/26/03 .. because y is undefined at this point */ - | ~~^~~~~~~ -proc_bars.c:54:30: note: 'y' was declared here - 54 | double adjx, adjy, halfw, x, y, y0, xleft, xright, barwidth, fval, cr, laby, taillen; - | ^ -proc_processdata.c: In function 'PLP_processdata': -proc_processdata.c:445:41: warning: 'startval' may be used uninitialized [-Wmaybe-uninitialized] - 445 | out( startval ); - | ^~~~~~~~~~~~~~~ -proc_processdata.c:49:56: note: 'startval' was declared here - 49 | char *action, *selectex, *select1, *select2, *curcon, *startval, *binsize, *binmod, *fieldnames; - | ^~~~~~~~ -In file included from /usr/include/stdio.h:970, - from plg.h:11, - from pl.h:9, - from proc_processdata.c:9: -In function 'sprintf', - inlined from 'PLP_processdata' at proc_processdata.c:450:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: 'istart' may be used uninitialized [-Wmaybe-uninitialized] - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -proc_processdata.c: In function 'PLP_processdata': -proc_processdata.c:53:65: note: 'istart' was declared here - 53 | int ix, stat, showdata, nfld, keepall, dispformatnum, resetbns, istart; - | ^~~~~~ -In file included from /usr/include/stdio.h:970, - from times.c:9: -In function 'sprintf', - inlined from 'DT_formattime' at times.c:255:45: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 may overlap destination object 'result' [-Wrestrict] - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -times.c: In function 'DT_formattime': -times.c:210:23: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 210 | char *s, *outformat, *result; - | ^~~~~~ -svg.c: In function 'PLGS_stroke': -svg.c:377:67: warning: '%s' directive writing up to 127 bytes into a region of size 31 [-Wformat-overflow=] - 377 | if (svg_dash_style[0] != '\0') sprintf(dash," stroke-dasharray=\"%s\"",svg_dash_style); - | ^~ ~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from svg.c:31: -In function 'sprintf', - inlined from 'PLGS_stroke' at svg.c:377:33: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 148 bytes into a destination of size 50 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -dates.c: In function 'DT_jdate': -dates.c:285:3: warning: 'nt' may be used uninitialized [-Wmaybe-uninitialized] - 285 | if( nt != 3 ) return( 2 ); /* not three tokens */ - | ^ -dates.c:229:5: note: 'nt' was declared here - 229 | int nt; - | ^~ +x11.c: In function 'PLGX_event': +x11.c:382:22: warning: 'eid' may be used uninitialized [-Wmaybe-uninitialized] + 382 | x_waitflag = PLG_he( Exsca_inv( x ), Eysca_inv( y ), eid ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x11.c:338:10: note: 'eid' was declared here + 338 | unsigned eid; + | ^~~ value_subst.c: In function 'TDH_value_subst': value_subst.c:121:11: warning: 'oldvarsym' may be used uninitialized [-Wmaybe-uninitialized] 121 | if( in[i] == varsym && in[i+1] == varsym ) { @@ -2105,15 +2132,6 @@ value_subst.c:83:6: note: 'oldvarsym' was declared here 83 | char oldvarsym; | ^~~~~~~~~ -In file included from /usr/include/string.h:548, - from plg.h:13, - from pl.h:9, - from proc_axis.c:11: -In function 'strcpy', - inlined from 'PLP_axis' at proc_axis.c:773:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing 1 byte at offsets 0 and [0, 256] may overlap 1 byte at offset 0 [-Wrestrict] - 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sinterp.c:375:48: warning: '%s' directive writing up to 256 bytes into a region of size 255 [-Wformat-overflow=] 375 | sprintf( incfile, "%s%c%s", specialincludedir, PATH_SLASH, &tok[1] ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2129,13 +2147,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -x11.c: In function 'PLGX_event': -x11.c:382:22: warning: 'eid' may be used uninitialized [-Wmaybe-uninitialized] - 382 | x_waitflag = PLG_he( Exsca_inv( x ), Eysca_inv( y ), eid ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x11.c:338:10: note: 'eid' was declared here - 338 | unsigned eid; - | ^~~ sinterp.c: In function 'TDH_sinterp': sinterp.c:454:44: warning: 'linebegin' may be used uninitialized [-Wmaybe-uninitialized] 454 | ss->forloc[ ss->loopnest ] = linebegin; @@ -2149,6 +2160,38 @@ sinterp.c:56:5: note: 'stat' was declared here 56 | int stat; | ^~~~ +gcc -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o api.o api.c +In file included from /usr/include/stdio.h:970, + from times.c:9: +In function 'sprintf', + inlined from 'DT_formattime' at times.c:255:45: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 may overlap destination object 'result' [-Wrestrict] + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +times.c: In function 'DT_formattime': +times.c:210:23: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 210 | char *s, *outformat, *result; + | ^~~~~~ +svg.c: In function 'PLGS_trailer': +svg.c:752:17: warning: 'outfp' may be used uninitialized [-Wmaybe-uninitialized] + 752 | gzclose( (gzFile) outfp ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +svg.c:680:9: note: 'outfp' was declared here + 680 | FILE *outfp; + | ^~~~~ +dates.c: In function 'DT_jdate': +dates.c:285:3: warning: 'nt' may be used uninitialized [-Wmaybe-uninitialized] + 285 | if( nt != 3 ) return( 2 ); /* not three tokens */ + | ^ +dates.c:229:5: note: 'nt' was declared here + 229 | int nt; + | ^~ +gcc -fPIC -I./gd13 -I./ -c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c +gcc -c -fPIC -Wall -g -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DLOCALE -DNOSWF -I/usr/include/X11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ploticus-2.42=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c99 -D_DEFAULT_SOURCE -std=gnu17 grgd.c -DGD16 -DPLOTICUS -I./ -I./gd16 -o grgd16.o dates.c: In function 'DT_makedate': dates.c:582:22: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 10 [-Wformat-overflow=] 582 | else sprintf( year, "%02d", yr ); @@ -2196,13 +2239,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -svg.c: In function 'PLGS_trailer': -svg.c:752:17: warning: 'outfp' may be used uninitialized [-Wmaybe-uninitialized] - 752 | gzclose( (gzFile) outfp ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -svg.c:680:9: note: 'outfp' was declared here - 680 | FILE *outfp; - | ^~~~~ grgd.c: In function 'PLGG_text': grgd.c:456:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 456 | Goldx = x; @@ -2261,7 +2297,7 @@ make[1]: Entering directory '/build/reproducible-path/ploticus-2.42' rm -f pltestsuite/*.bat make[1]: Leaving directory '/build/reproducible-path/ploticus-2.42' - dh_auto_test +dh: command-omitted: The call to "dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install @@ -2311,12 +2347,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/1754151/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1754151/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/2097538 and its subdirectories -I: Current time: Mon Nov 17 23:40:59 -12 2025 -I: pbuilder-time-stamp: 1763466059 +I: removing directory /srv/workspace/pbuilder/1754151 and its subdirectories +I: Current time: Tue Dec 22 08:05:24 +14 2026 +I: pbuilder-time-stamp: 1797876324