Diff of the two buildlogs: -- --- b1/build.log 2025-09-09 02:01:27.624728774 +0000 +++ b2/build.log 2025-09-09 02:02:47.852834885 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Sep 8 13:58:03 -12 2025 -I: pbuilder-time-stamp: 1757383083 +I: Current time: Mon Oct 12 22:24:28 +14 2026 +I: pbuilder-time-stamp: 1791793468 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,53 +32,85 @@ dpkg-source: info: applying gcc-14.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1173907/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2977011/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 Oct 12 08:24 /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/2977011/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2977011/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + 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='4713e910482f4c8888b0ccba1f378d06' - 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='1173907' - PS1='# ' - PS2='> ' + INVOCATION_ID=a4b282994d2e4543a4cd3d2473de729e + 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=2977011 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.nxoWvqsl/pbuilderrc_EzIX --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.nxoWvqsl/b1 --logfile b1/build.log dvi2ps_5.1j-3.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nxoWvqsl/pbuilderrc_hYxf --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.nxoWvqsl/b2 --logfile b2/build.log dvi2ps_5.1j-3.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1173907/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2977011/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -179,7 +211,7 @@ Get: 49 http://deb.debian.org/debian unstable/main amd64 tex-common all 6.19 [29.4 kB] Get: 50 http://deb.debian.org/debian unstable/main amd64 vflib3 amd64 3.7.2+dfsg-1 [269 kB] Get: 51 http://deb.debian.org/debian unstable/main amd64 vflib3-dev amd64 3.7.2+dfsg-1 [161 kB] -Fetched 16.6 MB in 11s (1521 kB/s) +Fetched 16.6 MB in 0s (36.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0: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 ... 19917 files and directories currently installed.) @@ -400,7 +432,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/dvi2ps-5.1j/ && 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 > ../dvi2ps_5.1j-3_source.changes +I: user script /srv/workspace/pbuilder/2977011/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2977011/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/dvi2ps-5.1j/ && 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 > ../dvi2ps_5.1j-3_source.changes dpkg-buildpackage: info: source package dvi2ps dpkg-buildpackage: info: source version 5.1j-3 dpkg-buildpackage: info: source distribution unstable @@ -595,7 +631,7 @@ make[2]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j' dh_auto_build -- PREFIX=/usr MFMODE=ljfour \ CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI' - make -j40 PREFIX=/usr MFMODE=ljfour "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI" + make -j42 PREFIX=/usr MFMODE=ljfour "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI" make[2]: Entering directory '/build/reproducible-path/dvi2ps-5.1j' make all-am make[3]: Entering directory '/build/reproducible-path/dvi2ps-5.1j' @@ -608,73 +644,28 @@ gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o vfset.o vfset.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o dconv.o dconv.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o run.o run.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o mag.o mag.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o fontdesc.o fontdesc.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o scanfont.o scanfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o virfont.o virfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o vfdcom.o vfdcom.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pkfont.o pkfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o gffont.o gffont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o rastfont.o rastfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o bifont.o bifont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o type1font.o type1font.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o wlfont.o wlfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o ttfont.o ttfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o vflfont.o vflfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o mmfont.o mmfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o compfont.o compfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o decompfont.o decompfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o execfont.o execfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o funcfont.o funcfont.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o kpse.o kpse.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o kanji.o kanji.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o open.o open.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o io.o io.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o util.o util.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o xxstdio.o xxstdio.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o version.o version.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o ps.o ps.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psrast.o psrast.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psbi.o psbi.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstfm.o pstfm.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstype1.o pstype1.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pswl.o pswl.c -In file included from defs.h:1, - from wlfont.c:4: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -In file included from defs.h:1, - from gffont.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -: note: this is the location of the previous definition In file included from defs.h:1, - from vfdcom.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -In file included from defs.h:1, - from ttfont.c:4: + from dviconv.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -: note: this is the location of the previous definition In file included from defs.h:1, - from dviconv.c:1: + from dvi2.c:3: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o mag.o mag.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o fontdesc.o fontdesc.c In file included from defs.h:1, - from fontdesc.c:1: + from fontcom.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o scanfont.o scanfont.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o virfont.o virfont.c In file included from defs.h:1, from rfset.c:5: conf.h:24:9: warning: 'ANSI' redefined @@ -682,25 +673,22 @@ | ^~~~ : note: this is the location of the previous definition In file included from defs.h:1, - from mag.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -In file included from defs.h:1, - from type1font.c:4: + from dfdcom.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -: note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o vfdcom.o vfdcom.c In file included from defs.h:1, - from fontcom.c:1: + from vfset.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pkfont.o pkfont.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o gffont.o gffont.c In file included from defs.h:1, - from vfset.c:5: + from mag.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ @@ -711,70 +699,89 @@ 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o rastfont.o rastfont.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o bifont.o bifont.c In file included from defs.h:1, - from decompfont.c:4: + from dconv.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o type1font.o type1font.c In file included from defs.h:1, - from mmfont.c:4: + from run.c:2: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o wlfont.o wlfont.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o ttfont.o ttfont.c +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o vflfont.o vflfont.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o mmfont.o mmfont.c +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition In file included from defs.h:1, - from virfont.c:5: + from pkfont.c:7: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ -: note: this is the location of the previous definition In file included from defs.h:1, from scanfont.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ -: note: this is the location of the previous definition In file included from defs.h:1, - from dfdcom.c:5: + from gffont.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from kpse.c:1: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -In file included from defs.h:1, - from execfont.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ : note: this is the location of the previous definition : note: this is the location of the previous definition In file included from defs.h:1, - from compfont.c:4: + from virfont.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ In file included from defs.h:1, - from funcfont.c:5: + from fontdesc.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o compfont.o compfont.c : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o decompfont.o decompfont.c In file included from defs.h:1, - from vflfont.c:4: + from vfdcom.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:1, - from dconv.c:1: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o execfont.o execfont.c +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o funcfont.o funcfont.c +: note: this is the location of the previous definition +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ : note: this is the location of the previous definition In file included from defs.h:1, from rastfont.c:1: @@ -782,11 +789,10 @@ 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:1, - from io.c:1: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ : note: this is the location of the previous definition In file included from defs.h:1, from bifont.c:5: @@ -794,128 +800,216 @@ 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:1, - from pkfont.c:7: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o kpse.o kpse.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o kanji.o kanji.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o open.o open.c +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o io.o io.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o util.o util.c In file included from defs.h:1, - from kanji.c:5: + from type1font.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +rfset.c: In function 'realf_setchar': +rfset.c:23:9: warning: implicit declaration of function 'dev_setfont' [-Wimplicit-function-declaration] + 23 | dev_setfont(devf); + | ^~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o xxstdio.o xxstdio.c +rfset.c:24:9: warning: implicit declaration of function 'dev_setposn' [-Wimplicit-function-declaration] + 24 | dev_setposn(h, v); + | ^~~~~~~~~~~ In file included from defs.h:1, - from run.c:2: + from wlfont.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition In file included from defs.h:1, - from util.c:1: + from ttfont.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from xxstdio.c:1: +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o version.o version.c +In file included from defs.h:1, + from mmfont.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from version.c:28: +In file included from defs.h:1, + from vflfont.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o ps.o ps.c In file included from defs.h:1, - from psbi.c:5: + from compfont.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:1, - from pswl.c:5: +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +In file included from kpse.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +dviconv.c: In function 'dviconv': +dviconv.c:83:13: warning: implicit declaration of function 'setdir'; did you mean 'setgid'? [-Wimplicit-function-declaration] + 83 | setdir(HOR); + | ^~~~~~ + | setgid In file included from defs.h:1, - from ps.c:7: + from funcfont.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +dviconv.c:87:13: warning: implicit declaration of function 'dev_initpage' [-Wimplicit-function-declaration] + 87 | dev_initpage(); + | ^~~~~~~~~~~~ In file included from defs.h:1, - from pstype1.c:5: + from util.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ -: note: this is the location of the previous definition In file included from defs.h:1, - from open.c:2: + from execfont.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ : note: this is the location of the previous definition +dviconv.c:92:17: warning: implicit declaration of function 'dev_bop' [-Wimplicit-function-declaration] + 92 | dev_bop(count[0]); + | ^~~~~~~ +dviconv.c:106:17: warning: implicit declaration of function 'dev_eop' [-Wimplicit-function-declaration] + 106 | dev_eop(); + | ^~~~~~~ +dviconv.c: At top level: +dviconv.c:256:6: warning: conflicting types for 'setdir'; have 'void()' + 256 | void setdir(d) + | ^~~~~~ +dviconv.c:83:13: note: previous implicit declaration of 'setdir' with type 'void()' + 83 | setdir(HOR); + | ^~~~~~ In file included from defs.h:1, - from dvi2.c:3: + from kanji.c:5: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +dviconv.c: In function 'setdir': +dviconv.c:264:13: warning: implicit declaration of function 'setdirhor'; did you mean 'setdir'? [-Wimplicit-function-declaration] + 264 | setdirhor(); + | ^~~~~~~~~ + | setdir +run.c: In function 'init_settings': In file included from defs.h:1, - from pstfm.c:5: + from decompfont.c:4: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition In file included from defs.h:1, - from psrast.c:5: + from io.c:1: conf.h:24:9: warning: 'ANSI' redefined 24 | #define ANSI | ^~~~ : note: this is the location of the previous definition +dfdcom.c: In function 'dfd_setrule': In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ -: note: this is the location of the previous definition +run.c:49:21: warning: implicit declaration of function 'arg_define' [-Wimplicit-function-declaration] + 49 | arg_define(tcp); + | ^~~~~~~~~~ +dviconv.c:267:13: warning: implicit declaration of function 'setdirver'; did you mean 'setdir'? [-Wimplicit-function-declaration] + 267 | setdirver(); + | ^~~~~~~~~ + | setdir +vfdcom.c: In function 'vfd_setrule': +vfdcom.c:126:5: warning: implicit declaration of function 'dfd_setrule'; did you mean 'vfd_setrule'? [-Wimplicit-function-declaration] + 126 | dfd_setrule(scale(a, dc_scale), scale(b, dc_scale)); + | ^~~~~~~~~~~ + | vfd_setrule +vfdcom.c: In function 'vfd_setrule_v': +vfdcom.c:134:5: warning: implicit declaration of function 'dfd_setrule_v'; did you mean 'vfd_setrule_v'? [-Wimplicit-function-declaration] + 134 | dfd_setrule_v(scale(a, dc_scale), scale(b, dc_scale)); + | ^~~~~~~~~~~~~ + | vfd_setrule_v +dviconv.c:270:9: warning: implicit declaration of function 'dev_dir' [-Wimplicit-function-declaration] + 270 | dev_dir(d); + | ^~~~~~~ +dfdcom.c:159:9: warning: implicit declaration of function 'dev_setposn' [-Wimplicit-function-declaration] + 159 | dev_setposn(h, v); /* lower left corner */ + | ^~~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ +run.c:142:21: warning: implicit declaration of function 'dev_arg' [-Wimplicit-function-declaration] + 142 | dev_arg('o', argv[argind]); + | ^~~~~~~ +dfdcom.c:160:9: warning: implicit declaration of function 'dev_setrule'; did you mean 'dfd_setrule'? [-Wimplicit-function-declaration] + 160 | dev_setrule(a, b); + | ^~~~~~~~~~~ + | dfd_setrule +run.c:182:21: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] + 182 | usage(*tcp); + | ^~~~~ : note: this is the location of the previous definition +run.c:262:5: warning: implicit declaration of function 'default_def' [-Wimplicit-function-declaration] + 262 | default_def(); + | ^~~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ -: note: this is the location of the previous definition In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +In file included from xxstdio.c:1: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ +run.c:296:17: warning: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration] + 296 | set_resolution(tcp); + | ^~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psrast.o psrast.c : note: this is the location of the previous definition +run.c: In function 'usage': +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psbi.o psbi.c : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstfm.o pstfm.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstype1.o pstype1.c +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pswl.o pswl.c In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX @@ -926,6 +1020,9 @@ 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition +run.c:319:27: warning: too many arguments for format [-Wformat-extra-args] + 319 | (void)fprintf(stderr, "Usage: %s %s\n\t%s\n\t%s\n\t%s\n\t%s\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX @@ -936,43 +1033,106 @@ 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstt.o pstt.c In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +: note: this is the location of the previous definition In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -: note: this is the location of the previous definition +util.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] + 13 | makeuint(s, n) /* return n byte quantity from string */ + | ^~~~~~~~ +util.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] + 27 | makeint(s, n) /* return n byte quantity from string */ + | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstt2t1.o pstt2t1.c +util.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] + 51 | htoi(s, se) /* hex string to int */ + | ^~~~ +util.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] + 70 | numstr(s) + | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psvfl.o psvfl.c +util.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] + 95 | getstrtok(d, c, e) + | ^~~~~~~~~ +util.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] + 110 | skipstrblank(d, e) + | ^~~~~~~~~~~~ +util.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] + 128 | scale_exact(s, d) + | ^~~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -In file included from defs.h:2, - from kpse.c:4: +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pst1form.o pst1form.c +In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o writet1.o writet1.c In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition +scanfont.c: In function 'scanfont': +scanfont.c:54:17: warning: implicit declaration of function 'dev_prebop' [-Wimplicit-function-declaration] + 54 | dev_prebop(count[0]); + | ^~~~~~~~~~ +scanfont.c:73:47: warning: too many arguments for format [-Wformat-extra-args] + 73 | (void)fprintf(stderr, "eop}\n", count[0]); + | ^~~~~~~~ +io.c: In function 'getbytes': +io.c:16:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 16 | (void)fread((char *)cp, 1, n, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +io.c: In function 'getuint': +io.c:40:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 40 | (void)fread((char *)s, 1, n, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +io.c: In function 'getint': +io.c:57:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 57 | (void)fread((char *)s, 1, n, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +In file included from defs.h:1, + from open.c:2: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition +In file included from defs.h:1, + from psrast.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +In file included from defs.h:1, + from ps.c:7: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ : note: this is the location of the previous definition -In file included from defs.h:2: +scanfont.c:144:28: warning: implicit declaration of function 'HasBeenRead' [-Wimplicit-function-declaration] + 144 | if (PreLoad || HasBeenRead(k, *hdfip)) + | ^~~~~~~~~~~ +In file included from defs.h:2, + from kpse.c:4: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ @@ -982,193 +1142,519 @@ 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ : note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ : note: this is the location of the previous definition +In file included from defs.h:1, + from pswl.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +kanji.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] + 49 | getjsubfont(n, subend) + | ^~~~~~~~~~~ +: note: this is the location of the previous definition +: note: this is the location of the previous definition +kanji.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] + 65 | getdcode(n, subend) + | ^~~~~~~~ +In file included from defs.h:1, + from psbi.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition : note: this is the location of the previous definition +kanji.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] + 202 | match_subf(sname, fname, ini, sb, se) + | ^~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +kanji.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] + 260 | jis_to_idx94(jis) + | ^~~~~~~~~~~~ : note: this is the location of the previous definition +kanji.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int] + 276 | idx94_to_std(idx) + | ^~~~~~~~~~~~ +kanji.c:282:1: warning: return type defaults to 'int' [-Wimplicit-int] + 282 | jsub_to_idx94(f, c) + | ^~~~~~~~~~~~~ +kanji.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] + 291 | idx94_to_sjis(idx) + | ^~~~~~~~~~~~~ +kanji.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] + 311 | jis_to_euc(jis) + | ^~~~~~~~~~ +kanji.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] + 317 | jis_to_sjis(jis) + | ^~~~~~~~~~~ +pkfont.c: In function 'pktype_access': +pkfont.c:37:5: warning: implicit declaration of function 'rast_mag' [-Wimplicit-function-declaration] + 37 | rast_mag(fe, acca, 1); + | ^~~~~~~~ +fontdesc.c: In function 'read_fontdesc': +fontdesc.c:123:9: warning: implicit declaration of function 'searchfile'; did you mean 'kpsearch_file'? [-Wimplicit-function-declaration] + 123 | if (searchfile(fdn, fdfile, &newlibdir, top, (char *)NULL)) { + | ^~~~~~~~~~ + | kpsearch_file +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psspecial.o psspecial.c +fontdesc.c:144:9: warning: implicit declaration of function 'getfield'; did you mean 'getqfield0'? [-Wimplicit-function-declaration] + 144 | getfield(field); + | ^~~~~~~~ + | getqfield0 +pkfont.c:47:5: warning: implicit declaration of function 'rast_debug_report' [-Wimplicit-function-declaration] + 47 | rast_debug_report(fe, acca, ok, "pk"); + | ^~~~~~~~~~~~~~~~~ +mmfont.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] + 44 | jmm_markchar(c) + | ^~~~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +pkfont.c: In function 'init_pk_fontinfo': +pkfont.c:59:5: warning: implicit declaration of function 'init_rast_fontinfo'; did you mean 'init_pk_fontinfo'? [-Wimplicit-function-declaration] + 59 | init_rast_fontinfo(fe); + | ^~~~~~~~~~~~~~~~~~ + | init_pk_fontinfo +mmfont.c: In function 'jmm_markchar': +mmfont.c:47:9: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] + 47 | c = jis_to_idx94(c); + | ^~~~~~~~~~~~ +mmfont.c: At top level: +mmfont.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] + 53 | mm_markchar(c) + | ^~~~~~~~~~~ +mmfont.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] + 61 | jsmm_markchar(c) + | ^~~~~~~~~~~~~ +In file included from defs.h:1, + from pstfm.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +mmfont.c: In function 'jsmm_markchar': +mmfont.c:67:9: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] + 67 | c = jsub_to_idx94(jsfi->jsubfont, c); + | ^~~~~~~~~~~~~ +pkfont.c: In function 'read_pk_fontinfo': +pkfont.c:119:17: warning: implicit declaration of function 'readpkchar'; did you mean 'loadpkchar'? [-Wimplicit-function-declaration] + 119 | readpkchar(cmd, fe, rii); + | ^~~~~~~~~~ + | loadpkchar +In file included from defs.h:1, + from pstype1.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +pkfont.c: At top level: +pkfont.c:138:6: warning: conflicting types for 'readpkchar'; have 'void()' + 138 | void readpkchar(flag, fe, rii) + | ^~~~~~~~~~ +pkfont.c:119:17: note: previous implicit declaration of 'readpkchar' with type 'void()' + 119 | readpkchar(cmd, fe, rii); + | ^~~~~~~~~~ +: note: this is the location of the previous definition +In file included from psvfl.c:1: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +pkfont.c: In function 'loadpkchar': +pkfont.c:215:9: warning: implicit declaration of function 'unpack_raster' [-Wimplicit-function-declaration] + 215 | unpack_raster(); + | ^~~~~~~~~~~~~ +In file included from writet1.c:1: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pscolor.o pscolor.c +pkfont.c:217:9: warning: implicit declaration of function 'unpack_run' [-Wimplicit-function-declaration] + 217 | unpack_run(pl); + | ^~~~~~~~~~ +In file included from pstt.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +In file included from pstt2t1.c:30: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ : note: this is the location of the previous definition In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psifont.o psifont.c +fontdesc.c: In function 'add_include': +gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psio.o psio.c +fontdesc.c:721:5: warning: implicit declaration of function 'add_devfile' [-Wimplicit-function-declaration] + 721 | add_devfile(f, top, DF_ALWAYS, "includefile", &nextif); + | ^~~~~~~~~~~ +In file included from defs.h:1, + from pst1form.c:4: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +fontdesc.c: In function 'getinclude': +fontdesc.c:812:5: warning: implicit declaration of function 'getdevfile' [-Wimplicit-function-declaration] + 812 | getdevfile(add_include); + | ^~~~~~~~~~ +fontdesc.c: In function 'getincludeif': +fontdesc.c:818:5: warning: implicit declaration of function 'getdevfileif' [-Wimplicit-function-declaration] + 818 | getdevfileif(add_includeif); + | ^~~~~~~~~~~~ +fontdesc.c: In function 'getdevfileif': +fontdesc.c:853:31: warning: implicit declaration of function 'dev_devfilekind' [-Wimplicit-function-declaration] + 853 | (*add)(field_file, FALSE, dev_devfilekind(field_kind)); + | ^~~~~~~~~~~~~~~ +fontdesc.c: In function 'do_include': +ps.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] + 68 | dev_arg(option, c) + | ^~~~~~~ +vflfont.c: In function 'getvfcap': +vflfont.c:26:5: warning: implicit declaration of function 'getfield'; did you mean 'getgid'? [-Wimplicit-function-declaration] + 26 | getfield(field_file); + | ^~~~~~~~ + | getgid +ps.c: In function 'dev_arg': +ps.c:74:14: warning: implicit declaration of function 'ChkOpt' [-Wimplicit-function-declaration] + 74 | if (!ChkOpt(c)) + | ^~~~~~ +ps.c: At top level: +ps.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] + 83 | ChkOpt(str) + | ^~~~~~ +fontdesc.c:858:5: warning: implicit declaration of function 'do_devfile'; did you mean 'add_devfile'? [-Wimplicit-function-declaration] + 858 | do_devfile(includefiles); + | ^~~~~~~~~~ + | add_devfile In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ -: note: this is the location of the previous definition In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +ps.c:173:1: warning: return type defaults to 'int' [-Wimplicit-int] + 173 | dev_init() + | ^~~~~~~~ +: note: this is the location of the previous definition +: note: this is the location of the previous definition +fontdesc.c: In function 'do_devfile': +In file included from defs.h:1, + from psspecial.c:1: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +ps.c: In function 'dev_init': +ps.c:175:5: warning: implicit declaration of function 'initcolor' [-Wimplicit-function-declaration] + 175 | initcolor(); + | ^~~~~~~~~ +fontdesc.c:870:41: warning: implicit declaration of function 'dev_devfileif'; did you mean 'getdevfileif'? [-Wimplicit-function-declaration] + 870 | if (df->df_kind == DF_ALWAYS || dev_devfileif(df->df_kind)) + | ^~~~~~~~~~~~~ + | getdevfileif +ps.c: At top level: +ps.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] + 178 | dev_prologue() + | ^~~~~~~~~~~~ +ps.c: In function 'dev_prologue': +ps.c:200:5: warning: implicit declaration of function 'do_include'; did you mean 'add_include'? [-Wimplicit-function-declaration] + 200 | do_include(); + | ^~~~~~~~~~ + | add_include +fontdesc.c: In function 'getreplfont': +fontdesc.c:989:30: warning: implicit declaration of function 'scale_exact' [-Wimplicit-function-declaration] + 989 | fr->fr_fix = scale_exact(fr->fr_fix, atoi(f+1)); + | ^~~~~~~~~~~ +In file included from defs.h:1, + from pscolor.c:22: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +compfont.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] + 20 | comptype_init(pars, ff) + | ^~~~~~~~~~~~~ +fontdesc.c: In function 'replfont': +fontdesc.c:1043:13: warning: implicit declaration of function 'match_subf' [-Wimplicit-function-declaration] + 1043 | if (match_subf(fr->fr_replfont, n, FALSE, &sb, &se)) { + | ^~~~~~~~~~ +fontdesc.c:1044:13: warning: implicit declaration of function 'subst_subf' [-Wimplicit-function-declaration] + 1044 | subst_subf(rn, fr->fr_font, sb, se); + | ^~~~~~~~~~ +compfont.c: In function 'comptype_init': +ps.c:201:5: warning: implicit declaration of function 'dev_outbangspecials' [-Wimplicit-function-declaration] + 201 | dev_outbangspecials(); + | ^~~~~~~~~~~~~~~~~~~ +ps.c: At top level: +ps.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] + 205 | dev_setup() + | ^~~~~~~~~ +ps.c: In function 'dev_setup': +ps.c:209:13: warning: implicit declaration of function 'DoConv' [-Wimplicit-function-declaration] + 209 | hconv = DoConv(num, den, mag, hconvresolution); + | ^~~~~~ +ps.c: At top level: +ps.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] + 239 | dev_endsetup() + | ^~~~~~~~~~~~ +ps.c: In function 'dev_endsetup': +ps.c:241:9: warning: implicit declaration of function 'useifont' [-Wimplicit-function-declaration] + 241 | if (useifont()) + | ^~~~~~~~ +ps.c:242:9: warning: implicit declaration of function 'ifont_setup' [-Wimplicit-function-declaration] + 242 | ifont_setup(); + | ^~~~~~~~~~~ +ps.c:244:5: warning: implicit declaration of function 'do_setup'; did you mean 'dev_setup'? [-Wimplicit-function-declaration] + 244 | do_setup(); + | ^~~~~~~~ + | dev_setup +ps.c: At top level: +ps.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] + 249 | dev_finish() + | ^~~~~~~~~~ +ps.c: In function 'dev_finish': +ps.c:251:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] + 251 | end_string(); + | ^~~~~~~~~~ + | ps_string +ps.c: At top level: +ps.c:264:1: warning: return type defaults to 'int' [-Wimplicit-int] + 264 | dev_devfilekind(kind) + | ^~~~~~~~~~~~~~~ +compfont.c:28:10: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] + 28 | if (!getstrtok(pars, ',', &p1)) + | ^~~~~~~~~ + | strtok +ps.c:279:1: warning: return type defaults to 'int' [-Wimplicit-int] + 279 | dev_devfileif(kind) + | ^~~~~~~~~~~~~ +compfont.c: At top level: +compfont.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] + 40 | comptype_access(ffcmp, fe, acca) + | ^~~~~~~~~~~~~~~ +ps.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] + 312 | dev_newdevfont() + | ^~~~~~~~~~~~~~ +ps.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] + 317 | dev_initpage() + | ^~~~~~~~~~~~ +ps.c: In function 'dev_initpage': +ps.c:320:5: warning: implicit declaration of function 'dev_initfont'; did you mean 'dev_initpage'? [-Wimplicit-function-declaration] + 320 | dev_initfont(); + | ^~~~~~~~~~~~ + | dev_initpage +ps.c: At top level: +ps.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] + 323 | dev_prebop(count) + | ^~~~~~~~~~ +compfont.c: In function 'comptype_access': +compfont.c:57:27: warning: implicit declaration of function 'getjsubfont'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] + 57 | subpre = (s = getjsubfont(fe->n+strlen(ffcmp->cmp_name), &se)) > 0; + | ^~~~~~~~~~~ + | getsubopt +In file included from version.c:28: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ : note: this is the location of the previous definition +ps.c: In function 'dev_prebop': +compfont.c:59:27: warning: implicit declaration of function 'getdcode'; did you mean 'getcwd'? [-Wimplicit-function-declaration] + 59 | subpre = (s = getdcode(fe->n+strlen(ffcmp->cmp_name), &se)) > 0; + | ^~~~~~~~ + | getcwd +ps.c:330:5: warning: implicit declaration of function 'bopcolor' [-Wimplicit-function-declaration] + 330 | bopcolor(FALSE); + | ^~~~~~~~ +ps.c: At top level: +ps.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] + 333 | dev_bop(count) + | ^~~~~~~ +ps.c:344:1: warning: return type defaults to 'int' [-Wimplicit-int] + 344 | dev_eop() + | ^~~~~~~ +ps.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] + 361 | dev_initfont() + | ^~~~~~~~~~~~ +ps.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] + 366 | dev_setfont(psf) + | ^~~~~~~~~~~ +ps.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] + 376 | dev_setposn(x, y) /* output a positioning command */ + | ^~~~~~~~~~~ +ps.c: In function 'dev_setposn': +ps.c:383:21: warning: implicit declaration of function 'pixround' [-Wimplicit-function-declaration] + 383 | if ((rx=pixround(x-ps_h,hconv)) != 0) { + | ^~~~~~~~ +ps.c: At top level: +ps.c:403:1: warning: return type defaults to 'int' [-Wimplicit-int] + 403 | dev_setposn_abs(x, y) /* output a positioning command */ + | ^~~~~~~~~~~~~~~ +ps.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int] + 416 | dev_setrule(a, b) + | ^~~~~~~~~~~ +ps.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] + 429 | dev_dir(d) + | ^~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ +pstype1.c: In function 'dev_t1_initfontdict': +ps.c:446:1: warning: return type defaults to 'int' [-Wimplicit-int] + 446 | begin_string() + | ^~~~~~~~~~~~ +pstype1.c:20:13: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] + 20 | fe->k = dev_newdevfont(); + | ^~~~~~~~~~~~~~ +ps.c:454:1: warning: return type defaults to 'int' [-Wimplicit-int] + 454 | begin_string_v() + | ^~~~~~~~~~~~~~ +ps.c:463:1: warning: return type defaults to 'int' [-Wimplicit-int] + 463 | end_string() + | ^~~~~~~~~~ +pstype1.c:22:9: warning: implicit declaration of function 'read_type1_file' [-Wimplicit-function-declaration] + 22 | read_type1_file(fe, bii, t1path, t1font, encpath); + | ^~~~~~~~~~~~~~~ +pstype1.c:23:9: warning: implicit declaration of function 't1tobi' [-Wimplicit-function-declaration] + 23 | t1tobi(tfmfinfo(fe)->tfm_bf, t1font); + | ^~~~~~ +pstype1.c:25:5: warning: implicit declaration of function 'get_tfm_psbiops' [-Wimplicit-function-declaration] + 25 | get_tfm_psbiops(fe, &po); + | ^~~~~~~~~~~~~~~ +compfont.c:60:23: warning: implicit declaration of function 'numstr' [-Wimplicit-function-declaration] + 60 | if (subpre && numstr(se+1)) { + | ^~~~~~ +compfont.c: At top level: +compfont.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] + 109 | cmpntt_markchar(c) + | ^~~~~~~~~~~~~~~ +pstype1.c:26:5: warning: implicit declaration of function 'psfindfontop'; did you mean 'findfontop'? [-Wimplicit-function-declaration] + 26 | psfindfontop(psfname(fe->k), &po); + | ^~~~~~~~~~~~ + | findfontop +pstype1.c: At top level: +In file included from defs.h:1, + from psio.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +pstype1.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] + 30 | read_type1_file(fe, bii, fn, t1f, en) + | ^~~~~~~~~~~~~~~ +: note: this is the location of the previous definition +compfont.c: In function 'cmpntt_markchar': +compfont.c:115:5: warning: implicit declaration of function 'jsub_to_jis' [-Wimplicit-function-declaration] + 115 | jsub_to_jis(cmpfinfo(curfontent)->cmp_sub, c, &ku, &ten); + | ^~~~~~~~~~~ +dvi2.c: In function 'main': +dvi2.c:142:5: warning: implicit declaration of function 'fix_default' [-Wimplicit-function-declaration] + 142 | fix_default(RESOLUTION, MFMODE); + | ^~~~~~~~~~~ +compfont.c: At top level: +compfont.c:152:1: warning: return type defaults to 'int' [-Wimplicit-int] + 152 | cmpntt_setchar(c) + | ^~~~~~~~~~~~~~ +compfont.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] + 163 | cmpntt_setstring(s, len) + | ^~~~~~~~~~~~~~~~ +pstype1.c: In function 'read_type1_file': +compfont.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] + 192 | cmpdcd_markchar(c) + | ^~~~~~~~~~~~~~~ +pstype1.c:95:9: warning: implicit declaration of function 't1_subset' [-Wimplicit-function-declaration] + 95 | t1_subset(fn, en, bii->mark); + | ^~~~~~~~~ : note: this is the location of the previous definition -dviconv.c: In function 'dviconv': -dviconv.c:83:13: warning: implicit declaration of function 'setdir'; did you mean 'setgid'? [-Wimplicit-function-declaration] - 83 | setdir(HOR); - | ^~~~~~ - | setgid -dviconv.c:87:13: warning: implicit declaration of function 'dev_initpage' [-Wimplicit-function-declaration] - 87 | dev_initpage(); - | ^~~~~~~~~~~~ -dviconv.c:92:17: warning: implicit declaration of function 'dev_bop' [-Wimplicit-function-declaration] - 92 | dev_bop(count[0]); - | ^~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -dviconv.c:106:17: warning: implicit declaration of function 'dev_eop' [-Wimplicit-function-declaration] - 106 | dev_eop(); - | ^~~~~~~ -dviconv.c: At top level: -dviconv.c:256:6: warning: conflicting types for 'setdir'; have 'void()' - 256 | void setdir(d) - | ^~~~~~ -dviconv.c:83:13: note: previous implicit declaration of 'setdir' with type 'void()' - 83 | setdir(HOR); - | ^~~~~~ -dviconv.c: In function 'setdir': -dviconv.c:264:13: warning: implicit declaration of function 'setdirhor'; did you mean 'setdir'? [-Wimplicit-function-declaration] - 264 | setdirhor(); - | ^~~~~~~~~ - | setdir +In file included from defs.h:1, + from psifont.c:5: +conf.h:24:9: warning: 'ANSI' redefined + 24 | #define ANSI + | ^~~~ +: note: this is the location of the previous definition +virfont.c: In function 'vftype_access': +virfont.c:38:12: warning: implicit declaration of function 'vfty_acc'; did you mean 'vftype_access'? [-Wimplicit-function-declaration] + 38 | return vfty_acc(proto, fe, acca, "vf", NULL); + | ^~~~~~~~ + | vftype_access +compfont.c: In function 'cmpdcd_markchar': +compfont.c:198:5: warning: implicit declaration of function 'code_to_jis' [-Wimplicit-function-declaration] + 198 | code_to_jis(cmpfinfo(curfontent)->cmp_sub, c, &ku, &ten); + | ^~~~~~~~~~~ +compfont.c: At top level: +compfont.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] + 229 | cmpdcd_setchar(c) + | ^~~~~~~~~~~~~~ +compfont.c:240:1: warning: return type defaults to 'int' [-Wimplicit-int] + 240 | cmpdcd_setstring(s, len) + | ^~~~~~~~~~~~~~~~ +dvi2.c:163:5: warning: implicit declaration of function 'dev_init' [-Wimplicit-function-declaration] + 163 | dev_init(); + | ^~~~~~~~ decompfont.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | decomptype_init(pars, ff) | ^~~~~~~~~~~~~~~ -dviconv.c:267:13: warning: implicit declaration of function 'setdirver'; did you mean 'setdir'? [-Wimplicit-function-declaration] - 267 | setdirver(); - | ^~~~~~~~~ - | setdir -mmfont.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] - 44 | jmm_markchar(c) - | ^~~~~~~~~~~~ decompfont.c: In function 'decomptype_init': decompfont.c:28:10: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] 28 | if (!getstrtok(pars, ',', &p1)) | ^~~~~~~~~ | strtok -vfdcom.c: In function 'vfd_setrule': -dviconv.c:270:9: warning: implicit declaration of function 'dev_dir' [-Wimplicit-function-declaration] - 270 | dev_dir(d); - | ^~~~~~~ -vfdcom.c:126:5: warning: implicit declaration of function 'dfd_setrule'; did you mean 'vfd_setrule'? [-Wimplicit-function-declaration] - 126 | dfd_setrule(scale(a, dc_scale), scale(b, dc_scale)); - | ^~~~~~~~~~~ - | vfd_setrule -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -: note: this is the location of the previous definition decompfont.c: At top level: decompfont.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | decomptype_access(ffdcmp, fe, acca) | ^~~~~~~~~~~~~~~~~ -fontdesc.c: In function 'read_fontdesc': -compfont.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] - 20 | comptype_init(pars, ff) - | ^~~~~~~~~~~~~ -fontdesc.c:123:9: warning: implicit declaration of function 'searchfile'; did you mean 'kpsearch_file'? [-Wimplicit-function-declaration] - 123 | if (searchfile(fdn, fdfile, &newlibdir, top, (char *)NULL)) { - | ^~~~~~~~~~ - | kpsearch_file -mmfont.c: In function 'jmm_markchar': -mmfont.c:47:9: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] - 47 | c = jis_to_idx94(c); - | ^~~~~~~~~~~~ -vfdcom.c: In function 'vfd_setrule_v': -vfdcom.c:134:5: warning: implicit declaration of function 'dfd_setrule_v'; did you mean 'vfd_setrule_v'? [-Wimplicit-function-declaration] - 134 | dfd_setrule_v(scale(a, dc_scale), scale(b, dc_scale)); - | ^~~~~~~~~~~~~ - | vfd_setrule_v +virfont.c: In function 'init_vf_fontinfo': +virfont.c:82:5: warning: implicit declaration of function 'read_vf_dviinfo'; did you mean 'read_vf_fontinfo'? [-Wimplicit-function-declaration] + 82 | read_vf_dviinfo(fe); + | ^~~~~~~~~~~~~~~ + | read_vf_fontinfo In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -mmfont.c: At top level: -mmfont.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] - 53 | mm_markchar(c) - | ^~~~~~~~~~~ +virfont.c: In function 'init_jvf_fontinfo': +virfont.c:94:5: warning: implicit declaration of function 'read_jvf_dviinfo'; did you mean 'read_jvf_fontinfo'? [-Wimplicit-function-declaration] + 94 | read_jvf_dviinfo(fe); + | ^~~~~~~~~~~~~~~~ + | read_jvf_fontinfo decompfont.c: In function 'decomptype_access': decompfont.c:53:13: warning: implicit declaration of function 'numstr' [-Wimplicit-function-declaration] 53 | if (numstr(fe->n+strlen(ffdcmp->dcmp_name)) ) { | ^~~~~~ -mmfont.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] - 61 | jsmm_markchar(c) - | ^~~~~~~~~~~~~ -rfset.c: In function 'realf_setchar': -rfset.c:23:9: warning: implicit declaration of function 'dev_setfont' [-Wimplicit-function-declaration] - 23 | dev_setfont(devf); - | ^~~~~~~~~~~ decompfont.c: At top level: decompfont.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] 113 | dcmpntt_markchar(c) | ^~~~~~~~~~~~~~~~ -compfont.c: In function 'comptype_init': -fontdesc.c:144:9: warning: implicit declaration of function 'getfield'; did you mean 'getqfield0'? [-Wimplicit-function-declaration] - 144 | getfield(field); - | ^~~~~~~~ - | getqfield0 -compfont.c:28:10: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] - 28 | if (!getstrtok(pars, ',', &p1)) - | ^~~~~~~~~ - | strtok -mmfont.c: In function 'jsmm_markchar': -mmfont.c:67:9: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] - 67 | c = jsub_to_idx94(jsfi->jsubfont, c); - | ^~~~~~~~~~~~~ -compfont.c: At top level: -compfont.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] - 40 | comptype_access(ffcmp, fe, acca) - | ^~~~~~~~~~~~~~~ -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition decompfont.c: In function 'dcmpntt_markchar': decompfont.c:119:5: warning: implicit declaration of function 'jis_to_jsub' [-Wimplicit-function-declaration] 119 | jis_to_jsub(ku(c), ten(c), &f, &cc); | ^~~~~~~~~~~ -rfset.c:24:9: warning: implicit declaration of function 'dev_setposn' [-Wimplicit-function-declaration] - 24 | dev_setposn(h, v); - | ^~~~~~~~~~~ -dfdcom.c: In function 'dfd_setrule': -dfdcom.c:159:9: warning: implicit declaration of function 'dev_setposn' [-Wimplicit-function-declaration] - 159 | dev_setposn(h, v); /* lower left corner */ - | ^~~~~~~~~~~ +dvi2.c:166:5: warning: implicit declaration of function 'setcurdconv'; did you mean 'setcurfont'? [-Wimplicit-function-declaration] + 166 | setcurdconv(&dfd_dconv_templ); + | ^~~~~~~~~~~ + | setcurfont decompfont.c: At top level: decompfont.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] 156 | dcmpntt_setchar(c) @@ -1179,601 +1665,470 @@ decompfont.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] 200 | dcmpdcd_markchar(c) | ^~~~~~~~~~~~~~~~ -io.c: In function 'getbytes': -io.c:16:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 16 | (void)fread((char *)cp, 1, n, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -scanfont.c: In function 'scanfont': -compfont.c: In function 'comptype_access': -dfdcom.c:160:9: warning: implicit declaration of function 'dev_setrule'; did you mean 'dfd_setrule'? [-Wimplicit-function-declaration] - 160 | dev_setrule(a, b); - | ^~~~~~~~~~~ - | dfd_setrule -compfont.c:57:27: warning: implicit declaration of function 'getjsubfont'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] - 57 | subpre = (s = getjsubfont(fe->n+strlen(ffcmp->cmp_name), &se)) > 0; - | ^~~~~~~~~~~ - | getsubopt -scanfont.c:54:17: warning: implicit declaration of function 'dev_prebop' [-Wimplicit-function-declaration] - 54 | dev_prebop(count[0]); - | ^~~~~~~~~~ -io.c: In function 'getuint': -scanfont.c:73:47: warning: too many arguments for format [-Wformat-extra-args] - 73 | (void)fprintf(stderr, "eop}\n", count[0]); - | ^~~~~~~~ -io.c:40:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 40 | (void)fread((char *)s, 1, n, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -io.c: In function 'getint': -io.c:57:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 57 | (void)fread((char *)s, 1, n, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -run.c: In function 'init_settings': -run.c:49:21: warning: implicit declaration of function 'arg_define' [-Wimplicit-function-declaration] - 49 | arg_define(tcp); - | ^~~~~~~~~~ +virfont.c: In function 'read_vf_dviinfo': +virfont.c:110:5: warning: implicit declaration of function 'read_vf_di'; did you mean 'read_vf_dviinfo'? [-Wimplicit-function-declaration] + 110 | read_vf_di(fe, CODE_NORMAL); + | ^~~~~~~~~~ + | read_vf_dviinfo +pswl.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] + 20 | dev_wl_begfontdict(fe) + | ^~~~~~~~~~~~~~~~~~ decompfont.c: In function 'dcmpdcd_markchar': decompfont.c:206:5: warning: implicit declaration of function 'jis_to_dcode' [-Wimplicit-function-declaration] 206 | jis_to_dcode(ku(c), ten(c), &f, &cc); | ^~~~~~~~~~~~ -compfont.c:59:27: warning: implicit declaration of function 'getdcode'; did you mean 'getcwd'? [-Wimplicit-function-declaration] - 59 | subpre = (s = getdcode(fe->n+strlen(ffcmp->cmp_name), &se)) > 0; - | ^~~~~~~~ - | getcwd decompfont.c: At top level: decompfont.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int] 237 | dcmpdcd_setchar(c) | ^~~~~~~~~~~~~~~ +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition decompfont.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] 249 | dcmpdcd_setstring(s, len) | ^~~~~~~~~~~~~~~~~ -vflfont.c: In function 'getvfcap': -vflfont.c:26:5: warning: implicit declaration of function 'getfield'; did you mean 'getgid'? [-Wimplicit-function-declaration] - 26 | getfield(field_file); +pswl.c: In function 'dev_wl_begfontdict': +virfont.c: In function 'read_vf_di': +virfont.c:190:33: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] + 190 | else if ((idx = jis_to_idx94(cc)) < 0) { + | ^~~~~~~~~~~~ +pswl.c:24:5: warning: implicit declaration of function 'get_jfm_psbiops' [-Wimplicit-function-declaration] + 24 | get_jfm_psbiops(fe, &po); + | ^~~~~~~~~~~~~~~ +pswl.c: In function 'dev_wl_initfontdict': +pswl.c:45:22: warning: implicit declaration of function 'htoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] + 45 | if (c == htoi(buffer+len-12, &be)) { + | ^~~~ + | atoi +pswl.c:55:21: warning: implicit declaration of function 'getpd'; did you mean 'getpid'? [-Wimplicit-function-declaration] + 55 | if (getpd(&pd)) { + | ^~~~~ + | getpid +virfont.c: In function 'vf_markchar': +virfont.c:270:5: warning: implicit declaration of function 'vf_mc' [-Wimplicit-function-declaration] + 270 | vf_mc(curfontent, &virfinfo(curfontent)->ch[c], c); + | ^~~~~ +virfont.c: At top level: +virfont.c:307:6: warning: conflicting types for 'vf_mc'; have 'void()' + 307 | void vf_mc(fe, ce, c) + | ^~~~~ +virfont.c:270:5: note: previous implicit declaration of 'vf_mc' with type 'void()' + 270 | vf_mc(curfontent, &virfinfo(curfontent)->ch[c], c); + | ^~~~~ +pswl.c:56:21: warning: implicit declaration of function 'wl_type1_prologue1' [-Wimplicit-function-declaration] + 56 | wl_type1_prologue1(pd.pd_font); + | ^~~~~~~~~~~~~~~~~~ +dvi2.c:184:5: warning: implicit declaration of function 'dev_initfont' [-Wimplicit-function-declaration] + 184 | dev_initfont(); + | ^~~~~~~~~~~~ +pswl.c:57:21: warning: implicit declaration of function 'cnum_type1_encoding' [-Wimplicit-function-declaration] + 57 | cnum_type1_encoding(nc >= NPACKPSCHARS ? NPACKPSCHARS : nc); + | ^~~~~~~~~~~~~~~~~~~ +virfont.c: In function 'vf_mc': +virfont.c:344:9: warning: implicit declaration of function 'setc_com' [-Wimplicit-function-declaration] + 344 | if (setc_com(cmd = *dvip, dvip, dvilen, ce)) { + | ^~~~~~~~ +pswl.c:58:21: warning: implicit declaration of function 'wl_type1_prologue2' [-Wimplicit-function-declaration] + 58 | wl_type1_prologue2(); + | ^~~~~~~~~~~~~~~~~~ +pswl.c:62:17: warning: implicit declaration of function 'wl_type1_char' [-Wimplicit-function-declaration] + 62 | wl_type1_char(ce->dev_char, charstr, len); + | ^~~~~~~~~~~~~ +pswl.c:64:21: warning: implicit declaration of function 'wl_endfontdict'; did you mean 'dev_wl_initfontdict'? [-Wimplicit-function-declaration] + 64 | wl_endfontdict(); + | ^~~~~~~~~~~~~~ + | dev_wl_initfontdict +pswl.c: At top level: +pswl.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] + 73 | dev_wl_endfontdict() + | ^~~~~~~~~~~~~~~~~~ +pswl.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] + 79 | wl_endfontdict() + | ^~~~~~~~~~~~~~ +virfont.c:383:5: warning: implicit declaration of function 'setcurdconv'; did you mean 'setcurfont'? [-Wimplicit-function-declaration] + 383 | setcurdconv(&vfd_dconv_templ); + | ^~~~~~~~~~~ + | setcurfont +pswl.c: In function 'wl_endfontdict': +pswl.c:83:5: warning: implicit declaration of function 'wl_type1_epilogue' [-Wimplicit-function-declaration] + 83 | wl_type1_epilogue(); + | ^~~~~~~~~~~~~~~~~ +pswl.c:86:5: warning: implicit declaration of function 'psfindfontop'; did you mean 'findfontop'? [-Wimplicit-function-declaration] + 86 | psfindfontop(psfname(pd.pd_font), &po); + | ^~~~~~~~~~~~ + | findfontop +pswl.c: In function 'dev_wl_initfe': +virfont.c:387:5: warning: implicit declaration of function 'scanfont'; did you mean 'scanf'? [-Wimplicit-function-declaration] + 387 | scanfont(TRUE, &(virfinfo(fe)->vf_fontidx)); | ^~~~~~~~ - | getgid -compfont.c:60:23: warning: implicit declaration of function 'numstr' [-Wimplicit-function-declaration] - 60 | if (subpre && numstr(se+1)) { - | ^~~~~~ -open.c: In function 'openfontfile': -open.c:56:20: warning: implicit declaration of function 'priority' [-Wimplicit-function-declaration] - 56 | prio = priority(least_used); - | ^~~~~~~~ -run.c:142:21: warning: implicit declaration of function 'dev_arg' [-Wimplicit-function-declaration] - 142 | dev_arg('o', argv[argind]); - | ^~~~~~~ -scanfont.c:144:28: warning: implicit declaration of function 'HasBeenRead' [-Wimplicit-function-declaration] - 144 | if (PreLoad || HasBeenRead(k, *hdfip)) - | ^~~~~~~~~~~ -compfont.c: At top level: -compfont.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] - 109 | cmpntt_markchar(c) - | ^~~~~~~~~~~~~~~ -open.c: At top level: -open.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] - 85 | priority(i) - | ^~~~~~~~ + | scanf +pswl.c:98:9: warning: implicit declaration of function 'bifpos_rel' [-Wimplicit-function-declaration] + 98 | if (bifpos_rel(jfmfinfo(fe)->jfm_bf)) { + | ^~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ -: note: this is the location of the previous definition -run.c:182:21: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] - 182 | usage(*tcp); - | ^~~~~ -kanji.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] - 49 | getjsubfont(n, subend) - | ^~~~~~~~~~~ -compfont.c: In function 'cmpntt_markchar': -kanji.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] - 65 | getdcode(n, subend) - | ^~~~~~~~ -compfont.c:115:5: warning: implicit declaration of function 'jsub_to_jis' [-Wimplicit-function-declaration] - 115 | jsub_to_jis(cmpfinfo(curfontent)->cmp_sub, c, &ku, &ten); - | ^~~~~~~~~~~ -compfont.c: At top level: -compfont.c:152:1: warning: return type defaults to 'int' [-Wimplicit-int] - 152 | cmpntt_setchar(c) - | ^~~~~~~~~~~~~~ -compfont.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] - 163 | cmpntt_setstring(s, len) - | ^~~~~~~~~~~~~~~~ -compfont.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] - 192 | cmpdcd_markchar(c) - | ^~~~~~~~~~~~~~~ -fontdesc.c: In function 'add_include': -kanji.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] - 202 | match_subf(sname, fname, ini, sb, se) +pswl.c: At top level: +pswl.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] + 107 | wl_setchar(c) | ^~~~~~~~~~ -fontdesc.c:721:5: warning: implicit declaration of function 'add_devfile' [-Wimplicit-function-declaration] - 721 | add_devfile(f, top, DF_ALWAYS, "includefile", &nextif); - | ^~~~~~~~~~~ -kanji.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] - 260 | jis_to_idx94(jis) - | ^~~~~~~~~~~~ -run.c:262:5: warning: implicit declaration of function 'default_def' [-Wimplicit-function-declaration] - 262 | default_def(); - | ^~~~~~~~~~~ -kanji.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int] - 276 | idx94_to_std(idx) +: note: this is the location of the previous definition +pswl.c: In function 'wl_setchar': +pswl.c:113:36: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] + 113 | ce = &(wlfinfo(curfontent)->ch[jis_to_idx94(c)]); + | ^~~~~~~~~~~~ +virfont.c: In function 'vf_setchar': +virfont.c:451:12: warning: implicit declaration of function 'vf_sc'; did you mean 'vf_mc'? [-Wimplicit-function-declaration] + 451 | return vf_sc(curfontent, &virfinfo(curfontent)->ch[c], c); + | ^~~~~ + | vf_mc +pswl.c:114:5: warning: implicit declaration of function 'begin_string' [-Wimplicit-function-declaration] + 114 | begin_string(); + | ^~~~~~~~~~~~ +pswl.c:115:5: warning: implicit declaration of function 'pschar'; did you mean 'putchar'? [-Wimplicit-function-declaration] + 115 | pschar(ce->dev_char); + | ^~~~~~ + | putchar +pswl.c: At top level: +pswl.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] + 121 | wl_setstring(s, len) | ^~~~~~~~~~~~ -kanji.c:282:1: warning: return type defaults to 'int' [-Wimplicit-int] - 282 | jsub_to_idx94(f, c) - | ^~~~~~~~~~~~~ -kanji.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] - 291 | idx94_to_sjis(idx) - | ^~~~~~~~~~~~~ -compfont.c: In function 'cmpdcd_markchar': -compfont.c:198:5: warning: implicit declaration of function 'code_to_jis' [-Wimplicit-function-declaration] - 198 | code_to_jis(cmpfinfo(curfontent)->cmp_sub, c, &ku, &ten); - | ^~~~~~~~~~~ -kanji.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] - 311 | jis_to_euc(jis) - | ^~~~~~~~~~ -kanji.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] - 317 | jis_to_sjis(jis) - | ^~~~~~~~~~~ -compfont.c: At top level: -compfont.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] - 229 | cmpdcd_setchar(c) +pswl.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] + 128 | wl_setchar_abs(c) | ^~~~~~~~~~~~~~ -fontdesc.c: In function 'getinclude': -compfont.c:240:1: warning: return type defaults to 'int' [-Wimplicit-int] - 240 | cmpdcd_setstring(s, len) +dvi2.c:185:5: warning: implicit declaration of function 'scanfont'; did you mean 'scanf'? [-Wimplicit-function-declaration] + 185 | scanfont(PreLoad, &hdfontidx); + | ^~~~~~~~ + | scanf +wlfont.c: In function 'read_wl_finfo': +wlfont.c:95:21: warning: implicit declaration of function 'read_null_fontinfo'; did you mean 'read_fontinfo'? [-Wimplicit-function-declaration] + 95 | read_null_fontinfo(fe); + | ^~~~~~~~~~~~~~~~~~ + | read_fontinfo +virfont.c: In function 'vf_sc': +pswl.c: In function 'wl_setchar_abs': +pswl.c:134:5: warning: implicit declaration of function 'dev_setposn_abs' [-Wimplicit-function-declaration] + 134 | dev_setposn_abs(ps_h, ps_v); + | ^~~~~~~~~~~~~~~ +pswl.c: At top level: +pswl.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] + 139 | wl_setstring_abs(s, len) | ^~~~~~~~~~~~~~~~ -fontdesc.c:812:5: warning: implicit declaration of function 'getdevfile' [-Wimplicit-function-declaration] - 812 | getdevfile(add_include); - | ^~~~~~~~~~ -run.c:296:17: warning: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration] - 296 | set_resolution(tcp); - | ^~~~~~~~~~~~~~ -run.c: In function 'usage': -fontdesc.c: In function 'getincludeif': -run.c:319:27: warning: too many arguments for format [-Wformat-extra-args] - 319 | (void)fprintf(stderr, "Usage: %s %s\n\t%s\n\t%s\n\t%s\n\t%s\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fontdesc.c:818:5: warning: implicit declaration of function 'getdevfileif' [-Wimplicit-function-declaration] - 818 | getdevfileif(add_includeif); - | ^~~~~~~~~~~~ -fontdesc.c: In function 'getdevfileif': -fontdesc.c:853:31: warning: implicit declaration of function 'dev_devfilekind' [-Wimplicit-function-declaration] - 853 | (*add)(field_file, FALSE, dev_devfilekind(field_kind)); - | ^~~~~~~~~~~~~~~ -util.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] - 13 | makeuint(s, n) /* return n byte quantity from string */ - | ^~~~~~~~ -util.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] - 27 | makeint(s, n) /* return n byte quantity from string */ - | ^~~~~~~ -util.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] - 51 | htoi(s, se) /* hex string to int */ - | ^~~~ -fontdesc.c: In function 'do_include': -fontdesc.c:858:5: warning: implicit declaration of function 'do_devfile'; did you mean 'add_devfile'? [-Wimplicit-function-declaration] - 858 | do_devfile(includefiles); - | ^~~~~~~~~~ - | add_devfile -util.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] - 70 | numstr(s) - | ^~~~~~ -util.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] - 95 | getstrtok(d, c, e) - | ^~~~~~~~~ -util.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] - 110 | skipstrblank(d, e) +pswl.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] + 149 | dev_jswl_begfontdict(fe) + | ^~~~~~~~~~~~~~~~~~~~ +virfont.c:504:5: warning: implicit declaration of function 'dviconv' [-Wimplicit-function-declaration] + 504 | dviconv(virfinfo(fe)->vf_fontidx); + | ^~~~~~~ +pswl.c: In function 'dev_jswl_begfontdict': +pswl.c:153:5: warning: implicit declaration of function 'get_jstfm_psbiops' [-Wimplicit-function-declaration] + 153 | get_jstfm_psbiops(fe, &po); + | ^~~~~~~~~~~~~~~~~ +pswl.c: At top level: +pswl.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] + 174 | jswl_setchar(c) | ^~~~~~~~~~~~ -util.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] - 128 | scale_exact(s, d) - | ^~~~~~~~~~~ -fontdesc.c: In function 'do_devfile': -fontdesc.c:870:41: warning: implicit declaration of function 'dev_devfileif'; did you mean 'getdevfileif'? [-Wimplicit-function-declaration] - 870 | if (df->df_kind == DF_ALWAYS || dev_devfileif(df->df_kind)) - | ^~~~~~~~~~~~~ - | getdevfileif -fontdesc.c: In function 'getreplfont': -fontdesc.c:989:30: warning: implicit declaration of function 'scale_exact' [-Wimplicit-function-declaration] - 989 | fr->fr_fix = scale_exact(fr->fr_fix, atoi(f+1)); - | ^~~~~~~~~~~ -fontdesc.c: In function 'replfont': -ps.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] - 68 | dev_arg(option, c) - | ^~~~~~~ -fontdesc.c:1043:13: warning: implicit declaration of function 'match_subf' [-Wimplicit-function-declaration] - 1043 | if (match_subf(fr->fr_replfont, n, FALSE, &sb, &se)) { - | ^~~~~~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -pswl.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] - 20 | dev_wl_begfontdict(fe) +virfont.c:512:5: warning: implicit declaration of function 'setdir'; did you mean 'setgid'? [-Wimplicit-function-declaration] + 512 | setdir(save_dir); + | ^~~~~~ + | setgid +wlfont.c:113:17: warning: implicit declaration of function 'idx94_to_std' [-Wimplicit-function-declaration] + 113 | c = idx94_to_std(kk); + | ^~~~~~~~~~~~ +pswl.c: In function 'jswl_setchar': +pswl.c:182:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] + 182 | pschar(jswlfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_char); + | ^~~~~~~~~~~~~ +pswl.c: At top level: +pswl.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] + 188 | jswl_setstring(s, len) + | ^~~~~~~~~~~~~~ +pswl.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] + 207 | jswl_setchar_abs(c) + | ^~~~~~~~~~~~~~~~ +pswl.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] + 218 | jswl_setstring_abs(s, len) + | ^~~~~~~~~~~~~~~~~~ +virfont.c: In function 'getvfdvi': +virfont.c:303:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 303 | (void)fread((char *)dvip, 1, dvilen, fntfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wlfont.c:115:49: warning: implicit declaration of function 'getctype' [-Wimplicit-function-declaration] + 115 | (wlfi->ch+kk)->tfmw = jfmfi->ch[getctype(c,jfmfi)].tfmw; + | ^~~~~~~~ +pswl.c: In function 'jswl_setstring_abs': +pswl.c:231:9: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] + 231 | end_string(); + | ^~~~~~~~~~ + | ps_string +pswl.c: At top level: +pswl.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] + 249 | wl_type1_prologue1(fid) + | ^~~~~~~~~~~~~~~~~~ +pswl.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] + 274 | wl_type1_prologue2() | ^~~~~~~~~~~~~~~~~~ -ps.c: In function 'dev_arg': -fontdesc.c:1044:13: warning: implicit declaration of function 'subst_subf' [-Wimplicit-function-declaration] - 1044 | subst_subf(rn, fr->fr_font, sb, se); - | ^~~~~~~~~~ -ps.c:74:14: warning: implicit declaration of function 'ChkOpt' [-Wimplicit-function-declaration] - 74 | if (!ChkOpt(c)) - | ^~~~~~ -ps.c: At top level: -ps.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] - 83 | ChkOpt(str) - | ^~~~~~ In file included from defs.h:2: gdefs.h:16:9: warning: 'POSIX' redefined 16 | #define POSIX | ^~~~~ : note: this is the location of the previous definition -psbi.c: In function 'getbuiltinfont': -psbi.c:147:5: warning: implicit declaration of function 'getfield'; did you mean 'getgid'? [-Wimplicit-function-declaration] - 147 | getfield(field_name); +pswl.c: In function 'wl_type1_prologue2': +pswl.c:285:5: warning: implicit declaration of function 'begin_eexec' [-Wimplicit-function-declaration] + 285 | begin_eexec(); + | ^~~~~~~~~~~ +open.c: In function 'openfontfile': +open.c:56:20: warning: implicit declaration of function 'priority' [-Wimplicit-function-declaration] + 56 | prio = priority(least_used); + | ^~~~~~~~ +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +open.c: At top level: +wlfont.c:116:13: warning: implicit declaration of function 'dev_wl_initfontdict' [-Wimplicit-function-declaration] + 116 | dev_wl_initfontdict(fe, wlfi, kk, c, nchars--, k1fp); + | ^~~~~~~~~~~~~~~~~~~ +dvi2.c:187:5: warning: implicit declaration of function 'dev_prologue' [-Wimplicit-function-declaration] + 187 | dev_prologue(); + | ^~~~~~~~~~~~ +pswl.c:286:5: warning: implicit declaration of function 'e_printf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] + 286 | e_printf("dup /Private 14 dict dup begin\n"); + | ^~~~~~~~ + | dprintf +pswl.c: At top level: +pswl.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] + 311 | wl_type1_char(c, cstr, len) + | ^~~~~~~~~~~~~ +pswl.c: In function 'wl_type1_char': +pswl.c:320:9: warning: implicit declaration of function 'e_putchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] + 320 | e_putchar((unsigned)*(cstr+i)); + | ^~~~~~~~~ + | putchar +pswl.c: At top level: +pswl.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] + 324 | wl_type1_epilogue() + | ^~~~~~~~~~~~~~~~~ +dvi2.c:188:5: warning: implicit declaration of function 'dev_setup'; did you mean 'add_setup'? [-Wimplicit-function-declaration] + 188 | dev_setup(); + | ^~~~~~~~~ + | add_setup +pswl.c: In function 'wl_type1_epilogue': +pswl.c:332:5: warning: implicit declaration of function 'end_eexec' [-Wimplicit-function-declaration] + 332 | end_eexec(); + | ^~~~~~~~~ +wlfont.c:121:5: warning: implicit declaration of function 'dev_wl_endfontdict' [-Wimplicit-function-declaration] + 121 | dev_wl_endfontdict(); + | ^~~~~~~~~~~~~~~~~~ +open.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] + 85 | priority(i) + | ^~~~~~~~ +: note: this is the location of the previous definition +In file included from defs.h:2, + from pstt2t1.c:33: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +psrast.c: In function 'getdictstat': +psrast.c:52:5: warning: implicit declaration of function 'getfield'; did you mean 'getgid'? [-Wimplicit-function-declaration] + 52 | getfield(field); | ^~~~~~~~ | getgid -ps.c:173:1: warning: return type defaults to 'int' [-Wimplicit-int] - 173 | dev_init() +dvi2.c:212:5: warning: implicit declaration of function 'dev_endsetup' [-Wimplicit-function-declaration] + 212 | dev_endsetup(); + | ^~~~~~~~~~~~ +psrast.c: At top level: +: note: this is the location of the previous definition +psrast.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] + 62 | dictform(name) | ^~~~~~~~ -pswl.c: In function 'dev_wl_begfontdict': -pswl.c:24:5: warning: implicit declaration of function 'get_jfm_psbiops' [-Wimplicit-function-declaration] - 24 | get_jfm_psbiops(fe, &po); - | ^~~~~~~~~~~~~~~ -psbi.c:149:5: warning: implicit declaration of function 'getqfield' [-Wimplicit-function-declaration] - 149 | getqfield(field_psfont); - | ^~~~~~~~~ -ps.c: In function 'dev_init': +wlfont.c: In function 'read_wl_fontinfo': +wlfont.c:140:5: warning: implicit declaration of function 'dev_wl_initfe' [-Wimplicit-function-declaration] + 140 | dev_wl_initfe(fe); + | ^~~~~~~~~~~~~ +psrast.c: In function 'getpdlist': +run.c: In function 'init_settings': +run.c:288:41: warning: '%s' directive writing up to 254 bytes into a region of size between 2 and 256 [-Wformat-overflow=] + 288 | sprintf(prfontdesc, "%s.%s", fontdescfile, tcp); + | ^~ +In file included from /usr/include/stdio.h:970, + from gdefs.h:5: +In function 'sprintf', + inlined from 'init_settings' at run.c:288:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 510 bytes into a destination of size 257 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +wlfont.c:141:5: warning: implicit declaration of function 'dev_wl_begfontdict' [-Wimplicit-function-declaration] + 141 | dev_wl_begfontdict(fe); + | ^~~~~~~~~~~~~~~~~~ +psrast.c:85:31: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] + 85 | pl->pl_font = dev_newdevfont(); + | ^~~~~~~~~~~~~~ +In file included from defs.h:2, + from pstt.c:8: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +wlfont.c: In function 'wl_fontdict': +wlfont.c:155:28: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] + 155 | return wlfinfo(fe)->ch[jis_to_idx94(c)].dev_font; + | ^~~~~~~~~~~~ +: note: this is the location of the previous definition pstfm.c: In function 'dev_tfm_initfontdict': -pswl.c: In function 'dev_wl_initfontdict': -ps.c:175:5: warning: implicit declaration of function 'initcolor' [-Wimplicit-function-declaration] - 175 | initcolor(); - | ^~~~~~~~~ -pswl.c:45:22: warning: implicit declaration of function 'htoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] - 45 | if (c == htoi(buffer+len-12, &be)) { - | ^~~~ - | atoi pstfm.c:21:13: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] 21 | fe->k = dev_newdevfont(); | ^~~~~~~~~~~~~~ -ps.c: At top level: -ps.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] - 178 | dev_prologue() - | ^~~~~~~~~~~~ -psbi.c:150:5: warning: implicit declaration of function 'getoqfield' [-Wimplicit-function-declaration] - 150 | getoqfield(field_psopt1); +psrast.c: In function 'dev_rast_initfontdict': +kpse.c: In function 'kpsearch_glyph': +kpse.c:24:5: warning: implicit declaration of function 'pavek' [-Wimplicit-function-declaration] + 24 | pavek(name, &path, &base, proto, acca); + | ^~~~~ +psrast.c:117:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] + 117 | end_string(); | ^~~~~~~~~~ -pswl.c:55:21: warning: implicit declaration of function 'getpd'; did you mean 'getpid'? [-Wimplicit-function-declaration] - 55 | if (getpd(&pd)) { - | ^~~~~ - | getpid + | ps_string +kpse.c:44:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 44 | spec->path = save_path; + | ^ pstfm.c:22:5: warning: implicit declaration of function 'get_tfm_psbiops' [-Wimplicit-function-declaration] 22 | get_tfm_psbiops(fe, &po); | ^~~~~~~~~~~~~~~ -ps.c: In function 'dev_prologue': -ps.c:200:5: warning: implicit declaration of function 'do_include'; did you mean 'add_include'? [-Wimplicit-function-declaration] - 200 | do_include(); - | ^~~~~~~~~~ - | add_include -psbi.c:215:28: warning: implicit declaration of function 'htoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] - 215 | bf->bf_stand = htoi(++mode, &he); - | ^~~~ - | atoi +kpse.c: In function 'kpsearch_make': +kpse.c:96:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 96 | spec->path = save_path; + | ^ +kpse.c: In function 'kpsearch_file': +kpse.c:133:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 133 | spec->path = save_path; + | ^ +psrast.c:144:5: warning: implicit declaration of function 'dev_setfont' [-Wimplicit-function-declaration] + 144 | dev_setfont(ce->dev_font); /* because this isn't done on pass 0 */ + | ^~~~~~~~~~~ pstfm.c:23:5: warning: implicit declaration of function 'psfindfontop'; did you mean 'findfontop'? [-Wimplicit-function-declaration] 23 | psfindfontop(psfname(fe->k), &po); | ^~~~~~~~~~~~ | findfontop -pswl.c:56:21: warning: implicit declaration of function 'wl_type1_prologue1' [-Wimplicit-function-declaration] - 56 | wl_type1_prologue1(pd.pd_font); - | ^~~~~~~~~~~~~~~~~~ -ps.c:201:5: warning: implicit declaration of function 'dev_outbangspecials' [-Wimplicit-function-declaration] - 201 | dev_outbangspecials(); - | ^~~~~~~~~~~~~~~~~~~ -psbi.c: At top level: -psbi.c:341:1: warning: return type defaults to 'int' [-Wimplicit-int] - 341 | comp_bfname(fname, bf) - | ^~~~~~~~~~~ -ps.c: At top level: -ps.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] - 205 | dev_setup() - | ^~~~~~~~~ +dvi2.c:230:5: warning: implicit declaration of function 'dev_initpage' [-Wimplicit-function-declaration] + 230 | dev_initpage(); + | ^~~~~~~~~~~~ +psrast.c:152:10: warning: implicit declaration of function 'pscharbitmap' [-Wimplicit-function-declaration] + 152 | if (!pscharbitmap(bytewidth, ce->nbpl, ce->height, ce->where.pixptr)) { + | ^~~~~~~~~~~~ +wlfont.c: In function 'read_jswl_fontinfo': +wlfont.c:189:5: warning: implicit declaration of function 'dev_jswl_initfe' [-Wimplicit-function-declaration] + 189 | dev_jswl_initfe(fe); + | ^~~~~~~~~~~~~~~ +psrast.c: At top level: +psrast.c:173:1: warning: return type defaults to 'int' [-Wimplicit-int] + 173 | pscharbitmap(bytewidth, nbpl, height, pixel) + | ^~~~~~~~~~~~ pstfm.c: In function 'dev_tfm_initfe': pstfm.c:36:9: warning: implicit declaration of function 'bifpos_relun' [-Wimplicit-function-declaration] 36 | if (bifpos_relun(tfmfinfo(fe)->tfm_bf)) { | ^~~~~~~~~~~~ pstfm.c: At top level: -pswl.c:57:21: warning: implicit declaration of function 'cnum_type1_encoding' [-Wimplicit-function-declaration] - 57 | cnum_type1_encoding(nc >= NPACKPSCHARS ? NPACKPSCHARS : nc); - | ^~~~~~~~~~~~~~~~~~~ pstfm.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] 45 | tfm_setchar(c) | ^~~~~~~~~~~ -ps.c: In function 'dev_setup': -ps.c:209:13: warning: implicit declaration of function 'DoConv' [-Wimplicit-function-declaration] - 209 | hconv = DoConv(num, den, mag, hconvresolution); - | ^~~~~~ -psbi.c: In function 'findbksub': -ps.c: At top level: -ps.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] - 239 | dev_endsetup() - | ^~~~~~~~~~~~ -psbi.c:390:17: warning: implicit declaration of function 'match_subf' [-Wimplicit-function-declaration] - 390 | if (match_subf(bf->bf_name, name, - | ^~~~~~~~~~ -psrast.c: In function 'getdictstat': pstfm.c: In function 'tfm_setchar': pstfm.c:51:5: warning: implicit declaration of function 'begin_string' [-Wimplicit-function-declaration] 51 | begin_string(); | ^~~~~~~~~~~~ -psrast.c:52:5: warning: implicit declaration of function 'getfield'; did you mean 'getgid'? [-Wimplicit-function-declaration] - 52 | getfield(field); - | ^~~~~~~~ - | getgid -pswl.c:58:21: warning: implicit declaration of function 'wl_type1_prologue2' [-Wimplicit-function-declaration] - 58 | wl_type1_prologue2(); - | ^~~~~~~~~~~~~~~~~~ -psrast.c: At top level: -psrast.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] - 62 | dictform(name) - | ^~~~~~~~ -ps.c: In function 'dev_endsetup': -ps.c:241:9: warning: implicit declaration of function 'useifont' [-Wimplicit-function-declaration] - 241 | if (useifont()) - | ^~~~~~~~ +dvi2.c:231:5: warning: implicit declaration of function 'initdir' [-Wimplicit-function-declaration] + 231 | initdir(); + | ^~~~~~~ pstfm.c:52:5: warning: implicit declaration of function 'pschar'; did you mean 'putchar'? [-Wimplicit-function-declaration] 52 | pschar(ce->dev_char); | ^~~~~~ | putchar -psbi.c:396:30: warning: implicit declaration of function 'getjsubfont'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] - 396 | foundjsubf = getjsubfont(name+bf->bf_len, &subend); - | ^~~~~~~~~~~ - | getsubopt pstfm.c: At top level: pstfm.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 57 | tfm_setstring(s, len) | ^~~~~~~~~~~~~ -psbi.c: At top level: -psbi.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] - 418 | dev_set_repfe(bi, fe) - | ^~~~~~~~~~~~~ -psbi.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] - 439 | dev_bold(bi) - | ^~~~~~~~ pstfm.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] 74 | tfm_setchar_abs(c) | ^~~~~~~~~~~~~~~ -psbi.c:459:1: warning: return type defaults to 'int' [-Wimplicit-int] - 459 | dev_mf_kind(bf) - | ^~~~~~~~~~~ -pswl.c:62:17: warning: implicit declaration of function 'wl_type1_char' [-Wimplicit-function-declaration] - 62 | wl_type1_char(ce->dev_char, charstr, len); - | ^~~~~~~~~~~~~ -psbi.c:465:1: warning: return type defaults to 'int' [-Wimplicit-int] - 465 | dev_is_tfm(fe, tfmmode) - | ^~~~~~~~~~ -psrast.c: In function 'getpdlist': -psbi.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] - 483 | dev_tfm_kind(fe) - | ^~~~~~~~~~~~ -ps.c:242:9: warning: implicit declaration of function 'ifont_setup' [-Wimplicit-function-declaration] - 242 | ifont_setup(); - | ^~~~~~~~~~~ -psrast.c:85:31: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] - 85 | pl->pl_font = dev_newdevfont(); - | ^~~~~~~~~~~~~~ -psbi.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] - 520 | t1tobi(bi, t1fname) - | ^~~~~~ -ps.c:244:5: warning: implicit declaration of function 'do_setup'; did you mean 'dev_setup'? [-Wimplicit-function-declaration] - 244 | do_setup(); - | ^~~~~~~~ - | dev_setup pstfm.c: In function 'tfm_setchar_abs': +wlfont.c:193:9: warning: implicit declaration of function 'dev_jswl_begfontdict' [-Wimplicit-function-declaration] + 193 | dev_jswl_begfontdict(fe); + | ^~~~~~~~~~~~~~~~~~~~ pstfm.c:80:5: warning: implicit declaration of function 'dev_setposn_abs' [-Wimplicit-function-declaration] 80 | dev_setposn_abs(ps_h, ps_v); | ^~~~~~~~~~~~~~~ pstfm.c: At top level: -psbi.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] - 538 | fttobi(bi, ftfname) - | ^~~~~~ pstfm.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] 84 | tfm_setstring_abs(s, len) | ^~~~~~~~~~~~~~~~~ -ps.c: At top level: -psbi.c:556:1: warning: return type defaults to 'int' [-Wimplicit-int] - 556 | dev_is_jstfm(fe, tfmmode) - | ^~~~~~~~~~~~ -pswl.c:64:21: warning: implicit declaration of function 'wl_endfontdict'; did you mean 'dev_wl_initfontdict'? [-Wimplicit-function-declaration] - 64 | wl_endfontdict(); - | ^~~~~~~~~~~~~~ - | dev_wl_initfontdict -ps.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] - 249 | dev_finish() - | ^~~~~~~~~~ -pswl.c: At top level: -pswl.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] - 73 | dev_wl_endfontdict() - | ^~~~~~~~~~~~~~~~~~ -psrast.c: In function 'dev_rast_initfontdict': -psrast.c:117:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] - 117 | end_string(); - | ^~~~~~~~~~ - | ps_string -pswl.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] - 79 | wl_endfontdict() - | ^~~~~~~~~~~~~~ -psbi.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] - 602 | dev_jstfm_kind(fe) - | ^~~~~~~~~~~~~~ -psbi.c:608:1: warning: return type defaults to 'int' [-Wimplicit-int] - 608 | dev_is_jfm(fe, tfmmode) - | ^~~~~~~~~~ -psbi.c:626:1: warning: return type defaults to 'int' [-Wimplicit-int] - 626 | dev_jfm_kind(fe) +psrast.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] + 211 | rast_setchar(c) | ^~~~~~~~~~~~ pstfm.c: In function 'tfm_setstring_abs': -ps.c: In function 'dev_finish': -psbi.c:633:1: warning: return type defaults to 'int' [-Wimplicit-int] - 633 | bifpos_relun(bf) - | ^~~~~~~~~~~~ -ps.c:251:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] - 251 | end_string(); - | ^~~~~~~~~~ - | ps_string pstfm.c:95:9: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] 95 | end_string(); | ^~~~~~~~~~ | ps_string -psbi.c:640:1: warning: return type defaults to 'int' [-Wimplicit-int] - 640 | bifpos_rel(bf) - | ^~~~~~~~~~ -psbi.c:646:1: warning: return type defaults to 'int' [-Wimplicit-int] - 646 | bif_coding(bf) - | ^~~~~~~~~~ -ps.c: At top level: -ps.c:264:1: warning: return type defaults to 'int' [-Wimplicit-int] - 264 | dev_devfilekind(kind) - | ^~~~~~~~~~~~~~~ -psrast.c:144:5: warning: implicit declaration of function 'dev_setfont' [-Wimplicit-function-declaration] - 144 | dev_setfont(ce->dev_font); /* because this isn't done on pass 0 */ - | ^~~~~~~~~~~ -psbi.c:689:1: warning: return type defaults to 'int' [-Wimplicit-int] - 689 | get_tfm_psbiops(fe, po) - | ^~~~~~~~~~~~~~~ -pswl.c: In function 'wl_endfontdict': -ps.c:279:1: warning: return type defaults to 'int' [-Wimplicit-int] - 279 | dev_devfileif(kind) - | ^~~~~~~~~~~~~ -pswl.c:83:5: warning: implicit declaration of function 'wl_type1_epilogue' [-Wimplicit-function-declaration] - 83 | wl_type1_epilogue(); - | ^~~~~~~~~~~~~~~~~ -ps.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] - 312 | dev_newdevfont() - | ^~~~~~~~~~~~~~ -psbi.c:734:1: warning: return type defaults to 'int' [-Wimplicit-int] - 734 | get_jstfm_psbiops(fe, po) - | ^~~~~~~~~~~~~~~~~ -ps.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] - 317 | dev_initpage() - | ^~~~~~~~~~~~ -psbi.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] - 784 | get_jfm_psbiops(fe, po) - | ^~~~~~~~~~~~~~~ +psrast.c: In function 'rast_setchar': +psrast.c:217:5: warning: implicit declaration of function 'begin_string' [-Wimplicit-function-declaration] + 217 | begin_string(); + | ^~~~~~~~~~~~ pstfm.c: In function 'dev_jstfm_initfontdict': pstfm.c:115:5: warning: implicit declaration of function 'get_jstfm_psbiops' [-Wimplicit-function-declaration] 115 | get_jstfm_psbiops(fe, &po); | ^~~~~~~~~~~~~~~~~ -pswl.c:86:5: warning: implicit declaration of function 'psfindfontop'; did you mean 'findfontop'? [-Wimplicit-function-declaration] - 86 | psfindfontop(psfname(pd.pd_font), &po); - | ^~~~~~~~~~~~ - | findfontop -psrast.c:152:10: warning: implicit declaration of function 'pscharbitmap' [-Wimplicit-function-declaration] - 152 | if (!pscharbitmap(bytewidth, ce->nbpl, ce->height, ce->where.pixptr)) { - | ^~~~~~~~~~~~ +psrast.c:218:5: warning: implicit declaration of function 'pschar'; did you mean 'putchar'? [-Wimplicit-function-declaration] + 218 | pschar(ce->dev_char); + | ^~~~~~ + | putchar psrast.c: At top level: -psrast.c:173:1: warning: return type defaults to 'int' [-Wimplicit-int] - 173 | pscharbitmap(bytewidth, nbpl, height, pixel) - | ^~~~~~~~~~~~ -ps.c: In function 'dev_initpage': -ps.c:320:5: warning: implicit declaration of function 'dev_initfont'; did you mean 'dev_initpage'? [-Wimplicit-function-declaration] - 320 | dev_initfont(); - | ^~~~~~~~~~~~ - | dev_initpage -ps.c: At top level: -ps.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] - 323 | dev_prebop(count) - | ^~~~~~~~~~ -psbi.c: In function 'get_jfm_psbiops': -psbi.c:801:33: warning: implicit declaration of function 'getctype' [-Wimplicit-function-declaration] - 801 | po->po_size = jfmfi->ch[getctype(bf->bf_stand,jfmfi)].tfmw; - | ^~~~~~~~ -psrast.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] - 211 | rast_setchar(c) - | ^~~~~~~~~~~~ -pswl.c: In function 'dev_wl_initfe': +psrast.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] + 223 | rast_setstring(s, len) + | ^~~~~~~~~~~~~~ +wlfont.c: In function 'jswl_fontdict': +wlfont.c:209:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] + 209 | return jswlfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_font; + | ^~~~~~~~~~~~~ pstfm.c: In function 'dev_jstfm_initfe': pstfm.c:135:17: warning: implicit declaration of function 'bif_coding' [-Wimplicit-function-declaration] 135 | switch (bif_coding(bf)) { | ^~~~~~~~~~ -pswl.c:98:9: warning: implicit declaration of function 'bifpos_rel' [-Wimplicit-function-declaration] - 98 | if (bifpos_rel(jfmfinfo(fe)->jfm_bf)) { - | ^~~~~~~~~~ -psbi.c: At top level: -psbi.c:829:1: warning: return type defaults to 'int' [-Wimplicit-int] - 829 | psgetfontsize(po) - | ^~~~~~~~~~~~~ pstfm.c: At top level: pstfm.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] 167 | pschar_jis(c1, c2) | ^~~~~~~~~~ -pswl.c: At top level: -pswl.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] - 107 | wl_setchar(c) - | ^~~~~~~~~~ pstfm.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] 174 | pschar_euc(c1, c2) | ^~~~~~~~~~ -psbi.c:835:1: warning: return type defaults to 'int' [-Wimplicit-int] - 835 | psfindfontop(psfn, po) - | ^~~~~~~~~~~~ pstfm.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] 181 | pschar_sjis(c1, c2) | ^~~~~~~~~~~ -ps.c: In function 'dev_prebop': -ps.c:330:5: warning: implicit declaration of function 'bopcolor' [-Wimplicit-function-declaration] - 330 | bopcolor(FALSE); - | ^~~~~~~~ -ps.c: At top level: -ps.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] - 333 | dev_bop(count) - | ^~~~~~~ -psrast.c: In function 'rast_setchar': -psrast.c:217:5: warning: implicit declaration of function 'begin_string' [-Wimplicit-function-declaration] - 217 | begin_string(); - | ^~~~~~~~~~~~ -ps.c:344:1: warning: return type defaults to 'int' [-Wimplicit-int] - 344 | dev_eop() - | ^~~~~~~ -psbi.c: In function 'psfindfontop': -pswl.c: In function 'wl_setchar': -pswl.c:113:36: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] - 113 | ce = &(wlfinfo(curfontent)->ch[jis_to_idx94(c)]); - | ^~~~~~~~~~~~ -ps.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] - 361 | dev_initfont() - | ^~~~~~~~~~~~ -psbi.c:841:5: warning: implicit declaration of function 'psfindfop'; did you mean 'psfindfontop'? [-Wimplicit-function-declaration] - 841 | psfindfop(psfn, po); - | ^~~~~~~~~ - | psfindfontop pstfm.c: In function 'pschar_sjis': pstfm.c:184:13: warning: implicit declaration of function 'jis_to_sjis' [-Wimplicit-function-declaration] 184 | int c = jis_to_sjis((c1<<8)+c2); | ^~~~~~~~~~~ -psbi.c: At top level: -psbi.c:844:1: warning: return type defaults to 'int' [-Wimplicit-int] - 844 | psfindsubfop(psfn, po) - | ^~~~~~~~~~~~ -ps.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] - 366 | dev_setfont(psf) - | ^~~~~~~~~~~ -psrast.c:218:5: warning: implicit declaration of function 'pschar'; did you mean 'putchar'? [-Wimplicit-function-declaration] - 218 | pschar(ce->dev_char); - | ^~~~~~ - | putchar pstfm.c: At top level: pstfm.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] 190 | jstfm_setchar_gen(c, psch) | ^~~~~~~~~~~~~~~~~ -psbi.c:859:1: warning: return type defaults to 'int' [-Wimplicit-int] - 859 | psfindfop(psfn, po) - | ^~~~~~~~~ -ps.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] - 376 | dev_setposn(x, y) /* output a positioning command */ - | ^~~~~~~~~~~ -psrast.c: At top level: pstfm.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] 203 | jstfm_setchar(c) | ^~~~~~~~~~~~~ -psrast.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] - 223 | rast_setstring(s, len) - | ^~~~~~~~~~~~~~ pstfm.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] 209 | jstfm_setchar_euc(c) | ^~~~~~~~~~~~~~~~~ @@ -1786,121 +2141,58 @@ pstfm.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] 239 | jstfm_setstring(s, len) | ^~~~~~~~~~~~~~~ -pswl.c:114:5: warning: implicit declaration of function 'begin_string' [-Wimplicit-function-declaration] - 114 | begin_string(); - | ^~~~~~~~~~~~ pstfm.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] 246 | jstfm_setstring_euc(s, len) | ^~~~~~~~~~~~~~~~~~~ +dvi2.c:232:5: warning: implicit declaration of function 'dviconv' [-Wimplicit-function-declaration] + 232 | dviconv(hdfontidx); + | ^~~~~~~ pstfm.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] 253 | jstfm_setstring_sjis(s, len) | ^~~~~~~~~~~~~~~~~~~~ -ps.c: In function 'dev_setposn': -ps.c:383:21: warning: implicit declaration of function 'pixround' [-Wimplicit-function-declaration] - 383 | if ((rx=pixround(x-ps_h,hconv)) != 0) { - | ^~~~~~~~ pstfm.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] 260 | setchar_abs_gen(c, setch) | ^~~~~~~~~~~~~~~ -psbi.c: In function 'psfindfop': pstfm.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] 271 | jstfm_setchar_abs(c) | ^~~~~~~~~~~~~~~~~ -ps.c: At top level: pstfm.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] 277 | jstfm_setchar_abs_euc(c) | ^~~~~~~~~~~~~~~~~~~~~ -psbi.c:864:9: warning: implicit declaration of function 'codetopsstr' [-Wimplicit-function-declaration] - 864 | codetopsstr(po->po_stand, po->po_stlen); - | ^~~~~~~~~~~ pstfm.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] 283 | jstfm_setchar_abs_sjis(c) | ^~~~~~~~~~~~~~~~~~~~~~ -ps.c:403:1: warning: return type defaults to 'int' [-Wimplicit-int] - 403 | dev_setposn_abs(x, y) /* output a positioning command */ - | ^~~~~~~~~~~~~~~ pstfm.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] 289 | jstfm_setstring_abs_gen(s, len, psch) | ^~~~~~~~~~~~~~~~~~~~~~~ -psbi.c: At top level: -psbi.c:870:1: warning: return type defaults to 'int' [-Wimplicit-int] - 870 | getpd(pd) - | ^~~~~ -ps.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int] - 416 | dev_setrule(a, b) - | ^~~~~~~~~~~ -pswl.c:115:5: warning: implicit declaration of function 'pschar'; did you mean 'putchar'? [-Wimplicit-function-declaration] - 115 | pschar(ce->dev_char); - | ^~~~~~ - | putchar -pswl.c: At top level: pstfm.c:309:1: warning: return type defaults to 'int' [-Wimplicit-int] 309 | jstfm_setstring_abs(s, len) | ^~~~~~~~~~~~~~~~~~~ -pswl.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] - 121 | wl_setstring(s, len) - | ^~~~~~~~~~~~ -ps.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] - 429 | dev_dir(d) - | ^~~~~~~ -pswl.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] - 128 | wl_setchar_abs(c) - | ^~~~~~~~~~~~~~ pstfm.c:316:1: warning: return type defaults to 'int' [-Wimplicit-int] 316 | jstfm_setstring_abs_euc(s, len) | ^~~~~~~~~~~~~~~~~~~~~~~ pstfm.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] 323 | jstfm_setstring_abs_sjis(s, len) | ^~~~~~~~~~~~~~~~~~~~~~~~ -ps.c:446:1: warning: return type defaults to 'int' [-Wimplicit-int] - 446 | begin_string() - | ^~~~~~~~~~~~ -ps.c:454:1: warning: return type defaults to 'int' [-Wimplicit-int] - 454 | begin_string_v() - | ^~~~~~~~~~~~~~ -ps.c:463:1: warning: return type defaults to 'int' [-Wimplicit-int] - 463 | end_string() - | ^~~~~~~~~~ -psbi.c: In function 'getpd': -psbi.c:874:23: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] - 874 | pd->pd_font = dev_newdevfont(); - | ^~~~~~~~~~~~~~ -pswl.c: In function 'wl_setchar_abs': -pswl.c:134:5: warning: implicit declaration of function 'dev_setposn_abs' [-Wimplicit-function-declaration] - 134 | dev_setposn_abs(ps_h, ps_v); - | ^~~~~~~~~~~~~~~ -pswl.c: At top level: pstfm.c: In function 'dev_jfm_initfontdict': -pswl.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] - 139 | wl_setstring_abs(s, len) - | ^~~~~~~~~~~~~~~~ pstfm.c:340:5: warning: implicit declaration of function 'get_jfm_psbiops' [-Wimplicit-function-declaration] 340 | get_jfm_psbiops(fe, &po); | ^~~~~~~~~~~~~~~ -pswl.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] - 149 | dev_jswl_begfontdict(fe) - | ^~~~~~~~~~~~~~~~~~~~ -pswl.c: In function 'dev_jswl_begfontdict': +dvi2.c:233:5: warning: implicit declaration of function 'dev_finish' [-Wimplicit-function-declaration] + 233 | dev_finish(); + | ^~~~~~~~~~ pstfm.c: In function 'dev_jfm_initfe': pstfm.c:364:13: warning: implicit declaration of function 'bifpos_rel' [-Wimplicit-function-declaration] 364 | if (bifpos_rel(bf)) { | ^~~~~~~~~~ -pswl.c:153:5: warning: implicit declaration of function 'get_jstfm_psbiops' [-Wimplicit-function-declaration] - 153 | get_jstfm_psbiops(fe, &po); - | ^~~~~~~~~~~~~~~~~ pstfm.c: At top level: pstfm.c:402:1: warning: return type defaults to 'int' [-Wimplicit-int] 402 | jfm_setchar_gen(c, bstr, psch) | ^~~~~~~~~~~~~~~ -pswl.c: At top level: -pswl.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] - 174 | jswl_setchar(c) - | ^~~~~~~~~~~~ pstfm.c: In function 'jfm_setchar_gen': pstfm.c:411:33: warning: implicit declaration of function 'getctype' [-Wimplicit-function-declaration] 411 | *ps_move += (cw = jfmfi->ch[getctype(c,jfmfi)].tfmw); | ^~~~~~~~ -pswl.c: In function 'jswl_setchar': pstfm.c: At top level: pstfm.c:417:1: warning: return type defaults to 'int' [-Wimplicit-int] 417 | jfm_setchar(c) @@ -1908,19 +2200,13 @@ pstfm.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] 423 | jfm_setchar_euc(c) | ^~~~~~~~~~~~~~~ -pswl.c:182:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] - 182 | pschar(jswlfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_char); - | ^~~~~~~~~~~~~ pstfm.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] 429 | jfm_setchar_sjis(c) | ^~~~~~~~~~~~~~~~ -pswl.c: At top level: -pswl.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] - 188 | jswl_setstring(s, len) - | ^~~~~~~~~~~~~~ pstfm.c:436:1: warning: return type defaults to 'int' [-Wimplicit-int] 436 | jfm_setstring(s, len) | ^~~~~~~~~~~~~ +bifont.c: In function 'init_tfm_fontinfo': pstfm.c:443:1: warning: return type defaults to 'int' [-Wimplicit-int] 443 | jfm_setchar_abs(c) | ^~~~~~~~~~~~~~~ @@ -1930,408 +2216,513 @@ pstfm.c:455:1: warning: return type defaults to 'int' [-Wimplicit-int] 455 | jfm_setchar_abs_sjis(c) | ^~~~~~~~~~~~~~~~~~~~ -pswl.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] - 207 | jswl_setchar_abs(c) - | ^~~~~~~~~~~~~~~~ pstfm.c:462:1: warning: return type defaults to 'int' [-Wimplicit-int] 462 | jfm_setstring_abs(s, len) | ^~~~~~~~~~~~~~~~~ -ttfont.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] - 33 | ft_initialize() - | ^~~~~~~~~~~~~ pstfm.c:469:1: warning: return type defaults to 'int' [-Wimplicit-int] 469 | jfm_setchar_v(c) | ^~~~~~~~~~~~~ -ttfont.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] - 46 | ft_glyph(filename) - | ^~~~~~~~ -pswl.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] - 218 | jswl_setstring_abs(s, len) - | ^~~~~~~~~~~~~~~~~~ pstfm.c:475:1: warning: return type defaults to 'int' [-Wimplicit-int] 475 | jfm_setchar_v_euc(c) | ^~~~~~~~~~~~~~~~~ pstfm.c:481:1: warning: return type defaults to 'int' [-Wimplicit-int] 481 | jfm_setchar_v_sjis(c) | ^~~~~~~~~~~~~~~~~~ -ttfont.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] - 56 | ft_size(filename, fsize) - | ^~~~~~~ pstfm.c:488:1: warning: return type defaults to 'int' [-Wimplicit-int] 488 | jfm_setstring_v(s, len) | ^~~~~~~~~~~~~~~ pstfm.c:498:1: warning: return type defaults to 'int' [-Wimplicit-int] 498 | setchar_vabs_gen(c, setch) | ^~~~~~~~~~~~~~~~ -ttfont.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] - 68 | ft_char(i, c) - | ^~~~~~~ pstfm.c:510:1: warning: return type defaults to 'int' [-Wimplicit-int] 510 | jfm_setchar_vabs(c) | ^~~~~~~~~~~~~~~~ -ttfont.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] - 81 | fto_size1000(filename) - | ^~~~~~~~~~~~ pstfm.c:516:1: warning: return type defaults to 'int' [-Wimplicit-int] 516 | jfm_setchar_vabs_euc(c) | ^~~~~~~~~~~~~~~~~~~~ -ttfont.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] - 95 | fto_char(c, i) - | ^~~~~~~~ pstfm.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] 522 | jfm_setchar_vabs_sjis(c) | ^~~~~~~~~~~~~~~~~~~~~ pstfm.c:529:1: warning: return type defaults to 'int' [-Wimplicit-int] 529 | jfm_setstring_vabs(s, len) | ^~~~~~~~~~~~~~~~~~ -pstype1.c: In function 'dev_t1_initfontdict': -pstype1.c:20:13: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] - 20 | fe->k = dev_newdevfont(); - | ^~~~~~~~~~~~~~ -pswl.c: In function 'jswl_setstring_abs': -pswl.c:231:9: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] - 231 | end_string(); - | ^~~~~~~~~~ - | ps_string -pswl.c: At top level: -pswl.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] - 249 | wl_type1_prologue1(fid) +ttfont.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] + 33 | ft_initialize() + | ^~~~~~~~~~~~~ +pstt2t1.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] + 45 | tt_type1_prologue1(fontname, fontfam) | ^~~~~~~~~~~~~~~~~~ -pswl.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] - 274 | wl_type1_prologue2() +pst1form.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] + 96 | stdex_type1_reencoding(mark, maxc, remap) + | ^~~~~~~~~~~~~~~~~~~~~~ +bifont.c:123:13: warning: implicit declaration of function 'dev_tfm_kind'; did you mean 'dev_jfm_kind'? [-Wimplicit-function-declaration] + 123 | switch (dev_tfm_kind(fe)) { + | ^~~~~~~~~~~~ + | dev_jfm_kind +pstt2t1.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] + 71 | tt_type1_prologue2() | ^~~~~~~~~~~~~~~~~~ -pstype1.c:22:9: warning: implicit declaration of function 'read_type1_file' [-Wimplicit-function-declaration] - 22 | read_type1_file(fe, bii, t1path, t1font, encpath); - | ^~~~~~~~~~~~~~~ -pswl.c: In function 'wl_type1_prologue2': -pswl.c:285:5: warning: implicit declaration of function 'begin_eexec' [-Wimplicit-function-declaration] - 285 | begin_eexec(); +bifont.c:134:9: warning: implicit declaration of function 'init_ft_fontinfo'; did you mean 'init_t1_fontinfo'? [-Wimplicit-function-declaration] + 134 | init_ft_fontinfo(fe); + | ^~~~~~~~~~~~~~~~ + | init_t1_fontinfo +pstt2t1.c: In function 'tt_type1_prologue2': +pstt2t1.c:83:5: warning: implicit declaration of function 'begin_eexec' [-Wimplicit-function-declaration] + 83 | begin_eexec(); | ^~~~~~~~~~~ -pstype1.c:23:9: warning: implicit declaration of function 't1tobi' [-Wimplicit-function-declaration] - 23 | t1tobi(tfmfinfo(fe)->tfm_bf, t1font); - | ^~~~~~ -pswl.c:286:5: warning: implicit declaration of function 'e_printf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] - 286 | e_printf("dup /Private 14 dict dup begin\n"); +dvi2.c: In function 'default_def': +dvi2.c:242:5: warning: implicit declaration of function 'add_def0' [-Wimplicit-function-declaration] + 242 | add_def0("TEXMF", kpse_var_value("TEXMF")); + | ^~~~~~~~ +pstt2t1.c:84:5: warning: implicit declaration of function 'e_printf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] + 84 | e_printf("dup /Private 9 dict dup begin\n"); | ^~~~~~~~ | dprintf -pswl.c: At top level: +ttfont.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] + 46 | ft_glyph(filename) + | ^~~~~~~~ +pstt2t1.c: At top level: +ttfont.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] + 56 | ft_size(filename, fsize) + | ^~~~~~~ +pstt2t1.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] + 97 | tt_type1_prologue3() + | ^~~~~~~~~~~~~~~~~~ +ttfont.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] + 68 | ft_char(i, c) + | ^~~~~~~ +ttfont.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] + 81 | fto_size1000(filename) + | ^~~~~~~~~~~~ +ttfont.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] + 95 | fto_char(c, i) + | ^~~~~~~~ +dvi2.c:244:5: warning: implicit declaration of function 'init_default' [-Wimplicit-function-declaration] + 244 | init_default(MFMODE, KPSENAME); + | ^~~~~~~~~~~~ +pstt2t1.c: In function 'tt_type1_prologue3': +pstt2t1.c:102:5: warning: implicit declaration of function 'charstring_start' [-Wimplicit-function-declaration] + 102 | charstring_start(); + | ^~~~~~~~~~~~~~~~ +pst1form.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] + 135 | cnum_type1_encoding(nc) + | ^~~~~~~~~~~~~~~~~~~ +pst1form.c:161:1: warning: return type defaults to 'int' [-Wimplicit-int] + 161 | reencode(glyphs, mark, maxc, remap) + | ^~~~~~~~ +psbi.c: In function 'getbuiltinfont': +psbi.c:147:5: warning: implicit declaration of function 'getfield'; did you mean 'getgid'? [-Wimplicit-function-declaration] + 147 | getfield(field_name); + | ^~~~~~~~ + | getgid +pst1form.c:184:1: warning: return type defaults to 'int' [-Wimplicit-int] + 184 | begin_eexec() + | ^~~~~~~~~~~ +pstt2t1.c:103:5: warning: implicit declaration of function 'charstring_int' [-Wimplicit-function-declaration] + 103 | charstring_int(3); charstring_int(0); + | ^~~~~~~~~~~~~~ +bifont.c: In function 'read_tfm_finfo': +bifont.c:151:5: warning: implicit declaration of function 'readtfm'; did you mean 'read'? [-Wimplicit-function-declaration] + 151 | readtfm(fntfp = fe->openfile); + | ^~~~~~~ + | read +pstt2t1.c:104:5: warning: implicit declaration of function 'charstring_com' [-Wimplicit-function-declaration] + 104 | charstring_com(callothersubr); + | ^~~~~~~~~~~~~~ +pstt2t1.c:109:5: warning: implicit declaration of function 'charstring_end' [-Wimplicit-function-declaration] + 109 | charstring_end(); + | ^~~~~~~~~~~~~~ +pstt2t1.c: At top level: +pstt2t1.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] + 138 | jtt_type1_prologue1(fontname, fontfam) + | ^~~~~~~~~~~~~~~~~~~ +pstt2t1.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] + 163 | jtt_type1_prologue2() + | ^~~~~~~~~~~~~~~~~~~ +pst1form.c: In function 'begin_eexec': +pst1form.c:186:5: warning: implicit declaration of function 'init_encrypt' [-Wimplicit-function-declaration] + 186 | init_encrypt(); + | ^~~~~~~~~~~~ +pstt2t1.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] + 194 | tt_type1_epilogue(a) + | ^~~~~~~~~~~~~~~~~ ttfont.c: In function 'fto_char': ttfont.c:101:5: warning: implicit declaration of function 'FT_Outline_Transform'; did you mean 'FT_Get_Transform'? [-Wimplicit-function-declaration] 101 | FT_Outline_Transform(&(face->glyph->outline), &oscale); | ^~~~~~~~~~~~~~~~~~~~ | FT_Get_Transform +pst1form.c:188:5: warning: implicit declaration of function 'e_putchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] + 188 | e_putchar(0); + | ^~~~~~~~~ + | putchar +pst1form.c: At top level: +pst1form.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] + 194 | end_eexec() + | ^~~~~~~~~ +pstt2t1.c: In function 'tt_type1_epilogue': +pstt2t1.c:207:5: warning: implicit declaration of function 'end_eexec' [-Wimplicit-function-declaration] + 207 | end_eexec(); + | ^~~~~~~~~ +pst1form.c: In function 'charstring_start': +bifont.c: In function 'read_tfm_fontinfo': +bifont.c:173:5: warning: implicit declaration of function 'dev_tfm_initfe' [-Wimplicit-function-declaration] + 173 | dev_tfm_initfe(fe); + | ^~~~~~~~~~~~~~ +pstt2t1.c: At top level: +psbi.c:149:5: warning: implicit declaration of function 'getqfield' [-Wimplicit-function-declaration] + 149 | getqfield(field_psfont); + | ^~~~~~~~~ +pstt2t1.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] + 281 | PS_CharString(outline, cn, a) + | ^~~~~~~~~~~~~ +type1font.c: In function 'init_t1_fontinfo': +type1font.c:23:9: warning: implicit declaration of function 'dev_set_repfe'; did you mean 'dev_get_repfe'? [-Wimplicit-function-declaration] + 23 | dev_set_repfe(biinifinfo(fe)->bf, fe); + | ^~~~~~~~~~~~~ + | dev_get_repfe +psbi.c:150:5: warning: implicit declaration of function 'getoqfield' [-Wimplicit-function-declaration] + 150 | getoqfield(field_psopt1); + | ^~~~~~~~~~ +pst1form.c:247:3: warning: implicit declaration of function 'init_cencrypt' [-Wimplicit-function-declaration] + 247 | init_cencrypt(); + | ^~~~~~~~~~~~~ ttfont.c: At top level: ttfont.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] 127 | set_unimap(enc) | ^~~~~~~~~~ -pstype1.c:25:5: warning: implicit declaration of function 'get_tfm_psbiops' [-Wimplicit-function-declaration] - 25 | get_tfm_psbiops(fe, &po); - | ^~~~~~~~~~~~~~~ -pswl.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] - 311 | wl_type1_char(c, cstr, len) - | ^~~~~~~~~~~~~ -pstype1.c:26:5: warning: implicit declaration of function 'psfindfontop'; did you mean 'findfontop'? [-Wimplicit-function-declaration] - 26 | psfindfontop(psfname(fe->k), &po); - | ^~~~~~~~~~~~ - | findfontop -pstype1.c: At top level: -pstype1.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] - 30 | read_type1_file(fe, bii, fn, t1f, en) - | ^~~~~~~~~~~~~~~ -pswl.c: In function 'wl_type1_char': -pswl.c:320:9: warning: implicit declaration of function 'e_putchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] - 320 | e_putchar((unsigned)*(cstr+i)); - | ^~~~~~~~~ - | putchar -pswl.c: At top level: -pswl.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] - 324 | wl_type1_epilogue() - | ^~~~~~~~~~~~~~~~~ -pswl.c: In function 'wl_type1_epilogue': -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstt.o pstt.c -pswl.c:332:5: warning: implicit declaration of function 'end_eexec' [-Wimplicit-function-declaration] - 332 | end_eexec(); - | ^~~~~~~~~ +pst1form.c:249:24: warning: implicit declaration of function 'cencrypt_char' [-Wimplicit-function-declaration] + 249 | *charstring_bp++ = cencrypt_char((byte) 0); + | ^~~~~~~~~~~~~ +pst1form.c: In function 'charstring_byte': +pst1form.c:260:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] + 260 | fprintf(stderr, "error: charstring_buf full (%d bytes)\n", + | ~^ + | | + | int + | %ld + 261 | sizeof(charstring_buf)); + | ~~~~~~~~~~~~~~~~~~~~~~ + | | + | long unsigned int +pst1form.c: In function 'charstring_end': +pst1form.c:275:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 275 | sprintf(line, "%d %s ", charstring_bp - charstring_buf, cs_start); + | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | int long int + | %ld +pst1form.c:276:3: warning: implicit declaration of function 'e_printf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] + 276 | e_printf(line); + | ^~~~~~~~ + | dprintf +psspecial.c: In function 'dev_predospecial': +pst1form.c: At top level: +pst1form.c:341:1: warning: return type defaults to 'int' [-Wimplicit-int] + 341 | charstring_com(com) + | ^~~~~~~~~~~~~~ +pst1form.c:351:1: warning: return type defaults to 'int' [-Wimplicit-int] + 351 | e_printf(form, i0, i1, i2, i3, i4, i5, i6, i7, i8, i9) + | ^~~~~~~~ +pst1form.c: In function 'e_printf': +pst1form.c:351:1: warning: type of 'i0' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i1' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i2' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i3' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i4' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i5' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i6' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i7' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i8' defaults to 'int' [-Wimplicit-int] +pst1form.c:351:1: warning: type of 'i9' defaults to 'int' [-Wimplicit-int] +psspecial.c:160:13: warning: implicit declaration of function 'ps_add_include'; did you mean 'add_include'? [-Wimplicit-function-declaration] + 160 | ps_add_include(p); + | ^~~~~~~~~~~~~~ + | add_include ttfont.c: In function 'set_unimap': ttfont.c:149:9: warning: implicit declaration of function 'findcconvmap' [-Wimplicit-function-declaration] 149 | if (findcconvmap(tabname, file)) { | ^~~~~~~~~~~~ +bifont.c:175:5: warning: implicit declaration of function 'dev_tfm_initfontdict' [-Wimplicit-function-declaration] + 175 | dev_tfm_initfontdict(fe); + | ^~~~~~~~~~~~~~~~~~~~ +type1font.c: In function 'read_t1_fontinfo': +psspecial.c:167:9: warning: implicit declaration of function 'background' [-Wimplicit-function-declaration] + 167 | background(p); + | ^~~~~~~~~~ +psbi.c:215:28: warning: implicit declaration of function 'htoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] + 215 | bf->bf_stand = htoi(++mode, &he); + | ^~~~ + | atoi ttfont.c: At top level: +type1font.c:45:5: warning: implicit declaration of function 'dev_tfm_initfe' [-Wimplicit-function-declaration] + 45 | dev_tfm_initfe(fe); + | ^~~~~~~~~~~~~~ +bifont.c: At top level: ttfont.c:197:1: warning: return type defaults to 'int' [-Wimplicit-int] 197 | noconv(idx) | ^~~~~~ ttfont.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] 203 | iso1_to_uni(c) | ^~~~~~~~~~~ +bifont.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] + 218 | jstfm_access(proto, fe, acca) + | ^~~~~~~~~~~~ ttfont.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] 209 | idx94_to_uni(idx) | ^~~~~~~~~~~~ -pstype1.c: In function 'read_type1_file': -pstype1.c:95:9: warning: implicit declaration of function 't1_subset' [-Wimplicit-function-declaration] - 95 | t1_subset(fn, en, bii->mark); - | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pstt2t1.o pstt2t1.c +psspecial.c:177:13: warning: implicit declaration of function 'pushcolor' [-Wimplicit-function-declaration] + 177 | pushcolor(p, FALSE); + | ^~~~~~~~~ +psbi.c: At top level: +psbi.c:341:1: warning: return type defaults to 'int' [-Wimplicit-int] + 341 | comp_bfname(fname, bf) + | ^~~~~~~~~~~ +In file included from defs.h:2: +gdefs.h:16:9: warning: 'POSIX' redefined + 16 | #define POSIX + | ^~~~~ +: note: this is the location of the previous definition +pst1form.c: At top level: +pst1form.c:363:1: warning: return type defaults to 'int' [-Wimplicit-int] + 363 | e_putchar(plain) + | ^~~~~~~~~ ttfont.c: In function 'init_ft_fontinfo': ttfont.c:226:9: warning: implicit declaration of function 'dev_mf_kind'; did you mean 'dev_jfm_kind'? [-Wimplicit-function-declaration] 226 | if (dev_mf_kind(tfmfinfo(fe)->tfm_bf) == MF_KIND_FT) | ^~~~~~~~~~~ | dev_jfm_kind +type1font.c:48:9: warning: implicit declaration of function 'dev_t1_initfontdict' [-Wimplicit-function-declaration] + 48 | dev_t1_initfontdict(fe, bii, NULL, NULL); + | ^~~~~~~~~~~~~~~~~~~ +bifont.c: In function 'read_jstfm_finfo': +psspecial.c:179:13: warning: implicit declaration of function 'popcolor' [-Wimplicit-function-declaration] + 179 | popcolor(FALSE); + | ^~~~~~~~ +bifont.c:284:9: warning: implicit declaration of function 'jsub_to_jis' [-Wimplicit-function-declaration] + 284 | jsub_to_jis(subfont, i, &(ce->dev_ku), &(ce->dev_ten)); + | ^~~~~~~~~~~ +pst1form.c: In function 'e_putchar': +pst1form.c:366:25: warning: implicit declaration of function 'encrypt_char' [-Wimplicit-function-declaration] + 366 | EMIT(outfp, "%02X", encrypt_char(plain)); + | ^~~~~~~~~~~~ +pst1form.c: At top level: +pst1form.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] + 379 | init_encrypt() + | ^~~~~~~~~~~~ +pst1form.c:384:1: warning: return type defaults to 'int' [-Wimplicit-int] + 384 | init_cencrypt() + | ^~~~~~~~~~~~~ +pst1form.c:389:1: warning: return type defaults to 'int' [-Wimplicit-int] + 389 | encrypt_char(plain) + | ^~~~~~~~~~~~ +pst1form.c:399:1: warning: return type defaults to 'int' [-Wimplicit-int] + 399 | cencrypt_char(plain) + | ^~~~~~~~~~~~~ +gffont.c: In function 'gftype_access': +psspecial.c:181:13: warning: implicit declaration of function 'resetcolorstack' [-Wimplicit-function-declaration] + 181 | resetcolorstack(p, FALSE); + | ^~~~~~~~~~~~~~~ ttfont.c:230:9: warning: implicit declaration of function 'dev_set_repfe'; did you mean 'dev_get_repfe'? [-Wimplicit-function-declaration] 230 | dev_set_repfe(biinifinfo(fe)->bf, fe); | ^~~~~~~~~~~~~ | dev_get_repfe +type1font.c:55:9: warning: implicit declaration of function 'read_null_fontinfo'; did you mean 'read_t1_fontinfo'? [-Wimplicit-function-declaration] + 55 | read_null_fontinfo(fe); + | ^~~~~~~~~~~~~~~~~~ + | read_t1_fontinfo +psspecial.c:227:13: warning: implicit declaration of function 'ps_scanifont' [-Wimplicit-function-declaration] + 227 | ps_scanifont(sf); + | ^~~~~~~~~~~~ +bifont.c: In function 'read_jstfm_fontinfo': +gffont.c:35:5: warning: implicit declaration of function 'rast_mag' [-Wimplicit-function-declaration] + 35 | rast_mag(fe, acca, 1); + | ^~~~~~~~ +psspecial.c: At top level: +psspecial.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] + 232 | dev_outbangspecials() + | ^~~~~~~~~~~~~~~~~~~ +psspecial.c: In function 'dev_dospecial': +psspecial.c:264:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] + 264 | end_string(); + | ^~~~~~~~~~ + | ps_string +psspecial.c:265:5: warning: implicit declaration of function 'dev_setposn' [-Wimplicit-function-declaration] + 265 | dev_setposn(h, v); + | ^~~~~~~~~~~ ttfont.c: In function 't1_reencode': ttfont.c:251:5: warning: implicit declaration of function 't1_get_encode'; did you mean 't1_reencode'? [-Wimplicit-function-declaration] 251 | t1_get_encode(enc, glyphs); | ^~~~~~~~~~~~~ | t1_reencode -ttfont.c:252:5: warning: implicit declaration of function 'reencode'; did you mean 't1_reencode'? [-Wimplicit-function-declaration] - 252 | reencode(glyphs, bii->mark, bii->maxc, remap); - | ^~~~~~~~ - | t1_reencode -ttfont.c:253:5: warning: implicit declaration of function 't1_free_encode'; did you mean 't1_reencode'? [-Wimplicit-function-declaration] - 253 | t1_free_encode(glyphs); - | ^~~~~~~~~~~~~~ - | t1_reencode -gffont.c: In function 'gftype_access': -ttfont.c: In function 'read_ft_fontinfo': -gffont.c:35:5: warning: implicit declaration of function 'rast_mag' [-Wimplicit-function-declaration] - 35 | rast_mag(fe, acca, 1); - | ^~~~~~~~ -ttfont.c:283:5: warning: implicit declaration of function 'dev_tfm_initfe' [-Wimplicit-function-declaration] - 283 | dev_tfm_initfe(fe); - | ^~~~~~~~~~~~~~ -wlfont.c: In function 'read_wl_finfo': -wlfont.c:95:21: warning: implicit declaration of function 'read_null_fontinfo'; did you mean 'read_fontinfo'? [-Wimplicit-function-declaration] - 95 | read_null_fontinfo(fe); - | ^~~~~~~~~~~~~~~~~~ - | read_fontinfo -virfont.c: In function 'vftype_access': -virfont.c:38:12: warning: implicit declaration of function 'vfty_acc'; did you mean 'vftype_access'? [-Wimplicit-function-declaration] - 38 | return vfty_acc(proto, fe, acca, "vf", NULL); - | ^~~~~~~~ - | vftype_access -virfont.c: In function 'init_vf_fontinfo': -virfont.c:82:5: warning: implicit declaration of function 'read_vf_dviinfo'; did you mean 'read_vf_fontinfo'? [-Wimplicit-function-declaration] - 82 | read_vf_dviinfo(fe); - | ^~~~~~~~~~~~~~~ - | read_vf_fontinfo -wlfont.c:113:17: warning: implicit declaration of function 'idx94_to_std' [-Wimplicit-function-declaration] - 113 | c = idx94_to_std(kk); - | ^~~~~~~~~~~~ -ttfont.c:287:9: warning: implicit declaration of function 'dev_fto_refontdict' [-Wimplicit-function-declaration] - 287 | dev_fto_refontdict(fe); - | ^~~~~~~~~~~~~~~~~~ gffont.c:45:5: warning: implicit declaration of function 'rast_debug_report' [-Wimplicit-function-declaration] 45 | rast_debug_report(fe, acca, ok, "gf"); | ^~~~~~~~~~~~~~~~~ -virfont.c: In function 'init_jvf_fontinfo': -virfont.c:94:5: warning: implicit declaration of function 'read_jvf_dviinfo'; did you mean 'read_jvf_fontinfo'? [-Wimplicit-function-declaration] - 94 | read_jvf_dviinfo(fe); +bifont.c:303:5: warning: implicit declaration of function 'dev_jstfm_initfe'; did you mean 'dev_jstfm_kind'? [-Wimplicit-function-declaration] + 303 | dev_jstfm_initfe(fe); | ^~~~~~~~~~~~~~~~ - | read_jvf_fontinfo -wlfont.c:115:49: warning: implicit declaration of function 'getctype' [-Wimplicit-function-declaration] - 115 | (wlfi->ch+kk)->tfmw = jfmfi->ch[getctype(c,jfmfi)].tfmw; - | ^~~~~~~~ + | dev_jstfm_kind +psbi.c: In function 'findbksub': +psbi.c:390:17: warning: implicit declaration of function 'match_subf' [-Wimplicit-function-declaration] + 390 | if (match_subf(bf->bf_name, name, + | ^~~~~~~~~~ +psbi.c:396:30: warning: implicit declaration of function 'getjsubfont'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] + 396 | foundjsubf = getjsubfont(name+bf->bf_len, &subend); + | ^~~~~~~~~~~ + | getsubopt gffont.c: In function 'init_gf_fontinfo': gffont.c:57:5: warning: implicit declaration of function 'init_rast_fontinfo'; did you mean 'init_gf_fontinfo'? [-Wimplicit-function-declaration] 57 | init_rast_fontinfo(fe); | ^~~~~~~~~~~~~~~~~~ | init_gf_fontinfo -ttfont.c:294:9: warning: implicit declaration of function 'read_null_fontinfo'; did you mean 'read_ft_fontinfo'? [-Wimplicit-function-declaration] - 294 | read_null_fontinfo(fe); - | ^~~~~~~~~~~~~~~~~~ - | read_ft_fontinfo -virfont.c: In function 'read_vf_dviinfo': -virfont.c:110:5: warning: implicit declaration of function 'read_vf_di'; did you mean 'read_vf_dviinfo'? [-Wimplicit-function-declaration] - 110 | read_vf_di(fe, CODE_NORMAL); - | ^~~~~~~~~~ - | read_vf_dviinfo -virfont.c: In function 'read_vf_di': -virfont.c:190:33: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] - 190 | else if ((idx = jis_to_idx94(cc)) < 0) { - | ^~~~~~~~~~~~ -wlfont.c:116:13: warning: implicit declaration of function 'dev_wl_initfontdict' [-Wimplicit-function-declaration] - 116 | dev_wl_initfontdict(fe, wlfi, kk, c, nchars--, k1fp); - | ^~~~~~~~~~~~~~~~~~~ -type1font.c: In function 'init_t1_fontinfo': -type1font.c:23:9: warning: implicit declaration of function 'dev_set_repfe'; did you mean 'dev_get_repfe'? [-Wimplicit-function-declaration] - 23 | dev_set_repfe(biinifinfo(fe)->bf, fe); - | ^~~~~~~~~~~~~ - | dev_get_repfe -virfont.c: In function 'vf_markchar': -virfont.c:270:5: warning: implicit declaration of function 'vf_mc' [-Wimplicit-function-declaration] - 270 | vf_mc(curfontent, &virfinfo(curfontent)->ch[c], c); - | ^~~~~ -virfont.c: At top level: -virfont.c:307:6: warning: conflicting types for 'vf_mc'; have 'void()' - 307 | void vf_mc(fe, ce, c) - | ^~~~~ -virfont.c:270:5: note: previous implicit declaration of 'vf_mc' with type 'void()' - 270 | vf_mc(curfontent, &virfinfo(curfontent)->ch[c], c); - | ^~~~~ -ttfont.c:340:16: warning: implicit declaration of function 'dev_ft_begfontdict' [-Wimplicit-function-declaration] - 340 | tfmw = dev_ft_begfontdict(fe, bii->maxc); - | ^~~~~~~~~~~~~~~~~~ -bifont.c: In function 'init_tfm_fontinfo': -bifont.c:123:13: warning: implicit declaration of function 'dev_tfm_kind'; did you mean 'dev_jfm_kind'? [-Wimplicit-function-declaration] - 123 | switch (dev_tfm_kind(fe)) { - | ^~~~~~~~~~~~ - | dev_jfm_kind -type1font.c: In function 'read_t1_fontinfo': -type1font.c:45:5: warning: implicit declaration of function 'dev_tfm_initfe' [-Wimplicit-function-declaration] - 45 | dev_tfm_initfe(fe); - | ^~~~~~~~~~~~~~ -virfont.c: In function 'vf_mc': -virfont.c:344:9: warning: implicit declaration of function 'setc_com' [-Wimplicit-function-declaration] - 344 | if (setc_com(cmd = *dvip, dvip, dvilen, ce)) { - | ^~~~~~~~ -bifont.c:134:9: warning: implicit declaration of function 'init_ft_fontinfo'; did you mean 'init_t1_fontinfo'? [-Wimplicit-function-declaration] - 134 | init_ft_fontinfo(fe); - | ^~~~~~~~~~~~~~~~ - | init_t1_fontinfo -wlfont.c:121:5: warning: implicit declaration of function 'dev_wl_endfontdict' [-Wimplicit-function-declaration] - 121 | dev_wl_endfontdict(); - | ^~~~~~~~~~~~~~~~~~ -pkfont.c: In function 'pktype_access': -bifont.c: In function 'read_tfm_finfo': -bifont.c:151:5: warning: implicit declaration of function 'readtfm'; did you mean 'read'? [-Wimplicit-function-declaration] - 151 | readtfm(fntfp = fe->openfile); - | ^~~~~~~ - | read -pkfont.c:37:5: warning: implicit declaration of function 'rast_mag' [-Wimplicit-function-declaration] - 37 | rast_mag(fe, acca, 1); - | ^~~~~~~~ -type1font.c:48:9: warning: implicit declaration of function 'dev_t1_initfontdict' [-Wimplicit-function-declaration] - 48 | dev_t1_initfontdict(fe, bii, NULL, NULL); - | ^~~~~~~~~~~~~~~~~~~ -virfont.c:383:5: warning: implicit declaration of function 'setcurdconv'; did you mean 'setcurfont'? [-Wimplicit-function-declaration] - 383 | setcurdconv(&vfd_dconv_templ); - | ^~~~~~~~~~~ - | setcurfont -type1font.c:55:9: warning: implicit declaration of function 'read_null_fontinfo'; did you mean 'read_t1_fontinfo'? [-Wimplicit-function-declaration] - 55 | read_null_fontinfo(fe); - | ^~~~~~~~~~~~~~~~~~ - | read_t1_fontinfo -ttfont.c:359:13: warning: implicit declaration of function 'dev_ft_initfontdict' [-Wimplicit-function-declaration] - 359 | dev_ft_initfontdict(fe, tfmfi, i, - | ^~~~~~~~~~~~~~~~~~~ -virfont.c:387:5: warning: implicit declaration of function 'scanfont'; did you mean 'scanf'? [-Wimplicit-function-declaration] - 387 | scanfont(TRUE, &(virfinfo(fe)->vf_fontidx)); +ttfont.c:252:5: warning: implicit declaration of function 'reencode'; did you mean 't1_reencode'? [-Wimplicit-function-declaration] + 252 | reencode(glyphs, bii->mark, bii->maxc, remap); | ^~~~~~~~ - | scanf -bifont.c: In function 'read_tfm_fontinfo': -bifont.c:173:5: warning: implicit declaration of function 'dev_tfm_initfe' [-Wimplicit-function-declaration] - 173 | dev_tfm_initfe(fe); - | ^~~~~~~~~~~~~~ -virfont.c: In function 'vf_setchar': -wlfont.c: In function 'read_wl_fontinfo': -virfont.c:451:12: warning: implicit declaration of function 'vf_sc'; did you mean 'vf_mc'? [-Wimplicit-function-declaration] - 451 | return vf_sc(curfontent, &virfinfo(curfontent)->ch[c], c); - | ^~~~~ - | vf_mc -wlfont.c:140:5: warning: implicit declaration of function 'dev_wl_initfe' [-Wimplicit-function-declaration] - 140 | dev_wl_initfe(fe); - | ^~~~~~~~~~~~~ -pkfont.c:47:5: warning: implicit declaration of function 'rast_debug_report' [-Wimplicit-function-declaration] - 47 | rast_debug_report(fe, acca, ok, "pk"); - | ^~~~~~~~~~~~~~~~~ -virfont.c: In function 'vf_sc': -virfont.c:504:5: warning: implicit declaration of function 'dviconv' [-Wimplicit-function-declaration] - 504 | dviconv(virfinfo(fe)->vf_fontidx); - | ^~~~~~~ -bifont.c:175:5: warning: implicit declaration of function 'dev_tfm_initfontdict' [-Wimplicit-function-declaration] - 175 | dev_tfm_initfontdict(fe); - | ^~~~~~~~~~~~~~~~~~~~ -bifont.c: At top level: -virfont.c:512:5: warning: implicit declaration of function 'setdir'; did you mean 'setgid'? [-Wimplicit-function-declaration] - 512 | setdir(save_dir); - | ^~~~~~ - | setgid -bifont.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] - 218 | jstfm_access(proto, fe, acca) + | t1_reencode +psbi.c: At top level: +psbi.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] + 418 | dev_set_repfe(bi, fe) + | ^~~~~~~~~~~~~ +psbi.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] + 439 | dev_bold(bi) + | ^~~~~~~~ +psbi.c:459:1: warning: return type defaults to 'int' [-Wimplicit-int] + 459 | dev_mf_kind(bf) + | ^~~~~~~~~~~ +psbi.c:465:1: warning: return type defaults to 'int' [-Wimplicit-int] + 465 | dev_is_tfm(fe, tfmmode) + | ^~~~~~~~~~ +psbi.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] + 483 | dev_tfm_kind(fe) | ^~~~~~~~~~~~ -pkfont.c: In function 'init_pk_fontinfo': -pkfont.c:59:5: warning: implicit declaration of function 'init_rast_fontinfo'; did you mean 'init_pk_fontinfo'? [-Wimplicit-function-declaration] - 59 | init_rast_fontinfo(fe); - | ^~~~~~~~~~~~~~~~~~ - | init_pk_fontinfo -ttfont.c:367:16: warning: implicit declaration of function 'dev_fto_begfontdict' [-Wimplicit-function-declaration] - 367 | tfmw = dev_fto_begfontdict(fe, face->family_name, - | ^~~~~~~~~~~~~~~~~~~ -wlfont.c:141:5: warning: implicit declaration of function 'dev_wl_begfontdict' [-Wimplicit-function-declaration] - 141 | dev_wl_begfontdict(fe); - | ^~~~~~~~~~~~~~~~~~ -virfont.c: In function 'getvfdvi': -virfont.c:303:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 303 | (void)fread((char *)dvip, 1, dvilen, fntfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -bifont.c: In function 'read_jstfm_finfo': -bifont.c:284:9: warning: implicit declaration of function 'jsub_to_jis' [-Wimplicit-function-declaration] - 284 | jsub_to_jis(subfont, i, &(ce->dev_ku), &(ce->dev_ten)); - | ^~~~~~~~~~~ -pkfont.c: In function 'read_pk_fontinfo': -pkfont.c:119:17: warning: implicit declaration of function 'readpkchar'; did you mean 'loadpkchar'? [-Wimplicit-function-declaration] - 119 | readpkchar(cmd, fe, rii); - | ^~~~~~~~~~ - | loadpkchar -pkfont.c: At top level: -pkfont.c:138:6: warning: conflicting types for 'readpkchar'; have 'void()' - 138 | void readpkchar(flag, fe, rii) - | ^~~~~~~~~~ -pkfont.c:119:17: note: previous implicit declaration of 'readpkchar' with type 'void()' - 119 | readpkchar(cmd, fe, rii); - | ^~~~~~~~~~ -bifont.c: In function 'read_jstfm_fontinfo': -bifont.c:303:5: warning: implicit declaration of function 'dev_jstfm_initfe'; did you mean 'dev_jstfm_kind'? [-Wimplicit-function-declaration] - 303 | dev_jstfm_initfe(fe); - | ^~~~~~~~~~~~~~~~ - | dev_jstfm_kind -wlfont.c: In function 'wl_fontdict': -wlfont.c:155:28: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] - 155 | return wlfinfo(fe)->ch[jis_to_idx94(c)].dev_font; - | ^~~~~~~~~~~~ -ttfont.c:373:13: warning: implicit declaration of function 'dev_fto_initfontdict' [-Wimplicit-function-declaration] - 373 | dev_fto_initfontdict(remap[i], &(face->glyph->outline), - | ^~~~~~~~~~~~~~~~~~~~ -pkfont.c: In function 'loadpkchar': -pkfont.c:215:9: warning: implicit declaration of function 'unpack_raster' [-Wimplicit-function-declaration] - 215 | unpack_raster(); - | ^~~~~~~~~~~~~ +psbi.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] + 520 | t1tobi(bi, t1fname) + | ^~~~~~ +psbi.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] + 538 | fttobi(bi, ftfname) + | ^~~~~~ +psbi.c:556:1: warning: return type defaults to 'int' [-Wimplicit-int] + 556 | dev_is_jstfm(fe, tfmmode) + | ^~~~~~~~~~~~ +psbi.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] + 602 | dev_jstfm_kind(fe) + | ^~~~~~~~~~~~~~ +psbi.c:608:1: warning: return type defaults to 'int' [-Wimplicit-int] + 608 | dev_is_jfm(fe, tfmmode) + | ^~~~~~~~~~ bifont.c:306:9: warning: implicit declaration of function 'dev_jstfm_initfontdict' [-Wimplicit-function-declaration] 306 | dev_jstfm_initfontdict(fe); | ^~~~~~~~~~~~~~~~~~~~~~ +psspecial.c:281:9: warning: implicit declaration of function 'dev_initfont' [-Wimplicit-function-declaration] + 281 | dev_initfont(); + | ^~~~~~~~~~~~ bifont.c: At top level: bifont.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] 323 | jfm_access(proto, fe, acca) | ^~~~~~~~~~ -pkfont.c:217:9: warning: implicit declaration of function 'unpack_run' [-Wimplicit-function-declaration] - 217 | unpack_run(pl); - | ^~~~~~~~~~ -wlfont.c: In function 'read_jswl_fontinfo': -wlfont.c:189:5: warning: implicit declaration of function 'dev_jswl_initfe' [-Wimplicit-function-declaration] - 189 | dev_jswl_initfe(fe); - | ^~~~~~~~~~~~~~~ +psspecial.c:436:13: warning: implicit declaration of function 'scanfile'; did you mean 'scanf'? [-Wimplicit-function-declaration] + 436 | if (scanfile(sf, &llx, &lly, &urx, &ury)) { + | ^~~~~~~~ + | scanf bifont.c: In function 'read_jfm_finfo': bifont.c:374:10: warning: implicit declaration of function 'readjfm'; did you mean 'read'? [-Wimplicit-function-declaration] 374 | if (!readjfm(fntfp = fe->openfile)) | ^~~~~~~ | read -ttfont.c:376:9: warning: implicit declaration of function 'dev_fto_endfontdict' [-Wimplicit-function-declaration] - 376 | dev_fto_endfontdict(fe); - | ^~~~~~~~~~~~~~~~~~~ +ttfont.c:253:5: warning: implicit declaration of function 't1_free_encode'; did you mean 't1_reencode'? [-Wimplicit-function-declaration] + 253 | t1_free_encode(glyphs); + | ^~~~~~~~~~~~~~ + | t1_reencode +psbi.c:626:1: warning: return type defaults to 'int' [-Wimplicit-int] + 626 | dev_jfm_kind(fe) + | ^~~~~~~~~~~~ +psbi.c:633:1: warning: return type defaults to 'int' [-Wimplicit-int] + 633 | bifpos_relun(bf) + | ^~~~~~~~~~~~ +psbi.c:640:1: warning: return type defaults to 'int' [-Wimplicit-int] + 640 | bifpos_rel(bf) + | ^~~~~~~~~~ +psbi.c:646:1: warning: return type defaults to 'int' [-Wimplicit-int] + 646 | bif_coding(bf) + | ^~~~~~~~~~ +psbi.c:689:1: warning: return type defaults to 'int' [-Wimplicit-int] + 689 | get_tfm_psbiops(fe, po) + | ^~~~~~~~~~~~~~~ +psbi.c:734:1: warning: return type defaults to 'int' [-Wimplicit-int] + 734 | get_jstfm_psbiops(fe, po) + | ^~~~~~~~~~~~~~~~~ +psbi.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] + 784 | get_jfm_psbiops(fe, po) + | ^~~~~~~~~~~~~~~ +psbi.c: In function 'get_jfm_psbiops': +pstt.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] + 24 | dev_ft_begfontdict(fe, maxc) + | ^~~~~~~~~~~~~~~~~~ +psio.c: In function 'ps_add_include': +psio.c:34:17: warning: implicit declaration of function 'ps_searchfile'; did you mean 'kpsearch_file'? [-Wimplicit-function-declaration] + 34 | if (found = ps_searchfile(str, newf)) { + | ^~~~~~~~~~~~~ + | kpsearch_file +pstt.c: In function 'dev_ft_begfontdict': +pstt.c:29:17: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] + 29 | fe->k = dev_newdevfont(); + | ^~~~~~~~~~~~~~ bifont.c: In function 'read_jfm_fontinfo': bifont.c:402:5: warning: implicit declaration of function 'dev_jfm_initfe'; did you mean 'dev_jfm_kind'? [-Wimplicit-function-declaration] 402 | dev_jfm_initfe(fe, id); | ^~~~~~~~~~~~~~ | dev_jfm_kind -ttfont.c: In function 'read_jft_finfo': -ttfont.c:476:16: warning: implicit declaration of function 'dev_bold' [-Wimplicit-function-declaration] - 476 | embolden = dev_bold(jftfi->jft_bf); - | ^~~~~~~~ -wlfont.c:193:9: warning: implicit declaration of function 'dev_jswl_begfontdict' [-Wimplicit-function-declaration] - 193 | dev_jswl_begfontdict(fe); - | ^~~~~~~~~~~~~~~~~~~~ +funcfont.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] + 25 | functype_init(desc, ff) + | ^~~~~~~~~~~~~ +psbi.c:801:33: warning: implicit declaration of function 'getctype' [-Wimplicit-function-declaration] + 801 | po->po_size = jfmfi->ch[getctype(bf->bf_stand,jfmfi)].tfmw; + | ^~~~~~~~ +psbi.c: At top level: +psbi.c:829:1: warning: return type defaults to 'int' [-Wimplicit-int] + 829 | psgetfontsize(po) + | ^~~~~~~~~~~~~ +psbi.c:835:1: warning: return type defaults to 'int' [-Wimplicit-int] + 835 | psfindfontop(psfn, po) + | ^~~~~~~~~~~~ +psspecial.c: In function 'dist': +psspecial.c:962:12: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] + 962 | static int dist(x1, y1, x2, y2) /* integer distance from x1,y1 to x2,y2 */ + | ^~~~ +psspecial.c:962:12: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] +psspecial.c:962:12: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] +psspecial.c:962:12: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] +pstt.c:34:5: warning: implicit declaration of function 'get_tfm_psbiops' [-Wimplicit-function-declaration] + 34 | get_tfm_psbiops(fe, &po); + | ^~~~~~~~~~~~~~~ +psbi.c: In function 'psfindfontop': +psbi.c:841:5: warning: implicit declaration of function 'psfindfop'; did you mean 'psfindfontop'? [-Wimplicit-function-declaration] + 841 | psfindfop(psfn, po); + | ^~~~~~~~~ + | psfindfontop +psbi.c: At top level: +psbi.c:844:1: warning: return type defaults to 'int' [-Wimplicit-int] + 844 | psfindsubfop(psfn, po) + | ^~~~~~~~~~~~ +psio.c:35:9: warning: implicit declaration of function 'add_include_spec'; did you mean 'add_include'? [-Wimplicit-function-declaration] + 35 | add_include_spec(found == SEARCH_ORIG ? str : newf, dev_copyfile); + | ^~~~~~~~~~~~~~~~ + | add_include +psbi.c:859:1: warning: return type defaults to 'int' [-Wimplicit-int] + 859 | psfindfop(psfn, po) + | ^~~~~~~~~ +funcfont.c: In function 'functype_init': +funcfont.c:40:14: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] + 40 | if (!getstrtok(desc, '(', &d)) + | ^~~~~~~~~ + | strtok +psbi.c: In function 'psfindfop': +pstt.c:35:12: warning: implicit declaration of function 'psgetfontsize' [-Wimplicit-function-declaration] + 35 | return psgetfontsize(&po); + | ^~~~~~~~~~~~~ +ttfont.c: In function 'read_ft_fontinfo': +ttfont.c:283:5: warning: implicit declaration of function 'dev_tfm_initfe' [-Wimplicit-function-declaration] + 283 | dev_tfm_initfe(fe); + | ^~~~~~~~~~~~~~ bifont.c:403:5: warning: implicit declaration of function 'dev_jfm_initfontdict' [-Wimplicit-function-declaration] 403 | dev_jfm_initfontdict(fe); | ^~~~~~~~~~~~~~~~~~~~ @@ -2345,303 +2736,125 @@ bifont.c:451:1: warning: return type defaults to 'int' [-Wimplicit-int] 451 | readjfm(fntfp) | ^~~~~~~ -ttfont.c:501:13: warning: implicit declaration of function 'dev_jft_initfontdict' [-Wimplicit-function-declaration] - 501 | dev_jft_initfontdict(fe, jftfi, i, jis, tfmw, - | ^~~~~~~~~~~~~~~~~~~~ -wlfont.c: In function 'jswl_fontdict': -wlfont.c:209:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] - 209 | return jswlfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_font; - | ^~~~~~~~~~~~~ -ttfont.c:510:9: warning: implicit declaration of function 'dev_jfto_begfontdict' [-Wimplicit-function-declaration] - 510 | dev_jfto_begfontdict(dname, face->family_name); - | ^~~~~~~~~~~~~~~~~~~~ -ttfont.c:517:13: warning: implicit declaration of function 'dev_jfto_initfontdict' [-Wimplicit-function-declaration] - 517 | dev_jfto_initfontdict(jftfi, i, nchars--, - | ^~~~~~~~~~~~~~~~~~~~~ -ttfont.c:520:9: warning: implicit declaration of function 'dev_jfto_endfontdict' [-Wimplicit-function-declaration] - 520 | dev_jfto_endfontdict(); - | ^~~~~~~~~~~~~~~~~~~~ -ttfont.c: In function 'read_jft_fontinfo': -ttfont.c:544:5: warning: implicit declaration of function 'dev_jft_initfe' [-Wimplicit-function-declaration] - 544 | dev_jft_initfe(fe); - | ^~~~~~~~~~~~~~ -ttfont.c:545:12: warning: implicit declaration of function 'dev_jft_begfontdict' [-Wimplicit-function-declaration] - 545 | tfmw = dev_jft_begfontdict(fe); - | ^~~~~~~~~~~~~~~~~~~ -ttfont.c: In function 'jft_fontdict': -ttfont.c:562:29: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] - 562 | return jftfinfo(fe)->ch[jis_to_idx94(c)].dev_font; - | ^~~~~~~~~~~~ -ttfont.c: In function 'read_jsft_fontinfo': -ttfont.c:603:5: warning: implicit declaration of function 'dev_jsft_initfe' [-Wimplicit-function-declaration] - 603 | dev_jsft_initfe(fe); - | ^~~~~~~~~~~~~~~ -ttfont.c:608:16: warning: implicit declaration of function 'dev_jsft_begfontdict' [-Wimplicit-function-declaration] - 608 | tfmw = dev_jsft_begfontdict(fe); - | ^~~~~~~~~~~~~~~~~~~~ -ttfont.c: In function 'jsft_fontdict': -ttfont.c:627:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] - 627 | return jsftfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_font; - | ^~~~~~~~~~~~~ -ttfont.c: At top level: -ttfont.c:633:1: warning: return type defaults to 'int' [-Wimplicit-int] - 633 | trim_bitmap(wid, bwid, hgt, xo, dep, pixel, nwid, nhgt, nxo, ndep, npixel) - | ^~~~~~~~~~~ -funcfont.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] - 25 | functype_init(desc, ff) - | ^~~~~~~~~~~~~ -kpse.c: In function 'kpsearch_glyph': -kpse.c:24:5: warning: implicit declaration of function 'pavek' [-Wimplicit-function-declaration] - 24 | pavek(name, &path, &base, proto, acca); - | ^~~~~ -funcfont.c: In function 'functype_init': -funcfont.c:40:14: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] - 40 | if (!getstrtok(desc, '(', &d)) - | ^~~~~~~~~ - | strtok -kpse.c:44:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 44 | spec->path = save_path; - | ^ -kpse.c: In function 'kpsearch_make': -kpse.c:96:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 96 | spec->path = save_path; - | ^ -kpse.c: In function 'kpsearch_file': -kpse.c:133:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 133 | spec->path = save_path; - | ^ +psio.c: In function 'ps_add_setup': +psio.c:48:9: warning: implicit declaration of function 'add_setup_spec'; did you mean 'add_setup'? [-Wimplicit-function-declaration] + 48 | add_setup_spec(found == SEARCH_ORIG ? str : newf, dev_copyfile); + | ^~~~~~~~~~~~~~ + | add_setup +psio.c: At top level: funcfont.c:62:9: warning: implicit declaration of function 'skipstrblank'; did you mean 'skipblanks'? [-Wimplicit-function-declaration] 62 | skipstrblank(e, &d); | ^~~~~~~~~~~~ | skipblanks +psio.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] + 68 | ps_searchfile(f, newf) + | ^~~~~~~~~~~~~ funcfont.c: At top level: funcfont.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] 82 | functype_access(ff, fe, acca) | ^~~~~~~~~~~~~~~ -funcfont.c: In function 'exist_access': -funcfont.c:198:5: warning: implicit declaration of function 'pavek'; did you mean 'pave'? [-Wimplicit-function-declaration] - 198 | pavek(fe->name, &path, &base, proto, acca); - | ^~~~~ - | pave -run.c: In function 'init_settings': -run.c:288:41: warning: '%s' directive writing up to 254 bytes into a region of size between 2 and 256 [-Wformat-overflow=] - 288 | sprintf(prfontdesc, "%s.%s", fontdescfile, tcp); - | ^~ -In file included from /usr/include/stdio.h:970, - from gdefs.h:5: -In function 'sprintf', - inlined from 'init_settings' at run.c:288:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 510 bytes into a destination of size 257 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -dvi2.c: In function 'main': -dvi2.c:142:5: warning: implicit declaration of function 'fix_default' [-Wimplicit-function-declaration] - 142 | fix_default(RESOLUTION, MFMODE); - | ^~~~~~~~~~~ -dvi2.c:163:5: warning: implicit declaration of function 'dev_init' [-Wimplicit-function-declaration] - 163 | dev_init(); - | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psvfl.o psvfl.c -dvi2.c:166:5: warning: implicit declaration of function 'setcurdconv'; did you mean 'setcurfont'? [-Wimplicit-function-declaration] - 166 | setcurdconv(&dfd_dconv_templ); - | ^~~~~~~~~~~ - | setcurfont -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pst1form.o pst1form.c -dvi2.c:184:5: warning: implicit declaration of function 'dev_initfont' [-Wimplicit-function-declaration] - 184 | dev_initfont(); - | ^~~~~~~~~~~~ -dvi2.c:185:5: warning: implicit declaration of function 'scanfont'; did you mean 'scanf'? [-Wimplicit-function-declaration] - 185 | scanfont(PreLoad, &hdfontidx); - | ^~~~~~~~ - | scanf -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o writet1.o writet1.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psspecial.o psspecial.c -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o pscolor.o pscolor.c -dvi2.c:187:5: warning: implicit declaration of function 'dev_prologue' [-Wimplicit-function-declaration] - 187 | dev_prologue(); - | ^~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psifont.o psifont.c -dvi2.c:188:5: warning: implicit declaration of function 'dev_setup'; did you mean 'add_setup'? [-Wimplicit-function-declaration] - 188 | dev_setup(); - | ^~~~~~~~~ - | add_setup -gcc -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -c -o psio.o psio.c -dvi2.c:212:5: warning: implicit declaration of function 'dev_endsetup' [-Wimplicit-function-declaration] - 212 | dev_endsetup(); - | ^~~~~~~~~~~~ -In file included from pstt2t1.c:30: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -In file included from pstt.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -dvi2.c:230:5: warning: implicit declaration of function 'dev_initpage' [-Wimplicit-function-declaration] - 230 | dev_initpage(); - | ^~~~~~~~~~~~ -dvi2.c:231:5: warning: implicit declaration of function 'initdir' [-Wimplicit-function-declaration] - 231 | initdir(); - | ^~~~~~~ -dvi2.c:232:5: warning: implicit declaration of function 'dviconv' [-Wimplicit-function-declaration] - 232 | dviconv(hdfontidx); - | ^~~~~~~ -dvi2.c:233:5: warning: implicit declaration of function 'dev_finish' [-Wimplicit-function-declaration] - 233 | dev_finish(); - | ^~~~~~~~~~ -dvi2.c: In function 'default_def': -dvi2.c:242:5: warning: implicit declaration of function 'add_def0' [-Wimplicit-function-declaration] - 242 | add_def0("TEXMF", kpse_var_value("TEXMF")); - | ^~~~~~~~ -dvi2.c:244:5: warning: implicit declaration of function 'init_default' [-Wimplicit-function-declaration] - 244 | init_default(MFMODE, KPSENAME); - | ^~~~~~~~~~~~ -In file included from defs.h:2, - from pstt2t1.c:33: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -In file included from defs.h:2, - from pstt.c:8: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -pstt2t1.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] - 45 | tt_type1_prologue1(fontname, fontfam) - | ^~~~~~~~~~~~~~~~~~ -pstt2t1.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] - 71 | tt_type1_prologue2() - | ^~~~~~~~~~~~~~~~~~ -pstt.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] - 24 | dev_ft_begfontdict(fe, maxc) - | ^~~~~~~~~~~~~~~~~~ -pstt2t1.c: In function 'tt_type1_prologue2': -pstt2t1.c:83:5: warning: implicit declaration of function 'begin_eexec' [-Wimplicit-function-declaration] - 83 | begin_eexec(); - | ^~~~~~~~~~~ -pstt2t1.c:84:5: warning: implicit declaration of function 'e_printf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] - 84 | e_printf("dup /Private 9 dict dup begin\n"); - | ^~~~~~~~ - | dprintf -pstt.c: In function 'dev_ft_begfontdict': -pstt.c:29:17: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] - 29 | fe->k = dev_newdevfont(); - | ^~~~~~~~~~~~~~ -pstt2t1.c: At top level: -pstt2t1.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] - 97 | tt_type1_prologue3() - | ^~~~~~~~~~~~~~~~~~ -pstt.c:34:5: warning: implicit declaration of function 'get_tfm_psbiops' [-Wimplicit-function-declaration] - 34 | get_tfm_psbiops(fe, &po); - | ^~~~~~~~~~~~~~~ -pstt2t1.c: In function 'tt_type1_prologue3': -pstt2t1.c:102:5: warning: implicit declaration of function 'charstring_start' [-Wimplicit-function-declaration] - 102 | charstring_start(); - | ^~~~~~~~~~~~~~~~ -pstt.c:35:12: warning: implicit declaration of function 'psgetfontsize' [-Wimplicit-function-declaration] - 35 | return psgetfontsize(&po); - | ^~~~~~~~~~~~~ -pstt2t1.c:103:5: warning: implicit declaration of function 'charstring_int' [-Wimplicit-function-declaration] - 103 | charstring_int(3); charstring_int(0); - | ^~~~~~~~~~~~~~ +psio.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] + 144 | pschar(c) + | ^~~~~~ +psio.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] + 156 | codetopsstr(code, n) + | ^~~~~~~~~~~ +psbi.c:864:9: warning: implicit declaration of function 'codetopsstr' [-Wimplicit-function-declaration] + 864 | codetopsstr(po->po_stand, po->po_stlen); + | ^~~~~~~~~~~ +psbi.c: At top level: +psbi.c:870:1: warning: return type defaults to 'int' [-Wimplicit-int] + 870 | getpd(pd) + | ^~~~~ +psio.c: In function 'codetopsstr': +psio.c:160:5: warning: implicit declaration of function 'c2pstr' [-Wimplicit-function-declaration] + 160 | c2pstr(code, n); + | ^~~~~~ pstt.c: In function 'dev_ft_initfontdict': pstt.c:49:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] 49 | end_string(); | ^~~~~~~~~~ | ps_string -pstt2t1.c:104:5: warning: implicit declaration of function 'charstring_com' [-Wimplicit-function-declaration] - 104 | charstring_com(callothersubr); - | ^~~~~~~~~~~~~~ +psio.c: At top level: +psbi.c: In function 'getpd': +psbi.c:874:23: warning: implicit declaration of function 'dev_newdevfont' [-Wimplicit-function-declaration] + 874 | pd->pd_font = dev_newdevfont(); + | ^~~~~~~~~~~~~~ +psio.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] + 164 | c2pstr(code, n) + | ^~~~~~ +psio.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] + 174 | cpfile(spfp, remcom, fn) + | ^~~~~~ +psifont.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] + 12 | ps_scanifont(str) + | ^~~~~~~~~~~~ pstt.c:54:5: warning: implicit declaration of function 'dev_setfont'; did you mean 'dev_getjsubfont'? [-Wimplicit-function-declaration] 54 | dev_setfont(ce->dev_font); | ^~~~~~~~~~~ | dev_getjsubfont -pstt2t1.c:109:5: warning: implicit declaration of function 'charstring_end' [-Wimplicit-function-declaration] - 109 | charstring_end(); - | ^~~~~~~~~~~~~~ -pstt2t1.c: At top level: -pstt2t1.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] - 138 | jtt_type1_prologue1(fontname, fontfam) - | ^~~~~~~~~~~~~~~~~~~ -pstt2t1.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] - 163 | jtt_type1_prologue2() - | ^~~~~~~~~~~~~~~~~~~ +psifont.c: In function 'ps_scanifont': +ttfont.c:287:9: warning: implicit declaration of function 'dev_fto_refontdict' [-Wimplicit-function-declaration] + 287 | dev_fto_refontdict(fe); + | ^~~~~~~~~~~~~~~~~~ pstt.c:62:10: warning: implicit declaration of function 'pscharbitmap' [-Wimplicit-function-declaration] 62 | if (!pscharbitmap(bw, bw, h, pixel)) { | ^~~~~~~~~~~~ -pstt2t1.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] - 194 | tt_type1_epilogue(a) - | ^~~~~~~~~~~~~~~~~ +ttfont.c:294:9: warning: implicit declaration of function 'read_null_fontinfo'; did you mean 'read_ft_fontinfo'? [-Wimplicit-function-declaration] + 294 | read_null_fontinfo(fe); + | ^~~~~~~~~~~~~~~~~~ + | read_ft_fontinfo +psifont.c:18:17: warning: implicit declaration of function 'ps_searchfile'; did you mean 'kpsearch_file'? [-Wimplicit-function-declaration] + 18 | if (found = ps_searchfile(str, newf)) { + | ^~~~~~~~~~~~~ + | kpsearch_file +psifont.c: In function 'scanifont': +psifont.c:63:9: warning: implicit declaration of function 'skipstrblank'; did you mean 'skipblanks'? [-Wimplicit-function-declaration] + 63 | skipstrblank(buffer+7, &n); + | ^~~~~~~~~~~~ + | skipblanks +psifont.c:64:14: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] + 64 | if (!getstrtok(n, ' ', &p)) { + | ^~~~~~~~~ + | strtok +psifont.c:74:13: warning: implicit declaration of function 'bp2sp' [-Wimplicit-function-declaration] + 74 | s = bp2sp(f); + | ^~~~~ pstt.c: At top level: +funcfont.c: In function 'exist_access': pstt.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] 70 | dev_fto_begfontdict(fe, famname, mark, maxc, remap) | ^~~~~~~~~~~~~~~~~~~ +funcfont.c:198:5: warning: implicit declaration of function 'pavek'; did you mean 'pave'? [-Wimplicit-function-declaration] + 198 | pavek(fe->name, &path, &base, proto, acca); + | ^~~~~ + | pave +psifont.c:123:21: warning: implicit declaration of function 'MarkChar' [-Wimplicit-function-declaration] + 123 | MarkChar(c); + | ^~~~~~~~ pstt.c: In function 'dev_fto_begfontdict': pstt.c:82:5: warning: implicit declaration of function 'fttobi' [-Wimplicit-function-declaration] 82 | fttobi(tfmfinfo(fe)->tfm_bf, dictname); | ^~~~~~ -In file included from psvfl.c:1: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -In file included from defs.h:1, - from psspecial.c:1: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -In file included from writet1.c:1: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -In file included from defs.h:1, - from psio.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -In file included from defs.h:1, - from pscolor.c:22: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -pstt2t1.c: In function 'tt_type1_epilogue': -pstt2t1.c:207:5: warning: implicit declaration of function 'end_eexec' [-Wimplicit-function-declaration] - 207 | end_eexec(); - | ^~~~~~~~~ -In file included from defs.h:1, - from pst1form.c:4: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition -In file included from defs.h:1, - from psifont.c:5: -conf.h:24:9: warning: 'ANSI' redefined - 24 | #define ANSI - | ^~~~ -: note: this is the location of the previous definition pstt.c:84:5: warning: implicit declaration of function 'tt_type1_prologue1' [-Wimplicit-function-declaration] 84 | tt_type1_prologue1(dictname, famname); | ^~~~~~~~~~~~~~~~~~ -pstt2t1.c: At top level: -pstt2t1.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] - 281 | PS_CharString(outline, cn, a) - | ^~~~~~~~~~~~~ +psifont.c: At top level: +psifont.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] + 135 | bp2sp(f) + | ^~~~~ +psifont.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] + 141 | useifont() + | ^~~~~~~~ +psifont.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] + 146 | ifont_setup() + | ^~~~~~~~~~~ pstt.c:85:5: warning: implicit declaration of function 'stdex_type1_encoding' [-Wimplicit-function-declaration] 85 | stdex_type1_encoding(mark, maxc, remap); | ^~~~~~~~~~~~~~~~~~~~ +ttfont.c:340:16: warning: implicit declaration of function 'dev_ft_begfontdict' [-Wimplicit-function-declaration] + 340 | tfmw = dev_ft_begfontdict(fe, bii->maxc); + | ^~~~~~~~~~~~~~~~~~ pstt.c:86:5: warning: implicit declaration of function 'tt_type1_prologue2' [-Wimplicit-function-declaration] 86 | tt_type1_prologue2(); | ^~~~~~~~~~~~~~~~~~ @@ -2652,11 +2865,27 @@ pstt.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] 91 | dev_fto_refontdict(fe) | ^~~~~~~~~~~~~~~~~~ +writet1.c: In function 'load_enc': +writet1.c:313:10: warning: implicit declaration of function 'enc_open' [-Wimplicit-function-declaration] + 313 | if (!enc_open()) { + | ^~~~~~~~ pstt.c: In function 'dev_fto_refontdict': pstt.c:96:5: warning: implicit declaration of function 'psfindfontop'; did you mean 'findfontop'? [-Wimplicit-function-declaration] 96 | psfindfontop(psfname(fe->k), &po); | ^~~~~~~~~~~~ | findfontop +writet1.c: At top level: +writet1.c:799:8: warning: return type defaults to 'int' [-Wimplicit-int] + 799 | static copy_glyph_names(char **glyph_names, int a, int b) + | ^~~~~~~~~~~~~~~~ +ttfont.c:359:13: warning: implicit declaration of function 'dev_ft_initfontdict' [-Wimplicit-function-declaration] + 359 | dev_ft_initfontdict(fe, tfmfi, i, + | ^~~~~~~~~~~~~~~~~~~ +writet1.c: In function 't1_open_fontfile': +writet1.c:1022:10: warning: implicit declaration of function 't1_open'; did you mean 'open'? [-Wimplicit-function-declaration] + 1022 | if (!t1_open()) + | ^~~~~~~ + | open pstt.c: In function 'dev_fto_initfontdict': pstt.c:106:5: warning: implicit declaration of function 'PS_CharString' [-Wimplicit-function-declaration] 106 | PS_CharString(outline, stdex_type1_charname(i), a); @@ -2674,6 +2903,35 @@ 120 | dev_jft_begfontdict(fe) | ^~~~~~~~~~~~~~~~~~~ pstt.c: In function 'dev_jft_begfontdict': +writet1.c: In function 't1_flush_cs': +writet1.c:1453:12: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] + 1453 | while (isdigit(*p)) + | ^~~~~~~ +writet1.c:30:1: note: include '' or provide a declaration of 'isdigit' + 29 | #include "dvips.h" + +++ |+#include + 30 | #ifndef KPATHSEA +writet1.c:1462:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] + 1462 | sprintf(t1_line, "dup %u %u", ptr - tab, ptr->cslen); + | ~^ ~~~~~~~~~ + | | | + | | long int + | unsigned int + | %lu +writet1.c: At top level: +writet1.c:1635:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1635 | t1_open() + | ^~~~~~~ +writet1.c:1641:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1641 | enc_open() + | ^~~~~~~~ +ttfont.c:367:16: warning: implicit declaration of function 'dev_fto_begfontdict' [-Wimplicit-function-declaration] + 367 | tfmw = dev_fto_begfontdict(fe, face->family_name, + | ^~~~~~~~~~~~~~~~~~~ +writet1.c: In function 'pdftex_fail': +writet1.c:1655:5: warning: implicit declaration of function 'Fatal' [-Wimplicit-function-declaration] + 1655 | Fatal(newfmt, a, b, c); + | ^~~~~ pstt.c:123:5: warning: implicit declaration of function 'get_jfm_psbiops' [-Wimplicit-function-declaration] 123 | get_jfm_psbiops(fe, &po); | ^~~~~~~~~~~~~~~ @@ -2686,15 +2944,32 @@ 195 | if (getpd(&pd)) { | ^~~~~ | getpid +writet1.c: In function 'pdftex_warn': +writet1.c:1666:5: warning: implicit declaration of function 'Warning' [-Wimplicit-function-declaration] + 1666 | Warning(newfmt, a, b, c); + | ^~~~~~~ +writet1.c: At top level: +writet1.c:1672:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1672 | t1_get_encode(encfile, glyphs) + | ^~~~~~~~~~~~~ +writet1.c:1685:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1685 | t1_free_encode(glyphs) + | ^~~~~~~~~~~~~~ pstt.c:198:9: warning: implicit declaration of function 'jtt_type1_prologue1' [-Wimplicit-function-declaration] 198 | jtt_type1_prologue1(dictname, jfamname); | ^~~~~~~~~~~~~~~~~~~ pstt.c:199:9: warning: implicit declaration of function 'cnum_type1_encoding' [-Wimplicit-function-declaration] 199 | cnum_type1_encoding(nc >= NPACKPSCHARS ? NPACKPSCHARS : nc); | ^~~~~~~~~~~~~~~~~~~ +ttfont.c:373:13: warning: implicit declaration of function 'dev_fto_initfontdict' [-Wimplicit-function-declaration] + 373 | dev_fto_initfontdict(remap[i], &(face->glyph->outline), + | ^~~~~~~~~~~~~~~~~~~~ pstt.c:200:9: warning: implicit declaration of function 'jtt_type1_prologue2' [-Wimplicit-function-declaration] 200 | jtt_type1_prologue2(); | ^~~~~~~~~~~~~~~~~~~ +ttfont.c:376:9: warning: implicit declaration of function 'dev_fto_endfontdict' [-Wimplicit-function-declaration] + 376 | dev_fto_endfontdict(fe); + | ^~~~~~~~~~~~~~~~~~~ pstt.c:205:28: warning: implicit declaration of function 'cnum_type1_charname'; did you mean 'chn_type1_charname'? [-Wimplicit-function-declaration] 205 | PS_CharString(outline, cnum_type1_charname(pd.pd_char), a); | ^~~~~~~~~~~~~~~~~~~ @@ -2703,6 +2978,10 @@ 207 | jfto_endfontdict(pd.pd_font); | ^~~~~~~~~~~~~~~~ | dev_fto_endfontdict +ttfont.c: In function 'read_jft_finfo': +ttfont.c:476:16: warning: implicit declaration of function 'dev_bold' [-Wimplicit-function-declaration] + 476 | embolden = dev_bold(jftfi->jft_bf); + | ^~~~~~~~ pstt.c: At top level: pstt.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 210 | dev_jfto_endfontdict() @@ -2715,6 +2994,9 @@ 220 | psfindsubfop(psfname(pd_font), &po); | ^~~~~~~~~~~~ pstt.c: In function 'dev_jft_initfe': +ttfont.c:501:13: warning: implicit declaration of function 'dev_jft_initfontdict' [-Wimplicit-function-declaration] + 501 | dev_jft_initfontdict(fe, jftfi, i, jis, tfmw, + | ^~~~~~~~~~~~~~~~~~~~ pstt.c:234:9: warning: implicit declaration of function 'bifpos_rel' [-Wimplicit-function-declaration] 234 | if (bifpos_rel(jfmfinfo(fe)->jfm_bf)) { | ^~~~~~~~~~ @@ -2722,26 +3004,6 @@ pstt.c:243:1: warning: return type defaults to 'int' [-Wimplicit-int] 243 | jft_setchar(c) | ^~~~~~~~~~~ -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition pstt.c: In function 'jft_setchar': pstt.c:249:37: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] 249 | ce = &(jftfinfo(curfontent)->ch[jis_to_idx94(c)]); @@ -2749,6 +3011,9 @@ pstt.c:250:5: warning: implicit declaration of function 'begin_string' [-Wimplicit-function-declaration] 250 | begin_string(); | ^~~~~~~~~~~~ +ttfont.c:510:9: warning: implicit declaration of function 'dev_jfto_begfontdict' [-Wimplicit-function-declaration] + 510 | dev_jfto_begfontdict(dname, face->family_name); + | ^~~~~~~~~~~~~~~~~~~~ pstt.c:251:5: warning: implicit declaration of function 'pschar'; did you mean 'putchar'? [-Wimplicit-function-declaration] 251 | pschar(ce->dev_char); | ^~~~~~ @@ -2761,6 +3026,9 @@ 264 | jft_setchar_abs(c) | ^~~~~~~~~~~~~~~ pstt.c: In function 'jft_setchar_abs': +ttfont.c:517:13: warning: implicit declaration of function 'dev_jfto_initfontdict' [-Wimplicit-function-declaration] + 517 | dev_jfto_initfontdict(jftfi, i, nchars--, + | ^~~~~~~~~~~~~~~~~~~~~ pstt.c:270:5: warning: implicit declaration of function 'dev_setposn_abs' [-Wimplicit-function-declaration] 270 | dev_setposn_abs(ps_h, ps_v); | ^~~~~~~~~~~~~~~ @@ -2779,7 +3047,14 @@ pstt.c:310:1: warning: return type defaults to 'int' [-Wimplicit-int] 310 | jsft_setchar(c) | ^~~~~~~~~~~~ +ttfont.c:520:9: warning: implicit declaration of function 'dev_jfto_endfontdict' [-Wimplicit-function-declaration] + 520 | dev_jfto_endfontdict(); + | ^~~~~~~~~~~~~~~~~~~~ pstt.c: In function 'jsft_setchar': +ttfont.c: In function 'read_jft_fontinfo': +ttfont.c:544:5: warning: implicit declaration of function 'dev_jft_initfe' [-Wimplicit-function-declaration] + 544 | dev_jft_initfe(fe); + | ^~~~~~~~~~~~~~ pstt.c:318:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] 318 | pschar(jsftfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_char); | ^~~~~~~~~~~~~ @@ -2793,267 +3068,38 @@ pstt.c:354:1: warning: return type defaults to 'int' [-Wimplicit-int] 354 | jsft_setstring_abs(s, len) | ^~~~~~~~~~~~~~~~~~ -psifont.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] - 12 | ps_scanifont(str) - | ^~~~~~~~~~~~ -psifont.c: In function 'ps_scanifont': -psifont.c:18:17: warning: implicit declaration of function 'ps_searchfile'; did you mean 'kpsearch_file'? [-Wimplicit-function-declaration] - 18 | if (found = ps_searchfile(str, newf)) { - | ^~~~~~~~~~~~~ - | kpsearch_file -psifont.c: In function 'scanifont': -psifont.c:63:9: warning: implicit declaration of function 'skipstrblank'; did you mean 'skipblanks'? [-Wimplicit-function-declaration] - 63 | skipstrblank(buffer+7, &n); - | ^~~~~~~~~~~~ - | skipblanks -psifont.c:64:14: warning: implicit declaration of function 'getstrtok'; did you mean 'strtok'? [-Wimplicit-function-declaration] - 64 | if (!getstrtok(n, ' ', &p)) { - | ^~~~~~~~~ - | strtok -psifont.c:74:13: warning: implicit declaration of function 'bp2sp' [-Wimplicit-function-declaration] - 74 | s = bp2sp(f); - | ^~~~~ -psifont.c:123:21: warning: implicit declaration of function 'MarkChar' [-Wimplicit-function-declaration] - 123 | MarkChar(c); - | ^~~~~~~~ -psifont.c: At top level: -psifont.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] - 135 | bp2sp(f) - | ^~~~~ -In file included from defs.h:2: -gdefs.h:16:9: warning: 'POSIX' redefined - 16 | #define POSIX - | ^~~~~ -: note: this is the location of the previous definition -psifont.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] - 141 | useifont() - | ^~~~~~~~ -psifont.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] - 146 | ifont_setup() - | ^~~~~~~~~~~ -psspecial.c: In function 'dev_predospecial': -psspecial.c:160:13: warning: implicit declaration of function 'ps_add_include'; did you mean 'add_include'? [-Wimplicit-function-declaration] - 160 | ps_add_include(p); - | ^~~~~~~~~~~~~~ - | add_include -psspecial.c:167:9: warning: implicit declaration of function 'background' [-Wimplicit-function-declaration] - 167 | background(p); - | ^~~~~~~~~~ -psspecial.c:177:13: warning: implicit declaration of function 'pushcolor' [-Wimplicit-function-declaration] - 177 | pushcolor(p, FALSE); - | ^~~~~~~~~ -psspecial.c:179:13: warning: implicit declaration of function 'popcolor' [-Wimplicit-function-declaration] - 179 | popcolor(FALSE); - | ^~~~~~~~ -psspecial.c:181:13: warning: implicit declaration of function 'resetcolorstack' [-Wimplicit-function-declaration] - 181 | resetcolorstack(p, FALSE); - | ^~~~~~~~~~~~~~~ -psspecial.c:227:13: warning: implicit declaration of function 'ps_scanifont' [-Wimplicit-function-declaration] - 227 | ps_scanifont(sf); - | ^~~~~~~~~~~~ -psspecial.c: At top level: -psspecial.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] - 232 | dev_outbangspecials() - | ^~~~~~~~~~~~~~~~~~~ -psspecial.c: In function 'dev_dospecial': -psspecial.c:264:5: warning: implicit declaration of function 'end_string'; did you mean 'ps_string'? [-Wimplicit-function-declaration] - 264 | end_string(); - | ^~~~~~~~~~ - | ps_string -psspecial.c:265:5: warning: implicit declaration of function 'dev_setposn' [-Wimplicit-function-declaration] - 265 | dev_setposn(h, v); - | ^~~~~~~~~~~ -psspecial.c:281:9: warning: implicit declaration of function 'dev_initfont' [-Wimplicit-function-declaration] - 281 | dev_initfont(); - | ^~~~~~~~~~~~ -psspecial.c:436:13: warning: implicit declaration of function 'scanfile'; did you mean 'scanf'? [-Wimplicit-function-declaration] - 436 | if (scanfile(sf, &llx, &lly, &urx, &ury)) { - | ^~~~~~~~ - | scanf -psspecial.c: In function 'dist': -psspecial.c:962:12: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] - 962 | static int dist(x1, y1, x2, y2) /* integer distance from x1,y1 to x2,y2 */ - | ^~~~ -psspecial.c:962:12: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] -psspecial.c:962:12: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] -psspecial.c:962:12: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] -pst1form.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] - 96 | stdex_type1_reencoding(mark, maxc, remap) - | ^~~~~~~~~~~~~~~~~~~~~~ -pst1form.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] - 135 | cnum_type1_encoding(nc) - | ^~~~~~~~~~~~~~~~~~~ -pst1form.c:161:1: warning: return type defaults to 'int' [-Wimplicit-int] - 161 | reencode(glyphs, mark, maxc, remap) - | ^~~~~~~~ -pst1form.c:184:1: warning: return type defaults to 'int' [-Wimplicit-int] - 184 | begin_eexec() - | ^~~~~~~~~~~ -pst1form.c: In function 'begin_eexec': -pst1form.c:186:5: warning: implicit declaration of function 'init_encrypt' [-Wimplicit-function-declaration] - 186 | init_encrypt(); - | ^~~~~~~~~~~~ -pst1form.c:188:5: warning: implicit declaration of function 'e_putchar'; did you mean 'putchar'? [-Wimplicit-function-declaration] - 188 | e_putchar(0); - | ^~~~~~~~~ - | putchar -pst1form.c: At top level: -pst1form.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] - 194 | end_eexec() - | ^~~~~~~~~ -pst1form.c: In function 'charstring_start': -pst1form.c:247:3: warning: implicit declaration of function 'init_cencrypt' [-Wimplicit-function-declaration] - 247 | init_cencrypt(); - | ^~~~~~~~~~~~~ -pst1form.c:249:24: warning: implicit declaration of function 'cencrypt_char' [-Wimplicit-function-declaration] - 249 | *charstring_bp++ = cencrypt_char((byte) 0); - | ^~~~~~~~~~~~~ -pst1form.c: In function 'charstring_byte': -pst1form.c:260:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] - 260 | fprintf(stderr, "error: charstring_buf full (%d bytes)\n", - | ~^ - | | - | int - | %ld - 261 | sizeof(charstring_buf)); - | ~~~~~~~~~~~~~~~~~~~~~~ - | | - | long unsigned int -pst1form.c: In function 'charstring_end': -pst1form.c:275:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 275 | sprintf(line, "%d %s ", charstring_bp - charstring_buf, cs_start); - | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | int long int - | %ld -pst1form.c:276:3: warning: implicit declaration of function 'e_printf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] - 276 | e_printf(line); - | ^~~~~~~~ - | dprintf -pst1form.c: At top level: -pst1form.c:341:1: warning: return type defaults to 'int' [-Wimplicit-int] - 341 | charstring_com(com) - | ^~~~~~~~~~~~~~ -pst1form.c:351:1: warning: return type defaults to 'int' [-Wimplicit-int] - 351 | e_printf(form, i0, i1, i2, i3, i4, i5, i6, i7, i8, i9) - | ^~~~~~~~ -pst1form.c: In function 'e_printf': -pst1form.c:351:1: warning: type of 'i0' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i1' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i2' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i3' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i4' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i5' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i6' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i7' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i8' defaults to 'int' [-Wimplicit-int] -pst1form.c:351:1: warning: type of 'i9' defaults to 'int' [-Wimplicit-int] -pst1form.c: At top level: -pst1form.c:363:1: warning: return type defaults to 'int' [-Wimplicit-int] - 363 | e_putchar(plain) - | ^~~~~~~~~ -pst1form.c: In function 'e_putchar': -psio.c: In function 'ps_add_include': -pst1form.c:366:25: warning: implicit declaration of function 'encrypt_char' [-Wimplicit-function-declaration] - 366 | EMIT(outfp, "%02X", encrypt_char(plain)); - | ^~~~~~~~~~~~ -psio.c:34:17: warning: implicit declaration of function 'ps_searchfile'; did you mean 'kpsearch_file'? [-Wimplicit-function-declaration] - 34 | if (found = ps_searchfile(str, newf)) { - | ^~~~~~~~~~~~~ - | kpsearch_file -pst1form.c: At top level: -pst1form.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] - 379 | init_encrypt() - | ^~~~~~~~~~~~ -pst1form.c:384:1: warning: return type defaults to 'int' [-Wimplicit-int] - 384 | init_cencrypt() - | ^~~~~~~~~~~~~ -pst1form.c:389:1: warning: return type defaults to 'int' [-Wimplicit-int] - 389 | encrypt_char(plain) - | ^~~~~~~~~~~~ -pst1form.c:399:1: warning: return type defaults to 'int' [-Wimplicit-int] - 399 | cencrypt_char(plain) - | ^~~~~~~~~~~~~ -psio.c:35:9: warning: implicit declaration of function 'add_include_spec'; did you mean 'add_include'? [-Wimplicit-function-declaration] - 35 | add_include_spec(found == SEARCH_ORIG ? str : newf, dev_copyfile); - | ^~~~~~~~~~~~~~~~ - | add_include -psio.c: In function 'ps_add_setup': -psio.c:48:9: warning: implicit declaration of function 'add_setup_spec'; did you mean 'add_setup'? [-Wimplicit-function-declaration] - 48 | add_setup_spec(found == SEARCH_ORIG ? str : newf, dev_copyfile); - | ^~~~~~~~~~~~~~ - | add_setup -psio.c: At top level: -psio.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] - 68 | ps_searchfile(f, newf) - | ^~~~~~~~~~~~~ -psio.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] - 144 | pschar(c) - | ^~~~~~ -psio.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] - 156 | codetopsstr(code, n) +ttfont.c:545:12: warning: implicit declaration of function 'dev_jft_begfontdict' [-Wimplicit-function-declaration] + 545 | tfmw = dev_jft_begfontdict(fe); + | ^~~~~~~~~~~~~~~~~~~ +In function 'createpipe', + inlined from 'ps_createpipe' at psio.c:107:5: +psio.c:247:11: warning: argument 1 null where non-null expected [-Wnonnull] + 247 | (void)pclose(spfp); + | ^~~~~~~~~~~~ +In file included from gdefs.h:5: +/usr/include/stdio.h: In function 'ps_createpipe': +/usr/include/stdio.h:887:12: note: in a call to function 'pclose' declared 'nonnull' + 887 | extern int pclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +ttfont.c: In function 'jft_fontdict': +ttfont.c:562:29: warning: implicit declaration of function 'jis_to_idx94' [-Wimplicit-function-declaration] + 562 | return jftfinfo(fe)->ch[jis_to_idx94(c)].dev_font; + | ^~~~~~~~~~~~ +ttfont.c: In function 'read_jsft_fontinfo': +ttfont.c:603:5: warning: implicit declaration of function 'dev_jsft_initfe' [-Wimplicit-function-declaration] + 603 | dev_jsft_initfe(fe); + | ^~~~~~~~~~~~~~~ +ttfont.c:608:16: warning: implicit declaration of function 'dev_jsft_begfontdict' [-Wimplicit-function-declaration] + 608 | tfmw = dev_jsft_begfontdict(fe); + | ^~~~~~~~~~~~~~~~~~~~ +ttfont.c: In function 'jsft_fontdict': +ttfont.c:627:32: warning: implicit declaration of function 'jsub_to_idx94' [-Wimplicit-function-declaration] + 627 | return jsftfinfo(jsfi)->ch[jsub_to_idx94(jsfi->jsubfont,c)].dev_font; + | ^~~~~~~~~~~~~ +ttfont.c: At top level: +ttfont.c:633:1: warning: return type defaults to 'int' [-Wimplicit-int] + 633 | trim_bitmap(wid, bwid, hgt, xo, dep, pixel, nwid, nhgt, nxo, ndep, npixel) | ^~~~~~~~~~~ -writet1.c: In function 'load_enc': -writet1.c:313:10: warning: implicit declaration of function 'enc_open' [-Wimplicit-function-declaration] - 313 | if (!enc_open()) { - | ^~~~~~~~ -psio.c: In function 'codetopsstr': -psio.c:160:5: warning: implicit declaration of function 'c2pstr' [-Wimplicit-function-declaration] - 160 | c2pstr(code, n); - | ^~~~~~ -psio.c: At top level: -psio.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] - 164 | c2pstr(code, n) - | ^~~~~~ -psio.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] - 174 | cpfile(spfp, remcom, fn) - | ^~~~~~ -writet1.c: At top level: -writet1.c:799:8: warning: return type defaults to 'int' [-Wimplicit-int] - 799 | static copy_glyph_names(char **glyph_names, int a, int b) - | ^~~~~~~~~~~~~~~~ -writet1.c: In function 't1_open_fontfile': -writet1.c:1022:10: warning: implicit declaration of function 't1_open'; did you mean 'open'? [-Wimplicit-function-declaration] - 1022 | if (!t1_open()) - | ^~~~~~~ - | open -writet1.c: In function 't1_flush_cs': -writet1.c:1453:12: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] - 1453 | while (isdigit(*p)) - | ^~~~~~~ -writet1.c:30:1: note: include '' or provide a declaration of 'isdigit' - 29 | #include "dvips.h" - +++ |+#include - 30 | #ifndef KPATHSEA -writet1.c:1462:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] - 1462 | sprintf(t1_line, "dup %u %u", ptr - tab, ptr->cslen); - | ~^ ~~~~~~~~~ - | | | - | | long int - | unsigned int - | %lu -writet1.c: At top level: -writet1.c:1635:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1635 | t1_open() - | ^~~~~~~ -writet1.c:1641:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1641 | enc_open() - | ^~~~~~~~ -writet1.c: In function 'pdftex_fail': -writet1.c:1655:5: warning: implicit declaration of function 'Fatal' [-Wimplicit-function-declaration] - 1655 | Fatal(newfmt, a, b, c); - | ^~~~~ -writet1.c: In function 'pdftex_warn': -writet1.c:1666:5: warning: implicit declaration of function 'Warning' [-Wimplicit-function-declaration] - 1666 | Warning(newfmt, a, b, c); - | ^~~~~~~ -writet1.c: At top level: -writet1.c:1672:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1672 | t1_get_encode(encfile, glyphs) - | ^~~~~~~~~~~~~ -writet1.c:1685:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1685 | t1_free_encode(glyphs) - | ^~~~~~~~~~~~~~ pstt.c: In function 'dev_fto_begfontdict': pstt.c:81:32: warning: '-TT' directive writing 3 bytes into a region of size between 1 and 257 [-Wformat-overflow=] 81 | (void)sprintf(dictname, "%s-TT%d", fe->n, fe->k); @@ -3069,22 +3115,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In function 'createpipe', - inlined from 'ps_createpipe' at psio.c:107:5: -psio.c:247:11: warning: argument 1 null where non-null expected [-Wnonnull] - 247 | (void)pclose(spfp); - | ^~~~~~~~~~~~ -In file included from gdefs.h:5: -/usr/include/stdio.h: In function 'ps_createpipe': -/usr/include/stdio.h:887:12: note: in a call to function 'pclose' declared 'nonnull' - 887 | extern int pclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -Wl,-z,relro -Wl,-z,now -o dvi2ps dvi2.o dviconv.o dfdcom.o fontcom.o set.o rfset.o vfset.o dconv.o run.o mag.o fontdesc.o scanfont.o virfont.o vfdcom.o pkfont.o gffont.o rastfont.o bifont.o type1font.o wlfont.o ttfont.o vflfont.o mmfont.o compfont.o decompfont.o execfont.o funcfont.o kpse.o kanji.o open.o io.o util.o xxstdio.o version.o ps.o psrast.o psbi.o pstfm.o pstype1.o pswl.o pstt.o pstt2t1.o psvfl.o pst1form.o writet1.o psspecial.o pscolor.o psifont.o psio.o -lm -lVFlib3 -lfreetype -lkpathsea -lm +/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -Wl,-z,relro -Wl,-z,now -o dvi2ps dvi2.o dviconv.o dfdcom.o fontcom.o set.o rfset.o vfset.o dconv.o run.o mag.o fontdesc.o scanfont.o virfont.o vfdcom.o pkfont.o gffont.o rastfont.o bifont.o type1font.o wlfont.o ttfont.o vflfont.o mmfont.o compfont.o decompfont.o execfont.o funcfont.o kpse.o kanji.o open.o io.o util.o xxstdio.o version.o ps.o psrast.o psbi.o pstfm.o pstype1.o pswl.o pstt.o pstt2t1.o psvfl.o pst1form.o writet1.o psspecial.o pscolor.o psifont.o psio.o -lm -lVFlib3 -lfreetype -lkpathsea -lm libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI -Wl,-z -Wl,relro -Wl,-z -Wl,now -o dvi2ps dvi2.o dviconv.o dfdcom.o fontcom.o set.o rfset.o vfset.o dconv.o run.o mag.o fontdesc.o scanfont.o virfont.o vfdcom.o pkfont.o gffont.o rastfont.o bifont.o type1font.o wlfont.o ttfont.o vflfont.o mmfont.o compfont.o decompfont.o execfont.o funcfont.o kpse.o kanji.o open.o io.o util.o xxstdio.o version.o ps.o psrast.o psbi.o pstfm.o pstype1.o pswl.o pstt.o pstt2t1.o psvfl.o pst1form.o writet1.o psspecial.o pscolor.o psifont.o psio.o -lVFlib3 -lfreetype -lkpathsea -lm make[3]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j' make[2]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j' dh_auto_build -- lprdvi newlib CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI' - make -j40 lprdvi newlib "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI" + make -j42 lprdvi newlib "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -DPOSIX -DSYSV -DANSI" make[2]: Entering directory '/build/reproducible-path/dvi2ps-5.1j' sed -e s,'%%ETCAREA%%',/etc, \ -e s,'%%FONTDESC%%',`./confval dvi2ps.conf FONTDESC`, \ @@ -3092,29 +3128,29 @@ -e s,'%%TOPMARGIN%%',`./confval dvi2ps.conf TOPMARGIN`, \ tools/lprdvi.templ > lprdvi mkdir lib lib/headers -mkdir lib lib/headers -mkdir lib lib/headers -mkdir lib lib/headers ./tools/psstrip < dvi2.psdoc | \ sed -e s/'##XCOORD##'/`./confval dvi2ps.conf LEFTMARGIN`/ \ -e s/'##YCOORD##'/`./confval dvi2ps.conf TOPMARGIN`/ \ > lib/headers/dvi2.ps -mkdir: cannot create directory 'lib': File exists -mkdir: cannot create directory 'lib/headers': File exists +mkdir lib lib/headers mkdir: cannot create directory 'lib': File exists mkdir: cannot create directory 'lib/headers': File exists make[2]: [Makefile:1112: lib/headers/special.ps] Error 1 (ignored) ./tools/psstrip < special.psdoc > lib/headers/special.ps +mkdir lib lib/headers +mkdir lib lib/headers mkdir: cannot create directory 'lib': File exists mkdir: cannot create directory 'lib/headers': File exists make[2]: [Makefile:1115: lib/headers/psifont.ps] Error 1 (ignored) ./tools/psstrip < psifont.psdoc > lib/headers/psifont.ps +mkdir: cannot create directory 'lib': File exists +mkdir: cannot create directory 'lib/headers': File exists make[2]: [Makefile:1118: lib/headers/color.ps] Error 1 (ignored) ./tools/psstrip < color.psdoc > lib/headers/color.ps cat lib/headers/dvi2.ps lib/headers/special.ps > lib/dvi2.ps make[2]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j' dh_auto_build --buildsystem=makefile --sourcedirectory=tools -- -f ../debian/Makefile.tools - cd tools && make -j40 "INSTALL=install --strip-program=true" -f ../debian/Makefile.tools + cd tools && make -j42 "INSTALL=install --strip-program=true" -f ../debian/Makefile.tools make[2]: Entering directory '/build/reproducible-path/dvi2ps-5.1j/tools' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wno-error=incompatible-pointer-types -o texfix texfix.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvi2ps-5.1j=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -Wno-error=implicit-int -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wno-error=incompatible-pointer-types -o nup nup.c @@ -3265,7 +3301,7 @@ make[2]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j/tools' make[1]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j' dh_auto_test - make -j40 check "TESTSUITEFLAGS=-j40 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/dvi2ps-5.1j' make[1]: Leaving directory '/build/reproducible-path/dvi2ps-5.1j' create-stamp debian/debhelper-build-stamp @@ -3277,7 +3313,7 @@ make[2]: Entering directory '/build/reproducible-path/dvi2ps-5.1j' make[3]: Entering directory '/build/reproducible-path/dvi2ps-5.1j' /usr/bin/mkdir -p '/build/reproducible-path/dvi2ps-5.1j/debian/dvi2ps/usr/bin' - /bin/bash ./libtool --mode=install /usr/bin/install -c dvi2ps '/build/reproducible-path/dvi2ps-5.1j/debian/dvi2ps/usr/bin' + /bin/sh ./libtool --mode=install /usr/bin/install -c dvi2ps '/build/reproducible-path/dvi2ps-5.1j/debian/dvi2ps/usr/bin' libtool: install: /usr/bin/install -c dvi2ps /build/reproducible-path/dvi2ps-5.1j/debian/dvi2ps/usr/bin/dvi2ps mkdir /build/reproducible-path/dvi2ps-5.1j/debian/dvi2ps/usr/lib/dvi2ps mkdir /build/reproducible-path/dvi2ps-5.1j/debian/dvi2ps/usr/lib/dvi2ps/headers @@ -3346,12 +3382,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/2977011/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2977011/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/1173907 and its subdirectories -I: Current time: Mon Sep 8 14:01:27 -12 2025 -I: pbuilder-time-stamp: 1757383287 +I: removing directory /srv/workspace/pbuilder/2977011 and its subdirectories +I: Current time: Mon Oct 12 22:25:46 +14 2026 +I: pbuilder-time-stamp: 1791793546