Diff of the two buildlogs: -- --- b1/build.log 2024-11-19 01:12:01.470689496 +0000 +++ b2/build.log 2024-11-19 01:14:31.787892724 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 18 13:10:18 -12 2024 -I: pbuilder-time-stamp: 1731978618 +I: Current time: Mon Dec 22 21:34:59 +14 2025 +I: pbuilder-time-stamp: 1766388899 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,52 +33,84 @@ dpkg-source: info: applying fix-ftbfs-gcc14.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3882575/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1208670/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 22 07:35 /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/1208670/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1208670/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=20 ' - 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]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(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 ' + 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='af69d50d37404487baaac76234e8f0ca' - 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='3882575' - PS1='# ' - PS2='> ' + INVOCATION_ID=eb53fbff09bc49e294b6036e47f2b6b2 + 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=1208670 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.DWXBMxHN/pbuilderrc_HULq --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.DWXBMxHN/b1 --logfile b1/build.log ploticus_2.42-8.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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.DWXBMxHN/pbuilderrc_AgPp --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.DWXBMxHN/b2 --logfile b2/build.log ploticus_2.42-8.dsc' + SUDO_GID=111 + 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.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3882575/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1208670/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -304,7 +336,7 @@ Get: 174 http://deb.debian.org/debian unstable/main amd64 libx11-dev amd64 2:1.8.10-2 [891 kB] Get: 175 http://deb.debian.org/debian unstable/main amd64 libxpm-dev amd64 1:3.5.17-1+b2 [130 kB] Get: 176 http://deb.debian.org/debian unstable/main amd64 libgd-dev amd64 2.3.3-12+b1 [263 kB] -Fetched 75.2 MB in 3s (26.1 MB/s) +Fetched 75.2 MB in 8s (8920 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19966 files and directories currently installed.) @@ -885,8 +917,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Nov 19 01:11:21 UTC 2024. -Universal Time is now: Tue Nov 19 01:11:21 UTC 2024. +Local time is now: Mon Dec 22 07:36:54 UTC 2025. +Universal Time is now: Mon Dec 22 07:36:54 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:amd64 (47.0-2) ... @@ -1043,7 +1075,11 @@ fakeroot is already the newest version (1.36-1). 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-8_source.changes +I: user script /srv/workspace/pbuilder/1208670/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1208670/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-8_source.changes dpkg-buildpackage: info: source package ploticus dpkg-buildpackage: info: source version 2.42-8 dpkg-buildpackage: info: source distribution unstable @@ -1053,7 +1089,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j20 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' @@ -1073,7 +1109,7 @@ dh_update_autotools_config dh_autoreconf dh_auto_build - make -j20 "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; @@ -1098,19 +1134,41 @@ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_page.o proc_page.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_print.o proc_print.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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_usedata.o proc_usedata.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_pvalue.o proc_pvalue.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_scatterplot.o proc_scatterplot.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_vector.o proc_vector.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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tabulate.o proc_tabulate.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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tree.o proc_tree.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_catlines.o proc_catlines.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plhead.o plhead.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execscriptfile.o execscriptfile.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execline.o execline.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lib.o lib.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 -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 -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 -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 -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 -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_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_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': pl.c: In function 'main': +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; + | ^~~~~ pl.c:298:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | system( buf ); | ^~~~~~~~~~~~~ @@ -1118,26 +1176,24 @@ 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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_usedata.o proc_usedata.c -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 ); - | ^~ -In file included from /usr/include/stdio.h:970, - from plg.h:11, - from pl.h:9, - from pl.c:9: -In function 'sprintf', - inlined from 'main' at pl.c:222:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_pvalue.o proc_pvalue.c +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; + | ^~~~~~~~~~~~~ +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_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; @@ -1158,23 +1214,40 @@ proc_annotate.c:193:13: note: 'aty' was declared here 193 | double atx, aty; | ^~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_scatterplot.o proc_scatterplot.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_vector.o proc_vector.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_processdata.o proc_processdata.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 ) { - | ~~~~~~^~~ -proc_legend.c:49:5: note: 'j' was declared here - 49 | int j, k, ix, ixx, nt, align, outline, nlines, maxlen, reverseorder, do_outline, colortext; - | ^ -proc_legend.c:311:67: warning: 'sampwidth' may be used uninitialized [-Wmaybe-uninitialized] - 311 | x = x + ((double)maxtwidth*Ecurtextwidth) + sampwidth + colchunksep; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -proc_legend.c:52:24: note: 'sampwidth' was declared here - 52 | double startx, starty, sampwidth, colchunksep, colbreak, rowchunksep, orig_x, orig_y, bx1, by1, bx2, by2, bmx1, bmy1, bmx2, bmy2, titx, tity; - | ^~~~~~~~~ +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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plvalue_subst.o plvalue_subst.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; + | ^~ +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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fieldnames.o fieldnames.c +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 ); + | ^~ +In file included from /usr/include/stdio.h:970, + from plg.h:11, + from pl.h:9, + from pl.c:9: +In function 'sprintf', + inlined from 'main' at pl.c:222:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~ 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); @@ -1188,64 +1261,54 @@ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tabulate.o proc_tabulate.c -proc_curvefit.c: In function 'PLP_curvefit': -proc_curvefit.c:363:25: warning: '%s' directive writing up to 127 bytes into a region of size 121 [-Wformat-overflow=] - 363 | sprintf( buf, "Y = %s + %sX", GL_autoroundf(b,0), tok ); - | ^~ ~~~ -In file included from /usr/include/stdio.h:970, - from plg.h:11, - from pl.h:9, - from proc_curvefit.c:10: -In function 'sprintf', - inlined from 'lregress' at proc_curvefit.c:363:1, - inlined from 'PLP_curvefit' at proc_curvefit.c:186:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 136) into a destination of size 128 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In file included from /usr/include/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(); - | ^~~ -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_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; - | ^~ -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o clickmap.o clickmap.c -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; - | ^~~~~~~~~~~~~ +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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o datasets.o datasets.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; + | ~~~~~~~~~~~~~~~~^~~ +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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mark.o mark.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_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 ) { + | ~~~~~~^~~ +proc_legend.c:49:5: note: 'j' was declared here + 49 | int j, k, ix, ixx, nt, align, outline, nlines, maxlen, reverseorder, do_outline, colortext; + | ^ +proc_legend.c:311:67: warning: 'sampwidth' may be used uninitialized [-Wmaybe-uninitialized] + 311 | x = x + ((double)maxtwidth*Ecurtextwidth) + sampwidth + colchunksep; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +proc_legend.c:52:24: note: 'sampwidth' was declared here + 52 | double startx, starty, sampwidth, colchunksep, colbreak, rowchunksep, orig_x, orig_y, bx1, by1, bx2, by2, bmx1, bmy1, bmx2, bmy2, titx, tity; + | ^~~~~~~~~ +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 file included from pl.h:9, from proc_boxplot.c:16: proc_boxplot.c: In function 'PLP_boxplot': @@ -1287,36 +1350,6 @@ proc_boxplot.c:56:19: note: 'h[4]' was declared here 56 | double stats[20], h[5]; | ^ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tree.o proc_tree.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_catlines.o proc_catlines.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plhead.o plhead.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execscriptfile.o execscriptfile.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; - | ~~~~~~~~~~~~~~~~^~~ -proc_tabulate.c:510:26: note: 'firstcell' was declared here - 510 | int i, j, used[MAXROWS], firstcell, first, diff; - | ^~~~~~~~~ -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 */ - | ^ -proc_lineplot.c:35:20: note: 'firstx' was declared here - 35 | double f, sum, cr, firstx, firsty, typical_interval; - | ^~~~~~ -proc_lineplot.c:310:29: warning: 'firsty' may be used uninitialized [-Wmaybe-uninitialized] - 310 | if( x < (NEGHUGE+1) || y < (NEGHUGE+1) ) { - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -proc_lineplot.c:35:28: note: 'firsty' was declared here - 35 | double f, sum, cr, firstx, firsty, typical_interval; - | ^~~~~~ -proc_lineplot.c:472:9: warning: 'realrow' may be used uninitialized [-Wmaybe-uninitialized] - 472 | PL_do_subst( buf, linelabel, realrow, 0 ); /* also allow substitution of any @field on the last-plotted data row.. added scg 1/29/07 */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_lineplot.c:26:57: note: 'realrow' was declared here - 26 | int npoints, result, nalt, altlist[MAXALT+2], anyvalid, realrow, sortopt; - | ^~~~~~~ proc_vector.c:187:21: warning: 'basedir' may be used uninitialized [-Wmaybe-uninitialized] 187 | dir = basedir + ((dir / dirrange) * TWOPI ); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1335,19 +1368,6 @@ proc_vector.c:24:51: note: 'dir' was declared here 24 | double dirrange, lenscale, x, y, newx, newy, len, dir, ahlen, ahwid; | ^~~ -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; - | ^~~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execline.o execline.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lib.o lib.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; - | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from plg.h:11, from pl.h:9, @@ -1363,65 +1383,10 @@ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o details.o details.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] - 142 | #define Eax( d ) PLG_ax( d ) - | ^~~~~~~~~~~ -proc_scatterplot.c:222:18: note: in expansion of macro 'Eax' - 222 | else x = Eax(x); - | ^~~ -proc_scatterplot.c:45:49: note: 'x' was declared here - 45 | double adjx, adjy, linelen, xloc, yloc, radius, x, y, cx, cy, hlinelen, sizescale; - | ^ -pl.h:195:65: warning: 'hw' may be used uninitialized [-Wmaybe-uninitialized] - 195 | #define clickmap_entry( t, u, p, x1, y1, x2, y2, tp, cm, tit ) PL_clickmap_entry( t, u, p, x1, y1, x2, y2, tp, cm, tit ) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -proc_scatterplot.c:414:25: note: in expansion of macro 'clickmap_entry' - 414 | clickmap_entry( 'r', expandedurl, 0, ptx-hw, pty, x+hw, y+txhi, 0, 0, expandedlabel ); - | ^~~~~~~~~~~~~~ -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o units.o units.c -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preliminaries.o preliminaries.c -execline.c: In function 'proc_call': -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o process_arg.o process_arg.c -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 ); - | ^~~~~~ -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; - | ^~~~ -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o autorange.o autorange.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nearest.o nearest.c +autorange.c: In function 'PLP_autorange': +autorange.c:26:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] + 26 | int stat; + | ^~~~ 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 */ @@ -1429,52 +1394,32 @@ parse.c:55:6: note: 'sepchar' was declared here 55 | char sepchar, tok[255]; | ^~~~~~~ -autorange.c: In function 'PLP_autorange': -autorange.c:26:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] - 26 | int stat; - | ^~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o select.o select.c -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 -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; + | ^~ +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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c 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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o init.o init.c -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; - | ^~~~~~~~ +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 -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, - 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; - | ^~~~~~ + 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(); + | ^~~ color.c: In function 'PLG_icolor': color.c:132:7: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 132 | return( c ); @@ -1482,12 +1427,25 @@ 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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.c +proc_curvefit.c: In function 'PLP_curvefit': +proc_curvefit.c:363:25: warning: '%s' directive writing up to 127 bytes into a region of size 121 [-Wformat-overflow=] + 363 | sprintf( buf, "Y = %s + %sX", GL_autoroundf(b,0), tok ); + | ^~ ~~~ +In file included from /usr/include/stdio.h:970, + from plg.h:11, + from pl.h:9, + from proc_curvefit.c:10: +In function 'sprintf', + inlined from 'lregress' at proc_curvefit.c:363:1, + inlined from 'PLP_curvefit' at proc_curvefit.c:186:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 136) into a destination of size 128 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o swf.o swf.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o winscale.o winscale.c @@ -1495,9 +1453,35 @@ 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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o condex.o condex.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] + 142 | #define Eax( d ) PLG_ax( d ) + | ^~~~~~~~~~~ +proc_scatterplot.c:222:18: note: in expansion of macro 'Eax' + 222 | else x = Eax(x); + | ^~~ +proc_scatterplot.c:45:49: note: 'x' was declared here + 45 | double adjx, adjy, linelen, xloc, yloc, radius, x, y, cx, cy, hlinelen, sizescale; + | ^ +pl.h:195:65: warning: 'hw' may be used uninitialized [-Wmaybe-uninitialized] + 195 | #define clickmap_entry( t, u, p, x1, y1, x2, y2, tp, cm, tit ) PL_clickmap_entry( t, u, p, x1, y1, x2, y2, tp, cm, tit ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +proc_scatterplot.c:414:25: note: in expansion of macro 'clickmap_entry' + 414 | clickmap_entry( 'r', expandedurl, 0, ptx-hw, pty, x+hw, y+txhi, 0, 0, expandedlabel ); + | ^~~~~~~~~~~~~~ +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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o err.o err.c +dbinterface.c: In function 'TDH_sqlrow': +dbinterface.c:87:7: warning: 'stat' is used uninitialized [-Wuninitialized] + 87 | return( stat ); + | ^ +dbinterface.c:76:5: note: 'stat' was declared here + 76 | int stat; + | ^~~~ smoothfit.c: In function 'smooth': smoothfit.c:543:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 543 | if (!flgis) @@ -1505,22 +1489,33 @@ 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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o reslimits.o reslimits.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 */ + | ^ +proc_lineplot.c:35:20: note: 'firstx' was declared here + 35 | double f, sum, cr, firstx, firsty, typical_interval; + | ^~~~~~ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o secondaryops.o secondaryops.c -dbinterface.c: In function 'TDH_sqlrow': -dbinterface.c:87:7: warning: 'stat' is used uninitialized [-Wuninitialized] - 87 | return( stat ); - | ^ -dbinterface.c:76:5: note: 'stat' was declared here - 76 | int stat; - | ^~~~ +proc_lineplot.c:310:29: warning: 'firsty' may be used uninitialized [-Wmaybe-uninitialized] + 310 | if( x < (NEGHUGE+1) || y < (NEGHUGE+1) ) { + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +proc_lineplot.c:35:28: note: 'firsty' was declared here + 35 | double f, sum, cr, firstx, firsty, typical_interval; + | ^~~~~~ +proc_lineplot.c:472:9: warning: 'realrow' may be used uninitialized [-Wmaybe-uninitialized] + 472 | PL_do_subst( buf, linelabel, realrow, 0 ); /* also allow substitution of any @field on the last-plotted data row.. added scg 1/29/07 */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o shell.o shell.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 -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 -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] 199 | if( n != 1 ) return( 5 ); @@ -1534,6 +1529,85 @@ dbinterface.c:190:7: note: 'f' declared here 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o times.o times.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 -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 -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o x11.o x11.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interact.o interact.c +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); + | ^~ + | | + | unsigned char * +In file included from localef.c:3: +/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:23:22: warning: pointer targets in passing argument 2 of 'strcoll' differ in signedness [-Wpointer-sign] + 23 | 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) + | ~~~~~~~~~~~~^~~~ +localef.c: In function 'stricoll': +localef.c:47:18: warning: pointer targets in passing argument 1 of 'strcoll' differ in signedness [-Wpointer-sign] + 47 | if ((c=strcoll(t1, t2)) != 0) return (c); + | ^~ + | | + | unsigned char * +/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) + | ~~~~~~~~~~~~^~~~ +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 ] ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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'; + | ~~~~~~~~^~~~~~~~~ +variable.c:13:13: note: while referencing 'Name' + 13 | static char Name[MAXVAR][NAMEMAX]; + | ^~~~ +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 -Wdate-time -D_FORTIFY_SOURCE=2 In file included from stub.c:13: In function 'PLG_mov', inlined from 'PLG_dotext' at stub.c:130:9: @@ -1559,26 +1633,6 @@ 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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tdhkit.o tdhkit.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; - | ^~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o times.o times.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 ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 function 'verttextsim', inlined from 'PLG_pcode' at pcode.c:623:41: pcode.c:740:19: warning: 'y2' may be used uninitialized [-Wmaybe-uninitialized] @@ -1601,16 +1655,6 @@ pcode.c:717:14: note: 'y1' was declared here 717 | double dist, y1, y2, x, y; | ^~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value.o value.c -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o variable.o variable.c 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); @@ -1626,108 +1670,63 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o custom.o custom.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o x11.o x11.c -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'; - | ~~~~~~~~^~~~~~~~~ -variable.c:13:13: note: while referencing 'Name' - 13 | static char Name[MAXVAR][NAMEMAX]; - | ^~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o interact.o interact.c -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] ); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^ In file included from /usr/include/stdio.h:970, - from tdhkit.h:10, - from sinterp.c:21: + from times.c:9: In function 'sprintf', - inlined from 'TDH_sinterp' at sinterp.c:375:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 258) into a destination of size 256 + 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 ()); | ~~~~~~~~~~~~~~~~~ -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); - | ^~ - | | - | unsigned char * -In file included from localef.c:3: -/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:23:22: warning: pointer targets in passing argument 2 of 'strcoll' differ in signedness [-Wpointer-sign] - 23 | 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) - | ~~~~~~~~~~~~^~~~ -localef.c: In function 'stricoll': -localef.c:47:18: warning: pointer targets in passing argument 1 of 'strcoll' differ in signedness [-Wpointer-sign] - 47 | if ((c=strcoll(t1, t2)) != 0) return (c); - | ^~ - | | - | unsigned char * -/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) - | ~~~~~~~~~~~~^~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -sinterp.c: In function 'TDH_sinterp': -sinterp.c:454:44: warning: 'linebegin' may be used uninitialized [-Wmaybe-uninitialized] - 454 | ss->forloc[ ss->loopnest ] = linebegin; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -sinterp.c:59:6: note: 'linebegin' was declared here - 59 | long linebegin; - | ^~~~~~~~~ -sinterp.c:500:19: warning: 'stat' may be used uninitialized [-Wmaybe-uninitialized] - 500 | if( stat != 0 ) { - | ^ -sinterp.c:56:5: note: 'stat' was declared here - 56 | int stat; - | ^~~~ -svg.c: In function 'PLGS_trailer': +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; + | ^~~~~~ +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; + | ^~~ +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 times.c:9: + from plg.h:11, + from pl.h:9, + from proc_processdata.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] + 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 ()); | ~~~~~~~~~~~~~~~~~ -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: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; - | ^~~~~ +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; + | ^~~~~~ 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 */ @@ -1742,13 +1741,67 @@ 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; - | ^~~ +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; + | ^~~~~ +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] ); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from tdhkit.h:10, + from sinterp.c:21: +In function 'sprintf', + inlined from 'TDH_sinterp' at sinterp.c:375:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 258) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +grgd.c: In function 'PLGG_text': +grgd.c:456:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] + 456 | Goldx = x; + | ~~~~~~^~~ +grgd.c:413:8: note: 'x' was declared here + 413 | double x, y; + | ^ +grgd.c:457:7: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] + 457 | Goldy = y; + | ~~~~~~^~~ +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; + | ^ +sinterp.c: In function 'TDH_sinterp': +sinterp.c:454:44: warning: 'linebegin' may be used uninitialized [-Wmaybe-uninitialized] + 454 | ss->forloc[ ss->loopnest ] = linebegin; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +sinterp.c:59:6: note: 'linebegin' was declared here + 59 | long linebegin; + | ^~~~~~~~~ +sinterp.c:500:19: warning: 'stat' may be used uninitialized [-Wmaybe-uninitialized] + 500 | if( stat != 0 ) { + | ^ +sinterp.c:56:5: note: 'stat' was declared here + 56 | int stat; + | ^~~~ 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 ); @@ -1796,19 +1849,28 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -grgd.c: In function 'PLGG_text': -grgd.c:456:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] - 456 | Goldx = x; +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +grgd.c: In function 'PLGG_rightjust': +grgd.c:593:7: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] + 593 | Goldx = x; | ~~~~~~^~~ -grgd.c:413:8: note: 'x' was declared here - 413 | double x, y; - | ^ -grgd.c:457:7: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] - 457 | Goldy = y; +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:413:11: note: 'y' was declared here - 413 | double x, 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 ); @@ -1841,32 +1903,6 @@ value_subst.c:320:6: note: 'quotecharused' was declared here 320 | char quotecharused; /* added 3/29/01 */ | ^~~~~~~~~~~~~ -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; - | ^ devstuff.c: In function 'PL_devnamemap': devstuff.c:120:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] 120 | char c; @@ -1913,10 +1949,32 @@ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_pie.o proc_pie.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_print.o proc_print.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_boxplot.o proc_boxplot.c -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_rangesweep.o proc_rangesweep.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_usedata.o proc_usedata.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_pvalue.o proc_pvalue.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_scatterplot.o proc_scatterplot.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_vector.o proc_vector.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_symbol.o proc_symbol.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_processdata.o proc_processdata.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tabulate.o proc_tabulate.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_venndisk.o proc_venndisk.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o clickmap.o clickmap.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tree.o proc_tree.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_catlines.o proc_catlines.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plhead.o plhead.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execscriptfile.o execscriptfile.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execline.o execline.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lib.o lib.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o details.o details.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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preliminaries.o preliminaries.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plvalue_subst.o plvalue_subst.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_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; @@ -1924,44 +1982,50 @@ 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_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_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; | ^~~~~~~~ -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_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_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_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_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_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.. */ + | ^~~~ +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_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; + | ^~ +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_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 ) { @@ -1975,26 +2039,20 @@ proc_legend.c:52:24: note: 'sampwidth' was declared here 52 | double startx, starty, sampwidth, colchunksep, colbreak, rowchunksep, orig_x, orig_y, bx1, by1, bx2, by2, bmx1, bmy1, bmx2, bmy2, titx, tity; | ^~~~~~~~~ -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 /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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_rangesweep.o proc_rangesweep.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 ); + | ^~~~~~ +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; + | ^~~~~~~~~ In file included from pl.h:9, from proc_boxplot.c:16: proc_boxplot.c: In function 'PLP_boxplot': @@ -2036,27 +2094,51 @@ proc_boxplot.c:56:19: note: 'h[4]' was declared here 56 | double stats[20], h[5]; | ^ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_usedata.o proc_usedata.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_pvalue.o proc_pvalue.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_scatterplot.o proc_scatterplot.c -proc_curvefit.c: In function 'PLP_curvefit': -proc_curvefit.c:363:25: warning: '%s' directive writing up to 127 bytes into a region of size 121 [-Wformat-overflow=] - 363 | sprintf( buf, "Y = %s + %sX", GL_autoroundf(b,0), tok ); - | ^~ ~~~ +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 */ + | ~~~~~~~~^~~~~~~~~~ +parse.c:55:6: note: 'sepchar' was declared here + 55 | char sepchar, tok[255]; + | ^~~~~~~ +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; + | ^~~ In file included from /usr/include/stdio.h:970, from plg.h:11, from pl.h:9, - from proc_curvefit.c:10: -In function 'sprintf', - inlined from 'lregress' at proc_curvefit.c:363:1, - inlined from 'PLP_curvefit' at proc_curvefit.c:186:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 136) into a destination of size 128 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ + 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(); + | ^~~ +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; + | ^~~~ 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 */ @@ -2076,79 +2158,6 @@ proc_lineplot.c:26:57: note: 'realrow' was declared here 26 | int npoints, result, nalt, altlist[MAXALT+2], anyvalid, realrow, sortopt; | ^~~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_vector.o proc_vector.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_symbol.o proc_symbol.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_processdata.o proc_processdata.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tabulate.o proc_tabulate.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_venndisk.o proc_venndisk.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o clickmap.o clickmap.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_tree.o proc_tree.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o proc_catlines.o proc_catlines.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plhead.o plhead.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execscriptfile.o execscriptfile.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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o execline.o execline.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.. */ - | ^~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lib.o lib.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 ); - | ^~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o details.o details.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; - | ~~~~~~~~~~~~~~~~^~~ -proc_tabulate.c:510:26: note: 'firstcell' was declared here - 510 | int i, j, used[MAXROWS], firstcell, first, diff; - | ^~~~~~~~~ -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; - | ^~~~~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.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; - | ~~~~~~~~~~~~~~^~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o units.o units.c -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; - | ^~ proc_vector.c:187:21: warning: 'basedir' may be used uninitialized [-Wmaybe-uninitialized] 187 | dir = basedir + ((dir / dirrange) * TWOPI ); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2167,24 +2176,6 @@ proc_vector.c:24:51: note: 'dir' was declared here 24 | double dirrange, lenscale, x, y, newx, newy, len, dir, ahlen, ahwid; | ^~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o preliminaries.o preliminaries.c -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plvalue_subst.o plvalue_subst.c -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 file included from pl.h:9, from proc_scatterplot.c:7: plg.h:142:57: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] @@ -2205,68 +2196,77 @@ 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 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; - | ^~~~ -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 '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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fieldnames.o fieldnames.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 */ - | ~~~~~~~~^~~~~~~~~~ -parse.c:55:6: note: 'sepchar' was declared here - 55 | char sepchar, tok[255]; - | ^~~~~~~ -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; - | ^~~~~~~~ +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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o datasets.o datasets.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o plg.o plg.c +proc_curvefit.c: In function 'PLP_curvefit': +proc_curvefit.c:363:25: warning: '%s' directive writing up to 127 bytes into a region of size 121 [-Wformat-overflow=] + 363 | sprintf( buf, "Y = %s + %sX", GL_autoroundf(b,0), tok ); + | ^~ ~~~ In file included from /usr/include/stdio.h:970, from plg.h:11, from pl.h:9, - from proc_processdata.c:9: + from proc_curvefit.c:10: 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] + inlined from 'lregress' at proc_curvefit.c:363:1, + inlined from 'PLP_curvefit' at proc_curvefit.c:186:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 136) into a destination of size 128 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; - | ^~~~~~ -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o datasets.o datasets.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 -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 -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 -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pcode.o pcode.c +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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o svg.o svg.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; + | ^~ autorange.c: In function 'PLP_autorange': autorange.c:26:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] 26 | int stat; @@ -2278,10 +2278,68 @@ color.c:108:7: note: 'c' was declared here 108 | char *c; | ^ -nearest.c: In function 'PLP_findnearest': -nearest.c:20:5: warning: variable 'stat' set but not used [-Wunused-but-set-variable] - 20 | int stat; - | ^~~~ +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; + | ^ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 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; + | ^~ +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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o swf.o swf.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o winscale.o winscale.c @@ -2290,6 +2348,17 @@ 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value.o value.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] @@ -2310,44 +2379,6 @@ 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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o err.o err.c -smoothfit.c: In function 'smooth': -smoothfit.c:543:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 543 | if (!flgis) - | ^~ -smoothfit.c:545:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 545 | computeCubicCoeffs(); - | ^~~~~~~~~~~~~~~~~~ -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; - | ^~ -dbinterface.c: In function 'TDH_sqlrow': -dbinterface.c:87:7: warning: 'stat' is used uninitialized [-Wuninitialized] - 87 | return( stat ); - | ^ -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); @@ -2363,20 +2394,82 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sinterp.o sinterp.c +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; + | ^~~~~ +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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value_subst.o value_subst.c +dbinterface.c: In function 'TDH_sqlrow': +dbinterface.c:87:7: warning: 'stat' is used uninitialized [-Wuninitialized] + 87 | return( stat ); + | ^ +dbinterface.c:76:5: note: 'stat' was declared here + 76 | int stat; + | ^~~~ +smoothfit.c: In function 'smooth': +smoothfit.c:543:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 543 | if (!flgis) + | ^~ +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 -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 -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 -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 -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 -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 -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 +gcc -c -Wall -g -fPIC grgd.c -DGD16 -DPLOTICUS -I./ -I./gd16 -o grgd16.o +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); + | ^~ + | | + | unsigned char * +In file included from localef.c:3: +/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:23:22: warning: pointer targets in passing argument 2 of 'strcoll' differ in signedness [-Wpointer-sign] + 23 | 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) + | ~~~~~~~~~~~~^~~~ 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; | ^~ -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; - | ^~~~~~~~~~~~ +localef.c: In function 'stricoll': +localef.c:47:18: warning: pointer targets in passing argument 1 of 'strcoll' differ in signedness [-Wpointer-sign] + 47 | if ((c=strcoll(t1, t2)) != 0) return (c); + | ^~ + | | + | unsigned char * +/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) + | ~~~~~~~~~~~~^~~~ +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 ] ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ); @@ -2390,26 +2483,29 @@ /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 ] ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~ +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'; + | ~~~~~~~~^~~~~~~~~ +variable.c:13:13: note: while referencing 'Name' + 13 | static char Name[MAXVAR][NAMEMAX]; + | ^~~~ +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; + | ^~~~~~~~~~~~ +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 ) { + | ^ +value_subst.c:83:6: note: 'oldvarsym' was declared here + 83 | char oldvarsym; + | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tdhkit.o tdhkit.c 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] ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2425,9 +2521,28 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o value_subst.o value_subst.c +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; + | ^~~ +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; + | ^~~~~~ sinterp.c: In function 'TDH_sinterp': sinterp.c:454:44: warning: 'linebegin' may be used uninitialized [-Wmaybe-uninitialized] 454 | ss->forloc[ ss->loopnest ] = linebegin; @@ -2441,6 +2556,25 @@ sinterp.c:56:5: note: 'stat' was declared here 56 | int stat; | ^~~~ +value_subst.c: In function 'TDH_dequote': +value_subst.c:364:30: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] + 364 | tok[k++] = in[i]; + | ~^~ +value_subst.c:317:11: note: 'k' was declared here + 317 | int i, j, k, len, instring, esc; + | ^ +value_subst.c:335:52: warning: 'esc' may be used uninitialized [-Wmaybe-uninitialized] + 335 | if( instring && i > 0 && in[ i-1 ] == '\\' && !esc ) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +value_subst.c:317:29: note: 'esc' was declared here + 317 | int i, j, k, len, instring, esc; + | ^~~ +value_subst.c:346:30: warning: 'quotecharused' may be used uninitialized [-Wmaybe-uninitialized] + 346 | if( instring && in[i] == quotecharused ) { + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +value_subst.c:320:6: note: 'quotecharused' was declared here + 320 | char quotecharused; /* added 3/29/01 */ + | ^~~~~~~~~~~~~ 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 */ @@ -2448,49 +2582,6 @@ dates.c:229:5: note: 'nt' was declared here 229 | int nt; | ^~ -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 -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 -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 -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 -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 -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 -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 -gcc -c -Wall -g -fPIC grgd.c -DGD16 -DPLOTICUS -I./ -I./gd16 -o grgd16.o -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); - | ^~ - | | - | unsigned char * -In file included from localef.c:3: -/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:23:22: warning: pointer targets in passing argument 2 of 'strcoll' differ in signedness [-Wpointer-sign] - 23 | 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) - | ~~~~~~~~~~~~^~~~ -localef.c: In function 'stricoll': -localef.c:47:18: warning: pointer targets in passing argument 1 of 'strcoll' differ in signedness [-Wpointer-sign] - 47 | if ((c=strcoll(t1, t2)) != 0) return (c); - | ^~ - | | - | unsigned char * -/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) - | ~~~~~~~~~~~~^~~~ 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 ); @@ -2538,62 +2629,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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'; - | ~~~~~~~~^~~~~~~~~ -variable.c:13:13: note: while referencing 'Name' - 13 | static char Name[MAXVAR][NAMEMAX]; - | ^~~~ -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; - | ^~~~~~ -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 ) { - | ^ -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; - | ^~~ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC devstuff.c -DGD16 -o devstuff16.o -value_subst.c: In function 'TDH_dequote': -value_subst.c:364:30: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] - 364 | tok[k++] = in[i]; - | ~^~ -value_subst.c:317:11: note: 'k' was declared here - 317 | int i, j, k, len, instring, esc; - | ^ -value_subst.c:335:52: warning: 'esc' may be used uninitialized [-Wmaybe-uninitialized] - 335 | if( instring && i > 0 && in[ i-1 ] == '\\' && !esc ) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -value_subst.c:317:29: note: 'esc' was declared here - 317 | int i, j, k, len, instring, esc; - | ^~~ -value_subst.c:346:30: warning: 'quotecharused' may be used uninitialized [-Wmaybe-uninitialized] - 346 | if( instring && in[i] == quotecharused ) { - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -value_subst.c:320:6: note: 'quotecharused' was declared here - 320 | char quotecharused; /* added 3/29/01 */ - | ^~~~~~~~~~~~~ devstuff.c: In function 'PL_devnamemap': devstuff.c:120:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] 120 | char c; @@ -2653,11 +2689,11 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ploticus-dbgsym' in '../ploticus-dbgsym_2.42-8_amd64.deb'. dpkg-deb: building package 'ploticus' in '../ploticus_2.42-8_amd64.deb'. +dpkg-deb: building package 'ploticus-dbgsym' in '../ploticus-dbgsym_2.42-8_amd64.deb'. +dpkg-deb: building package 'libploticus0-dbgsym' in '../libploticus0-dbgsym_2.42-8_amd64.deb'. dpkg-deb: building package 'libploticus0' in '../libploticus0_2.42-8_amd64.deb'. dpkg-deb: building package 'libploticus0-dev' in '../libploticus0-dev_2.42-8_amd64.deb'. -dpkg-deb: building package 'libploticus0-dbgsym' in '../libploticus0-dbgsym_2.42-8_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ploticus_2.42-8_amd64.buildinfo dpkg-genchanges --build=binary -O../ploticus_2.42-8_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2665,12 +2701,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/1208670/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1208670/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/3882575 and its subdirectories -I: Current time: Mon Nov 18 13:12:00 -12 2024 -I: pbuilder-time-stamp: 1731978720 +I: removing directory /srv/workspace/pbuilder/1208670 and its subdirectories +I: Current time: Mon Dec 22 21:37:27 +14 2025 +I: pbuilder-time-stamp: 1766389047