=>> Building japanese/dvi2tty build started at Wed Oct 1 17:37:35 EDT 2025 port directory: /usr/ports/japanese/dvi2tty package name: ja-dvi2tty-ascii-5.0_3 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: TsurutaniNaoki@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 785 Aug 27 2024 /usr/ports/japanese/dvi2tty/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 4762eb84da58 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- TsurutaniNaoki@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work/.cache HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/dvi2tty/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/dvi2tty/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work/.cache HOME=/wrkdirs/usr/ports/japanese/dvi2tty/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/dvi2tty/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/dvi2tty/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dvi2tty" EXAMPLESDIR="share/examples/dvi2tty" DATADIR="share/dvi2tty" WWWDIR="www/dvi2tty" ETCDIR="etc/dvi2tty" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dvi2tty DOCSDIR=/usr/local/share/doc/dvi2tty EXAMPLESDIR=/usr/local/share/examples/dvi2tty WWWDIR=/usr/local/www/dvi2tty ETCDIR=/usr/local/etc/dvi2tty --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-dvi2tty-ascii-5.0_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> ja-dvi2tty-ascii-5.0_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-dvi2tty-ascii-5.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-dvi2tty-ascii-5.0_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-dvi2tty-ascii-5.0_3 for building => SHA256 Checksum OK for dvi2tty5.0.tar.gz. => SHA256 Checksum OK for dvi2tty-ascii-jtex-patch. => SHA256 Checksum OK for dvi2tty.c-patch. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-dvi2tty-ascii-5.0_3 for building ===> Extracting for ja-dvi2tty-ascii-5.0_3 ===> Fetching all distfiles required by ja-dvi2tty-ascii-5.0_3 for building => SHA256 Checksum OK for dvi2tty5.0.tar.gz. => SHA256 Checksum OK for dvi2tty-ascii-jtex-patch. => SHA256 Checksum OK for dvi2tty.c-patch. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-dvi2tty-ascii-5.0_3 ===> Applying distribution patches for ja-dvi2tty-ascii-5.0_3 /usr/bin/sed -i.bak -e "s/getline/get_line/g" /wrkdirs/usr/ports/japanese/dvi2tty/work/dvi2tty5.0/dvistuff.c =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-dvi2tty-ascii-5.0_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ja-dvi2tty-ascii-5.0_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-dvi2tty-ascii-5.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-dvi2tty-ascii-5.0_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-dvi2tty-ascii-5.0_3 --- dvi2tty.o --- --- dvistuff.o --- --- disdvi.o --- --- dvi2tty.o --- cc -s -c dvi2tty.c -o dvi2tty.o --- dvistuff.o --- cc -s -c dvistuff.c -o dvistuff.o --- disdvi.o --- cc -s -c disdvi.c -o disdvi.o --- dvi2tty.o --- cc: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] dvi2tty.c:207:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 207 | FILE * popen (); | ^ /usr/include/stdio.h:334:7: note: conflicting prototype is here 334 | FILE *popen(const char *, const char *); | ^ dvi2tty.c:212:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 212 | void main (); | ^ dvi2tty.c:212:1: note: change return type to 'int' 212 | void main (); | ^~~~ | int dvi2tty.c:234:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 234 | void main(argc, argv) | ^ dvi2tty.c:234:1: note: change return type to 'int' 234 | void main(argc, argv) | ^~~~ | int dvi2tty.c:254:18: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | errorexit(filop); /* can't open dvifile */ | ^ dvi2tty.c:258:22: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | errorexit(filcr); | ^ dvi2tty.c:266:22: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | if (pager && isatty(fileno(output))) { /* try to pipe to a pager */ | ^ dvi2tty.c:268:26: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | errorexit(pipcr); /* make output to output */ | ^ dvi2tty.c:282:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | exit(0); | ^ dvi2tty.c:282:5: note: include the header or explicitly provide a declaration for 'exit' dvi2tty.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | void main(argc, argv) | ^ dvi2tty.c:212:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | void main (); | ^ dvi2tty.c:298:14: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | usage(ign); | ^ dvi2tty.c:315:23: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | if ((path = getenv("PAGER")) == NULL) /* find default pathname of page */ | ^ dvi2tty.c:343:23: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | if ((envp = getenv("DVI2TTY")) != NULL) { /* } keep vi happy */ | ^ dvi2tty.c:357:30: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | usage(noarg); | ^ dvi2tty.c:366:26: warning: passing arguments to 'setoption' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | setoption(str); | ^ dvi2tty.c:369:22: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | usage(bdopt); | ^ dvi2tty.c:383:22: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | usage(onef); | ^ dvi2tty.c:384:21: warning: passing arguments to 'getfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | getfname(str); | ^ dvi2tty.c:391:26: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | usage(noarg); | ^ dvi2tty.c:394:22: warning: passing arguments to 'setoption' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | setoption(str); | ^ dvi2tty.c:397:18: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | usage(bdopt); | ^ dvi2tty.c:401:14: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | usage(ign); | ^ dvi2tty.c:360:25: warning: expression result unused [-Wunused-value] 360 | *envp++; /* set envp just after optarg */ | ^~~~~~~ dvi2tty.c:421:22: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | case 'h' : usage(ign); break; | ^ dvi2tty.c:439:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | usage(onepp); | ^ dvi2tty.c:440:32: warning: passing arguments to 'getpages' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | getpages(j, optarg); | ^ dvi2tty.c:443:24: warning: passing arguments to 'getinteger' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (getinteger(&ttywidth, &j, optarg)) | ^ dvi2tty.c:444:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | usage(nan); | ^ dvi2tty.c:446:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | usage(gae); | ^ dvi2tty.c:448:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | usage(wrnge); | ^ dvi2tty.c:451:24: warning: passing arguments to 'getinteger' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | if (getinteger(&espace, &j, optarg)) | ^ dvi2tty.c:452:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | usage(nan); | ^ dvi2tty.c:454:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | usage(gae); | ^ dvi2tty.c:457:21: warning: passing arguments to 'getlong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (getlong(&lineheight, &j, optarg)) | ^ dvi2tty.c:458:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | usage(nan); | ^ dvi2tty.c:460:33: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | usage(gae); | ^ dvi2tty.c:470:29: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | usage(bdopt); | ^ dvi2tty.c:476:26: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | usage(noarg); | ^ dvi2tty.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void setoption(optarg) | ^ dvi2tty.c:214:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | void setoption (); | ^ dvi2tty.c:500:35: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | firstpage = (printlisttype *) malloc(sizeof(printlisttype)); | ^ dvi2tty.c:500:35: note: include the header or explicitly provide a declaration for 'malloc' dvi2tty.c:506:19: warning: passing arguments to 'getinteger' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | if (getinteger(&num, &j, str)) | ^ dvi2tty.c:507:14: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | usage(nan); | ^ dvi2tty.c:508:11: warning: passing arguments to 'plcnxt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | plcnxt((int) num); | ^ dvi2tty.c:513:27: warning: passing arguments to 'getinteger' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | if (getinteger(&num, &j, str)) | ^ dvi2tty.c:514:22: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | usage(nan); | ^ dvi2tty.c:519:19: warning: passing arguments to 'plcnxt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | plcnxt(num); | ^ dvi2tty.c:524:27: warning: passing arguments to 'plcnxt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | plcnxt(num); | ^ dvi2tty.c:528:31: warning: passing arguments to 'plcnxt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | plcnxt(i); | ^ dvi2tty.c:530:26: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | usage(bdlst); | ^ dvi2tty.c:534:26: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | usage(bdlst); | ^ dvi2tty.c:536:27: warning: passing arguments to 'plcnxt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | plcnxt(i); | ^ dvi2tty.c:540:36: warning: comparison between pointer and integer ('char' and 'void *') [-Wpointer-integer-compare] 540 | if ((str[j] != ' ') && (str[j] != NULL)) { | ~~~~~~ ^ ~~~~ dvi2tty.c:541:14: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | usage(gae); | ^ dvi2tty.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | void getpages(j, str) | ^ dvi2tty.c:216:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | void getpages (); | ^ dvi2tty.c:555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | void plcnxt(pagnr) | ^ dvi2tty.c:217:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | void plcnxt (); | ^ dvi2tty.c:584:14: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | usage(ign); | ^ dvi2tty.c:577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | void getfname(str) | ^ dvi2tty.c:218:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | void getfname (); | ^ dvi2tty.c:611:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | int getinteger(dest, j, str) | ^ dvi2tty.c:219:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | int getinteger(); | ^ dvi2tty.c:650:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | int getlong(dest, j, str) | ^ dvi2tty.c:220:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | int getlong (); | ^ dvi2tty.c:745:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | unlink(OUTfilename); | ^ dvi2tty.c:688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | void errorexit(errorcode) | ^ In file included from dvi2tty.c:104: ./dvi2tty.h:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | void errorexit(); | ^ dvi2tty.c:759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | void usage(uerr) | ^ dvi2tty.c:221:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 221 | void usage (); | ^ 70 warnings generated. --- dvistuff.o --- cc: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] dvistuff.c:248:22: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | errorexit(nopst); | ^ dvistuff.c:250:24: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | opcode = (int) get1(); | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:255:19: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | errorexit(fwsgn); | ^ dvistuff.c:258:18: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | errorexit(badid); | ^ dvistuff.c:260:20: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | mseek(DVIfile, sget4(), absolute); /* and to start of postamble */ | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:261:9: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if (get1() != POST) | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:262:18: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | errorexit(nopst); | ^ dvistuff.c:265:20: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | maxpagewidth = sget4(); | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:267:22: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | stackmax = (int) get2(); | ^ dvistuff.c:63:28: note: expanded from macro 'get2' 63 | #define get2() num(2) | ^ dvistuff.c:268:32: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | if ((stack = (stackitem *) malloc(stackmax * sizeof(stackitem))) == NULL) | ^ dvistuff.c:268:32: note: include the header or explicitly provide a declaration for 'malloc' dvistuff.c:269:17: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | errorexit(stkrq); | ^ dvistuff.c:289:18: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | errorexit(nopre); | ^ dvistuff.c:290:20: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | opcode = (int) get1(); /* check id in preamble, ignore rest of it */ | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:292:18: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | errorexit(badid); | ^ dvistuff.c:294:20: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | mseek(DVIfile, get1(), relative); /* skip job identification */ | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:314:22: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | errorexit(nobop); | ^ dvistuff.c:317:18: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | pagenr = sget4(); /* get TeX page number */ | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:319:23: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | backpointer = sget4(); /* get previous page offset */ | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:321:30: warning: passing arguments to 'inlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | wantpage = inlist(sequenceon ? pagecounter : pagenr); | ^ dvistuff.c:359:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 359 | else | ^ dvistuff.c:366:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 366 | else | ^ dvistuff.c:383:28: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | while ((opcode = (int) get1()) != EOP) { /* process page until eop */ | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:385:19: warning: passing arguments to 'dochar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | dochar((char) opcode); | ^ dvistuff.c:387:20: warning: passing arguments to 'setfont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | setfont(opcode - FONT_00); | ^ dvistuff.c:389:22: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | errorexit(illop); | ^ dvistuff.c:392:41: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | case SET1 : setchar(get1()); break; | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:392:40: warning: passing arguments to 'setchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | case SET1 : setchar(get1()); break; | ^ dvistuff.c:393:41: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | case SET2 : dokanji(get2()); break; | ^ dvistuff.c:63:28: note: expanded from macro 'get2' 63 | #define get2() num(2) | ^ dvistuff.c:393:40: warning: passing arguments to 'dokanji' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | case SET2 : dokanji(get2()); break; | ^ dvistuff.c:394:41: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | case SET3 : setchar(get3()); break; | ^ dvistuff.c:64:28: note: expanded from macro 'get3' 64 | #define get3() num(3) | ^ dvistuff.c:394:40: warning: passing arguments to 'setchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | case SET3 : setchar(get3()); break; | ^ dvistuff.c:395:41: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | case SET4 : setchar(get4()); break; | ^ dvistuff.c:65:28: note: expanded from macro 'get4' 65 | #define get4() num(4) | ^ dvistuff.c:395:40: warning: passing arguments to 'setchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | case SET4 : setchar(get4()); break; | ^ dvistuff.c:396:49: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | case SET_RULE : { long height = sget4(); | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:397:46: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | rule(MOVE, sget4(), height); break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:397:39: warning: passing arguments to 'rule' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | rule(MOVE, sget4(), height); break; | ^ dvistuff.c:399:46: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | case PUT1 : putcharacter(get1()); break; | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:399:45: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | case PUT1 : putcharacter(get1()); break; | ^ dvistuff.c:400:46: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | case PUT2 : putcharacter(get2()); break; | ^ dvistuff.c:63:28: note: expanded from macro 'get2' 63 | #define get2() num(2) | ^ dvistuff.c:400:45: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | case PUT2 : putcharacter(get2()); break; | ^ dvistuff.c:401:46: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | case PUT3 : putcharacter(get3()); break; | ^ dvistuff.c:64:28: note: expanded from macro 'get3' 64 | #define get3() num(3) | ^ dvistuff.c:401:45: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | case PUT3 : putcharacter(get3()); break; | ^ dvistuff.c:402:46: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | case PUT4 : putcharacter(get4()); break; | ^ dvistuff.c:65:28: note: expanded from macro 'get4' 65 | #define get4() num(4) | ^ dvistuff.c:402:45: warning: passing arguments to 'putcharacter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | case PUT4 : putcharacter(get4()); break; | ^ dvistuff.c:403:49: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | case PUT_RULE : { long height = sget4(); | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:404:46: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | rule(STAY, sget4(), height); break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:404:39: warning: passing arguments to 'rule' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | rule(STAY, sget4(), height); break; | ^ dvistuff.c:407:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | case BOP : errorexit(bdbop); break; | ^ dvistuff.c:410:47: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | errorexit(stkof); | ^ dvistuff.c:420:46: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | errorexit(stkuf); | ^ dvistuff.c:428:55: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | case RIGHT1 : (void) horizontalmove(sget1()); break; | ^ dvistuff.c:66:29: note: expanded from macro 'sget1' 66 | #define sget1() snum(1) | ^ dvistuff.c:428:54: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | case RIGHT1 : (void) horizontalmove(sget1()); break; | ^ dvistuff.c:429:55: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | case RIGHT2 : (void) horizontalmove(sget2()); break; | ^ dvistuff.c:67:29: note: expanded from macro 'sget2' 67 | #define sget2() snum(2) | ^ dvistuff.c:429:54: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | case RIGHT2 : (void) horizontalmove(sget2()); break; | ^ dvistuff.c:430:55: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | case RIGHT3 : (void) horizontalmove(sget3()); break; | ^ dvistuff.c:68:29: note: expanded from macro 'sget3' 68 | #define sget3() snum(3) | ^ dvistuff.c:430:54: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | case RIGHT3 : (void) horizontalmove(sget3()); break; | ^ dvistuff.c:431:55: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | case RIGHT4 : (void) horizontalmove(sget4()); break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:431:54: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | case RIGHT4 : (void) horizontalmove(sget4()); break; | ^ dvistuff.c:433:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | case W1 : w = horizontalmove(sget1()); break; | ^ dvistuff.c:66:29: note: expanded from macro 'sget1' 66 | #define sget1() snum(1) | ^ dvistuff.c:433:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | case W1 : w = horizontalmove(sget1()); break; | ^ dvistuff.c:434:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | case W2 : w = horizontalmove(sget2()); break; | ^ dvistuff.c:67:29: note: expanded from macro 'sget2' 67 | #define sget2() snum(2) | ^ dvistuff.c:434:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | case W2 : w = horizontalmove(sget2()); break; | ^ dvistuff.c:435:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | case W3 : w = horizontalmove(sget3()); break; | ^ dvistuff.c:68:29: note: expanded from macro 'sget3' 68 | #define sget3() snum(3) | ^ dvistuff.c:435:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | case W3 : w = horizontalmove(sget3()); break; | ^ dvistuff.c:436:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | case W4 : w = horizontalmove(sget4()); break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:436:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | case W4 : w = horizontalmove(sget4()); break; | ^ dvistuff.c:438:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | case X1 : x = horizontalmove(sget1()); break; | ^ dvistuff.c:66:29: note: expanded from macro 'sget1' 66 | #define sget1() snum(1) | ^ dvistuff.c:438:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | case X1 : x = horizontalmove(sget1()); break; | ^ dvistuff.c:439:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | case X2 : x = horizontalmove(sget2()); break; | ^ dvistuff.c:67:29: note: expanded from macro 'sget2' 67 | #define sget2() snum(2) | ^ dvistuff.c:439:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | case X2 : x = horizontalmove(sget2()); break; | ^ dvistuff.c:440:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | case X3 : x = horizontalmove(sget3()); break; | ^ dvistuff.c:68:29: note: expanded from macro 'sget3' 68 | #define sget3() snum(3) | ^ dvistuff.c:440:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | case X3 : x = horizontalmove(sget3()); break; | ^ dvistuff.c:441:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | case X4 : x = horizontalmove(sget4()); break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:441:51: warning: passing arguments to 'horizontalmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | case X4 : x = horizontalmove(sget4()); break; | ^ dvistuff.c:442:38: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | case DOWN1 : v += sget1(); break; | ^ dvistuff.c:66:29: note: expanded from macro 'sget1' 66 | #define sget1() snum(1) | ^ dvistuff.c:443:38: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | case DOWN2 : v += sget2(); break; | ^ dvistuff.c:67:29: note: expanded from macro 'sget2' 67 | #define sget2() snum(2) | ^ dvistuff.c:444:38: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | case DOWN3 : v += sget3(); break; | ^ dvistuff.c:68:29: note: expanded from macro 'sget3' 68 | #define sget3() snum(3) | ^ dvistuff.c:445:38: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | case DOWN4 : v += sget4(); break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:447:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | case Y1 : y = sget1(); v += y; break; | ^ dvistuff.c:66:29: note: expanded from macro 'sget1' 66 | #define sget1() snum(1) | ^ dvistuff.c:448:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | case Y2 : y = sget2(); v += y; break; | ^ dvistuff.c:67:29: note: expanded from macro 'sget2' 67 | #define sget2() snum(2) | ^ dvistuff.c:449:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | case Y3 : y = sget3(); v += y; break; | ^ dvistuff.c:68:29: note: expanded from macro 'sget3' 68 | #define sget3() snum(3) | ^ dvistuff.c:450:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | case Y4 : y = sget4(); v += y; break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:452:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | case Z1 : z = sget1(); v += z; break; | ^ dvistuff.c:66:29: note: expanded from macro 'sget1' 66 | #define sget1() snum(1) | ^ dvistuff.c:453:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | case Z2 : z = sget2(); v += z; break; | ^ dvistuff.c:67:29: note: expanded from macro 'sget2' 67 | #define sget2() snum(2) | ^ dvistuff.c:454:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | case Z3 : z = sget3(); v += z; break; | ^ dvistuff.c:68:29: note: expanded from macro 'sget3' 68 | #define sget3() snum(3) | ^ dvistuff.c:455:37: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | case Z4 : z = sget4(); v += z; break; | ^ dvistuff.c:69:29: note: expanded from macro 'sget4' 69 | #define sget4() snum(4) | ^ dvistuff.c:459:44: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | case FNT4 : setfont(num(opcode - FNT1 + 1)); | ^ dvistuff.c:459:40: warning: passing arguments to 'setfont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | case FNT4 : setfont(num(opcode - FNT1 + 1)); | ^ dvistuff.c:461:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | case XXX1 : mseek(DVIfile, get1(), relative); break; | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:462:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | case XXX2 : mseek(DVIfile, get2(), relative); break; | ^ dvistuff.c:63:28: note: expanded from macro 'get2' 63 | #define get2() num(2) | ^ dvistuff.c:463:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | case XXX3 : mseek(DVIfile, get3(), relative); break; | ^ dvistuff.c:64:28: note: expanded from macro 'get3' 64 | #define get3() num(3) | ^ dvistuff.c:464:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | case XXX4 : mseek(DVIfile, get4(), relative); break; | ^ dvistuff.c:65:28: note: expanded from macro 'get4' 65 | #define get4() num(4) | ^ dvistuff.c:468:40: warning: passing arguments to 'fontdef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | case FNT_DEF4 : fontdef(opcode - FNT_DEF1 + 1); | ^ dvistuff.c:470:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | case PRE : errorexit(bdpre); break; | ^ dvistuff.c:471:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | case POST : errorexit(bdpst); break; | ^ dvistuff.c:472:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | case POST_POST: errorexit(bdpp); break; | ^ dvistuff.c:491:28: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | while ((opcode = (int) get1()) != EOP) { | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:493:22: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | errorexit(illop); | ^ dvistuff.c:534:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | case BOP : errorexit(bdbop); break; | ^ dvistuff.c:535:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | case XXX1 : mseek(DVIfile, get1(), relative); break; | ^ dvistuff.c:62:28: note: expanded from macro 'get1' 62 | #define get1() num(1) | ^ dvistuff.c:536:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | case XXX2 : mseek(DVIfile, get2(), relative); break; | ^ dvistuff.c:63:28: note: expanded from macro 'get2' 63 | #define get2() num(2) | ^ dvistuff.c:537:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | case XXX3 : mseek(DVIfile, get3(), relative); break; | ^ dvistuff.c:64:28: note: expanded from macro 'get3' 64 | #define get3() num(3) | ^ dvistuff.c:538:48: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | case XXX4 : mseek(DVIfile, get4(), relative); break; | ^ dvistuff.c:65:28: note: expanded from macro 'get4' 65 | #define get4() num(4) | ^ dvistuff.c:542:40: warning: passing arguments to 'fontdef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | case FNT_DEF4 : fontdef(opcode - FNT_DEF1 + 1); break; | ^ dvistuff.c:543:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | case PRE : errorexit(bdpre); break; | ^ dvistuff.c:544:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | case POST : errorexit(bdpst); break; | ^ dvistuff.c:545:42: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | case POST_POST: errorexit(bdpp); break; | ^ dvistuff.c:650:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 650 | free(currentline->prev); | ^ dvistuff.c:650:9: note: include the header or explicitly provide a declaration for 'free' dvistuff.c:665:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | bool inlist(pagenr) | ^ dvistuff.c:186:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | bool inlist (); | ^ dvistuff.c:713:16: warning: passing arguments to 'ruleaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | ruleaux(rulewt, ruleht, ch); | ^ dvistuff.c:693:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | void rule(moving, rulewt, ruleht) | ^ dvistuff.c:187:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | void rule (); | ^ dvistuff.c:743:16: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | outchar(ch); | ^ dvistuff.c:729:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | void ruleaux(rulewt, ruleht, ch) | ^ dvistuff.c:188:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | void ruleaux (); | ^ dvistuff.c:772:9: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | if (abs(amount) > charwidth / 4L) { | ^ dvistuff.c:772:9: note: include the header or explicitly provide a declaration for 'abs' dvistuff.c:772:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 772 | if (abs(amount) > charwidth / 4L) { | ^ dvistuff.c:772:9: note: use function 'labs' instead 772 | if (abs(amount) > charwidth / 4L) { | ^~~ | labs dvistuff.c:772:9: note: include the header or explicitly provide a declaration for 'labs' dvistuff.c:765:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | long horizontalmove(amount) | ^ dvistuff.c:189:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | long horizontalmove (); | ^ dvistuff.c:801:31: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | while ((opcode = (int) num(1)) == NOP); | ^ dvistuff.c:819:18: warning: passing arguments to 'errorexit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | errorexit(lnerq); | ^ dvistuff.c:875:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 875 | else | ^ dvistuff.c:896:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | unsigned long num(size) | ^ dvistuff.c:193:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | unsigned long num (); | ^ dvistuff.c:914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | long snum(size) | ^ dvistuff.c:194:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | long snum (); | ^ dvistuff.c:941:16: warning: passing arguments to 'symchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | symchar(ch); | ^ dvistuff.c:943:17: warning: passing arguments to 'normchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | normchar(ch); | ^ dvistuff.c:936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | void dochar(ch) | ^ dvistuff.c:195:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | void dochar (); | ^ dvistuff.c:970:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | outchar(0x80 | ( ch >> 8 )); | ^ dvistuff.c:972:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | outchar(ch & 0xff); | ^ dvistuff.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | void dokanji(ch) | ^ dvistuff.c:196:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | void dokanji (); | ^ dvistuff.c:1007:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | outchar(ch); | ^ dvistuff.c:986:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | void symchar(ch) | ^ dvistuff.c:197:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | void symchar (); | ^ dvistuff.c:1027:32: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | outchar('f'); ch = 'f'; /* ligature */ | ^ dvistuff.c:1033:32: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | outchar('f'); ch = 'i'; /* ligature */ | ^ dvistuff.c:1039:32: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | outchar('f'); ch = 'l'; /* ligature */ | ^ dvistuff.c:1045:32: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | outchar('f'); outchar('f'); | ^ dvistuff.c:1045:46: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | outchar('f'); outchar('f'); | ^ dvistuff.c:1052:32: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | outchar('f'); outchar('f'); | ^ dvistuff.c:1052:46: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | outchar('f'); outchar('f'); | ^ dvistuff.c:1058:28: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | case 25 : outchar('s'); ch = 's'; break; /* German double s */ | ^ dvistuff.c:1059:28: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | case 26 : outchar('a'); ch = 'e'; break; /* Dane/Norw ae */ | ^ dvistuff.c:1060:28: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | case 27 : outchar('o'); ch = 'e'; break; /* Dane/Norw oe */ | ^ dvistuff.c:1066:28: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | case 29 : outchar('A'); ch = 'E'; break; /* Dane/Norw AE */ | ^ dvistuff.c:1067:28: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | case 30 : outchar('O'); ch = 'E'; break; /* Dane/Norw OE */ | ^ dvistuff.c:1094:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | outchar(ch); | ^ dvistuff.c:1019:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | void normchar(ch) | ^ dvistuff.c:198:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | void normchar (); | ^ dvistuff.c:1119:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 1119 | if (abs(v - currentline->vv) > lineheight / 2L) | ^ dvistuff.c:1119:9: note: use function 'labs' instead 1119 | if (abs(v - currentline->vv) > lineheight / 2L) | ^~~ | labs dvistuff.c:1119:9: note: include the header or explicitly provide a declaration for 'labs' dvistuff.c:1135:5: warning: '/*' within block comment [-Wcomment] 1135 | /* This code does not really belong here ... | ^ dvistuff.c:1136:5: warning: '/*' within block comment [-Wcomment] 1136 | /* | ^ dvistuff.c:1137:5: warning: '/*' within block comment [-Wcomment] 1137 | /*-------------------------------------------------------------*/ | ^ dvistuff.c:1109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | void outchar(ch) | ^ dvistuff.c:199:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | void outchar (); | ^ dvistuff.c:1221:16: warning: passing arguments to 'setchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | setchar(charnr); | ^ dvistuff.c:1212:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | void putcharacter(charnr) | ^ dvistuff.c:200:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | void putcharacter (); | ^ dvistuff.c:1236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | void setchar(charnr) | ^ dvistuff.c:201:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | void setchar (); | ^ dvistuff.c:1273:13: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1273 | exit(1); | ^ dvistuff.c:1273:13: note: include the header or explicitly provide a declaration for 'exit' dvistuff.c:1252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | void fontdef(x) | ^ dvistuff.c:202:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | void fontdef (); | ^ dvistuff.c:1304:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | void setfont(fntnum) | ^ dvistuff.c:203:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | void setfont (); | ^ 169 warnings generated. --- jdvi2tty --- cc -o jdvi2tty dvi2tty.o dvistuff.o --- disdvi.o --- cc: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] disdvi.c:81:17: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 81 | char * malloc (); | ^ disdvi.c:81:17: note: 'malloc' is a builtin with type 'void *(unsigned long)' disdvi.c:86:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 86 | void main (); | ^ disdvi.c:86:1: note: change return type to 'int' 86 | void main (); | ^~~~ | int disdvi.c:110:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 110 | void main(argc, argv) | ^ disdvi.c:110:1: note: change return type to 'int' 110 | void main(argc, argv) | ^~~~ | int disdvi.c:124:9: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | exit(1); | ^ disdvi.c:124:9: note: include the header or explicitly provide a declaration for 'exit' disdvi.c:128:14: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if (!strcmp(*argv, "-h")) { | ^ disdvi.c:128:14: note: include the header or explicitly provide a declaration for 'strcmp' disdvi.c:132:18: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if ((i = strlen(*argv)) == 0) { | ^ disdvi.c:132:18: note: include the header or explicitly provide a declaration for 'strlen' disdvi.c:140:30: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | dvi_name = malloc((i+5) * sizeof(char)); | ^ disdvi.c:141:13: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | strcpy(dvi_name, *argv); | ^ disdvi.c:141:13: note: include the header or explicitly provide a declaration for 'strcpy' disdvi.c:142:13: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | strcat(dvi_name, ".dvi"); | ^ disdvi.c:142:13: note: include the header or explicitly provide a declaration for 'strcat' disdvi.c:156:28: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | while ((opcode = (int) get1()) != EOF) { /* process until end of file */ | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:162:32: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | opcode = (int) get1(); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:169:26: warning: passing arguments to 'printnonprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | printnonprint(opcode); /* it must be a non-printable */ | ^ disdvi.c:172:45: warning: passing arguments to 'fontname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | fontname(opcode - FONT_00)); | ^ disdvi.c:179:59: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | num(opcode - SET1 + 1)); | ^ disdvi.c:181:67: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | case SET_RULE : printf("SET_RULE: height: %ld\n", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:183:67: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | printf(" length: %ld\n", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:189:59: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | num(opcode - PUT1 + 1)); | ^ disdvi.c:191:67: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | case PUT_RULE : printf("PUT_RULE: height: %ld\n", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:193:67: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | printf(" length: %ld\n", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:204:58: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | snum(opcode - RIGHT1 + 1)); | ^ disdvi.c:211:59: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | snum(opcode - W0)); | ^ disdvi.c:218:59: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | snum(opcode - X0)); | ^ disdvi.c:224:59: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | snum(opcode - DOWN1 + 1)); | ^ disdvi.c:231:59: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | snum(opcode - Y0)); | ^ disdvi.c:238:59: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | snum(opcode - Z0)); | ^ disdvi.c:243:46: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | case FNT4 : fontnum = num(opcode -FNT1 + 1); | ^ disdvi.c:246:48: warning: passing arguments to 'fontname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | fontname(fontnum)); | ^ disdvi.c:245:59: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 244 | printf("FNT%d: %ld /* %s */\n", | ~~~ | %d 245 | opcode - FNT1 + 1, fontnum, | ^~~~~~~ disdvi.c:251:40: warning: passing arguments to 'special' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | case XXX4 : special(opcode - XXX1 + 1); break; | ^ disdvi.c:255:40: warning: passing arguments to 'fontdef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | case FNT_DEF4 : fontdef(opcode - FNT_DEF1 + 1); break; | ^ disdvi.c:110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | void main(argc, argv) | ^ disdvi.c:86:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | void main (); | ^ disdvi.c:276:48: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | printf("BOP page number : %ld", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:280:26: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | printf(" %6ld", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:283:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | printf(" prev page offset : %06ld\n", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:298:52: warning: passing arguments to 'snum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | printf("POST last page offset : %06ld\n", sget4()); | ^ disdvi.c:49:29: note: expanded from macro 'sget4' 49 | #define sget4() snum(4) | ^ disdvi.c:300:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | printf(" numerator : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:302:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | printf(" denominator : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:304:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | printf(" magnification : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:306:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | printf(" max page height : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:308:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | printf(" max page width : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:310:55: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | printf(" stack size needed: %d\n", (int) get2()); | ^ disdvi.c:43:29: note: expanded from macro 'get2' 43 | #define get2() num(2) | ^ disdvi.c:312:55: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | printf(" number of pages : %d\n", (int) get2()); | ^ disdvi.c:43:29: note: expanded from macro 'get2' 43 | #define get2() num(2) | ^ disdvi.c:328:55: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | printf("PRE version : %d\n", (int) get1()); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:330:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | printf(" numerator : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:332:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | printf(" denominator : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:334:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | printf(" magnification : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:336:15: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | i = (int) get1(); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:339:23: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | putchar((int) get1()); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:339:23: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:356:52: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | printf("POSTPOST postamble offset : %06ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:358:55: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | printf(" version : %d\n", (int) get1()); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:359:23: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | while ((i = (int) get1()) == TRAILER) { | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:360:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 360 | printf("%06d: ", pc - 1); | ~~~~ ^~~~~~ | %06ld disdvi.c:366:19: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | i = (int) get1(); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:384:14: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | len = num(x); | ^ disdvi.c:388:23: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | putchar((int) get1()); /* can be non-printables */ | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:388:23: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:379:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | void special(x) | ^ disdvi.c:94:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | void special (); | ^ disdvi.c:411:17: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | fntnum = num(x); | ^ disdvi.c:414:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | printf(" checksum : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:416:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | printf(" scale : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:418:50: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | printf(" design : %ld\n", get4()); | ^ disdvi.c:45:29: note: expanded from macro 'get4' 45 | #define get4() num(4) | ^ disdvi.c:421:21: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | namelen = (int) get1() + (int) get1(); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:421:36: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | namelen = (int) get1() + (int) get1(); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:426:35: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | if ((fnt = (font *) malloc(sizeof(font))) == NULL) { | ^ disdvi.c:434:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | free(fnt->name); /* free old name */ | ^ disdvi.c:434:9: note: include the header or explicitly provide a declaration for 'free' disdvi.c:435:32: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | if ((name = (char *) malloc(namelen * sizeof(char))) == NULL) { | ^ disdvi.c:441:19: warning: passing arguments to 'num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | name[i] = get1(); | ^ disdvi.c:42:29: note: expanded from macro 'get1' 42 | #define get1() num(1) | ^ disdvi.c:401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | void fontdef(x) | ^ disdvi.c:92:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | void fontdef (); | ^ disdvi.c:460:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | char * fontname(fntnum) | ^ disdvi.c:93:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | char * fontname (); | ^ disdvi.c:481:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | void printnonprint(ch) | ^ disdvi.c:95:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | void printnonprint (); | ^ disdvi.c:540:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | unsigned long num(size) | ^ disdvi.c:96:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | unsigned long num (); | ^ disdvi.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | long snum(size) | ^ disdvi.c:97:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | long snum (); | ^ 80 warnings generated. --- disdvi --- cc -o disdvi disdvi.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-dvi2tty-ascii-5.0_3 depends on executable: jless - not found ===> Installing existing package /packages/All/ja-less-382.262.03.01_1.pkg [pkg.DaveG.ca] Installing ja-less-382.262.03.01_1... [pkg.DaveG.ca] Extracting ja-less-382.262.03.01_1: .......... done ===> ja-dvi2tty-ascii-5.0_3 depends on executable: jless - found ===> Returning to build of ja-dvi2tty-ascii-5.0_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-dvi2tty-ascii-5.0_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/japanese/dvi2tty/work/dvi2tty5.0/jdvi2tty /wrkdirs/usr/ports/japanese/dvi2tty/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/japanese/dvi2tty/work/dvi2tty5.0/disdvi /wrkdirs/usr/ports/japanese/dvi2tty/work/stage/usr/local/bin/jdisdvi install -m 444 /wrkdirs/usr/ports/japanese/dvi2tty/work/dvi2tty5.0/dvi2tty.1 /wrkdirs/usr/ports/japanese/dvi2tty/work/stage/usr/local/share/man/man1/jdvi2tty.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-10-01T21:37:35+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4762eb84da58' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-dvi2tty-ascii-5.0_3 ===> Building ja-dvi2tty-ascii-5.0_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-dvi2tty-ascii-5.0_3 build of japanese/dvi2tty | ja-dvi2tty-ascii-5.0_3 ended at Wed Oct 1 17:37:59 EDT 2025 build time: 00:00:24