=>> Building print/pic2fig build started at Fri Dec 12 01:30:03 EST 2025 port directory: /usr/ports/print/pic2fig package name: pic2fig-1.4_3 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 575 Oct 16 2024 /usr/ports/print/pic2fig/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 13 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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_13_5_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_13_5_x64-HEAD-ALL/13/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_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-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CACHE_HOME=/wrkdirs/usr/ports/print/pic2fig/work/.cache HOME=/wrkdirs/usr/ports/print/pic2fig/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/pic2fig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/pic2fig/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/print/pic2fig/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CACHE_HOME=/wrkdirs/usr/ports/print/pic2fig/work/.cache HOME=/wrkdirs/usr/ports/print/pic2fig/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/print/pic2fig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/pic2fig/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 -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -Wno-error=int-conversion -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=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pic2fig" EXAMPLESDIR="share/examples/pic2fig" DATADIR="share/pic2fig" WWWDIR="www/pic2fig" ETCDIR="etc/pic2fig" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pic2fig DOCSDIR=/usr/local/share/doc/pic2fig EXAMPLESDIR=/usr/local/share/examples/pic2fig WWWDIR=/usr/local/www/pic2fig ETCDIR=/usr/local/etc/pic2fig --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 --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 ===> pic2fig-1.4_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> pic2fig-1.4_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pic2fig-1.4_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 pic2fig-1.4_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pic2fig-1.4_3 for building => SHA256 Checksum OK for pic2fig-1.4.tar.Z. =========================================================================== =================================================== ===== 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 pic2fig-1.4_3 for building ===> Extracting for pic2fig-1.4_3 => SHA256 Checksum OK for pic2fig-1.4.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pic2fig-1.4_3 ===> Applying FreeBSD patches for pic2fig-1.4_3 from /usr/ports/print/pic2fig/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pic2fig-1.4_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. ===> pic2fig-1.4_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of pic2fig-1.4_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 pic2fig-1.4_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pic2fig-1.4_3 --- plfig.o --- --- figd.o --- --- main.o --- --- print.o --- --- misc.o --- --- symtab.o --- --- blockgen.o --- --- boxgen.o --- --- linegen.o --- --- texgen.o --- --- textgen.o --- --- circgen.o --- --- pic2.o --- --- arcgen.o --- --- movegen.o --- --- picy.o --- --- picl.o --- --- plfig.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c plfig.c -o plfig.o --- figd.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c figd.c -o figd.o --- main.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o --- print.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c print.c -o print.o --- misc.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c misc.c -o misc.o --- symtab.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c symtab.c -o symtab.o --- blockgen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c blockgen.c -o blockgen.o --- boxgen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c boxgen.c -o boxgen.o --- linegen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c linegen.c -o linegen.o --- texgen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c texgen.c -o texgen.o --- pic2.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c pic2.c -o pic2.o --- arcgen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c arcgen.c -o arcgen.o --- circgen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c circgen.c -o circgen.o --- movegen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c movegen.c -o movegen.o --- textgen.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c textgen.c -o textgen.o --- picy.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c picy.c -o picy.o --- picl.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -c picl.c -o picl.o --- textgen.o --- In file included from textgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' textgen.c:5:21: warning: parameter 's' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | struct obj *textgen(s) | ^ 6 | { textgen.c:51:29: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 51 | dprintf("T %c %s\n", type, s); | ~~ ^ | %d textgen.c:52:2: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | extreme(curx, cury); | ^ textgen.c:56:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | p = makenode(TEXT, 2); | ^ textgen.c:5:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | struct obj *textgen(s) | ^ In file included from textgen.c:2: ./pic.h:112:58: 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] 112 | extern struct obj *linegen(), *splinegen(), *movegen(), *textgen(); | ^ 7 warnings generated. --- movegen.o --- In file included from movegen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' movegen.c:15:16: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | defx = getfval("movewid"); | ^ movegen.c:16:16: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | defy = getfval("moveht"); | ^ movegen.c:21:4: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | savetext(attr[i].a_type, attr[i].a_val.p); | ^ movegen.c:77:2: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | extreme(curx, cury); | ^ movegen.c:81:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | p = makenode(MOVE, 0); | ^ 6 warnings generated. --- texgen.o --- In file included from texgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' texgen.c:8:6: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 8 | if (strncmp(s, ".PS", 3) == 0) | ^ texgen.c:8:6: note: include the header or explicitly provide a declaration for 'strncmp' texgen.c:9:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | yyerror(".PS found inside .PS/.PE"); | ^ texgen.c:10:2: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | savetext(CENTER, s); /* use the existing text mechanism */ | ^ texgen.c:11:17: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | return(makenode(TEX, 0)); | ^ texgen.c:5:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | struct obj *TeXgen(s) /* save away a string of TeX commands */ | ^ In file included from texgen.c:2: ./pic.h:113:20: 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] 113 | extern struct obj *TeXgen(), *rightthing(), *blockgen(); | ^ texgen.c:14:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | savetext(t, s) /* record text elements for current object */ | ^ | int texgen.c:28:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | yyerror("too many text strings (%d)\n", ntext); | ^ texgen.c:29:3: 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] 29 | exit(1); | ^ texgen.c:29:3: note: include the header or explicitly provide a declaration for 'exit' texgen.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | savetext(t, s) /* record text elements for current object */ | ^ 11 warnings generated. --- boxgen.o --- In file included from boxgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' boxgen.c:16:13: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | h = getfval("boxht"); | ^ boxgen.c:17:13: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | w = getfval("boxwid"); | ^ boxgen.c:56:20: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ddval = getfval("dashwid"); | ^ boxgen.c:59:4: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | savetext(attr[i].a_type, attr[i].a_val.p); | ^ boxgen.c:91:2: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | extreme(x0, y0); | ^ boxgen.c:93:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | p = makenode(BOX, 2); | ^ 7 warnings generated. --- circgen.o --- In file included from circgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' circgen.c:5:21: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | struct obj *circgen(type) | ^ 6 | { circgen.c:18:19: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | r = r2 = getfval("circlerad"); | ^ circgen.c:20:14: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | r = getfval("ellipsewid") / 2; | ^ circgen.c:21:15: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | r2 = getfval("ellipseht") / 2; | ^ circgen.c:26:4: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | savetext(attr[i].a_type, attr[i].a_val.p); | ^ circgen.c:87:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | p = makenode(type, 2); | ^ circgen.c:91:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | yyerror("%s has invalid radius %g\n", (type==CIRCLE) ? "circle" | ^ circgen.c:95:2: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | extreme(curx+r, cury+r2); | ^ circgen.c:5:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | struct obj *circgen(type) | ^ In file included from circgen.c:2: ./pic.h:111:45: 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] 111 | extern struct obj *leftthing(), *boxgen(), *circgen(), *arcgen(); | ^ 11 warnings generated. --- blockgen.o --- In file included from blockgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' blockgen.c:24:15: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | p = makenode(BLOCK, 7); | ^ blockgen.c:8:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | struct obj *leftthing(c) /* called for {... or [... */ | ^ In file included from blockgen.c:2: ./pic.h:111:20: 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] 111 | extern struct obj *leftthing(), *boxgen(), *circgen(), *arcgen(); | ^ blockgen.c:35:27: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | struct obj *rightthing(p, c) /* called for ... ] or ... } */ | ^ 36 | struct obj *p; 37 | { blockgen.c:45:15: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | q = makenode(MOVE, 0); | ^ blockgen.c:48:15: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | q = makenode(BLOCKEND, 7); | ^ blockgen.c:53:33: warning: cast to smaller integer type 'int' from 'struct symtab *' [-Wpointer-to-int-cast] 53 | p->o_dotdash = q->o_dotdash = (int) stack[nstack+1].p_symtab; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockgen.c:35:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | struct obj *rightthing(p, c) /* called for ... ] or ... } */ | ^ In file included from blockgen.c:2: ./pic.h:113:31: 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] 113 | extern struct obj *TeXgen(), *rightthing(), *blockgen(); | ^ blockgen.c:120:4: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | savetext(attr[i].a_type, attr[i].a_val.p); | ^ blockgen.c:152:2: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | extreme(x0, y0); | ^ blockgen.c:179:2: warning: call to undeclared function 'blockadj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | blockadj(p); /* fix up coords for enclosed blocks */ | ^ blockgen.c:62:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | struct obj *blockgen(p, q) /* handles [...] */ | ^ In file included from blockgen.c:2: ./pic.h:113:46: 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] 113 | extern struct obj *TeXgen(), *rightthing(), *blockgen(); | ^ blockgen.c:185:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | blockadj(p) /* adjust coords in block starting at p */ | ^ | int blockgen.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 warnings generated. --- linegen.o --- In file included from linegen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' linegen.c:5:21: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | struct obj *linegen(type) | ^ 6 | { linegen.c:29:16: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | defx = getfval("linewid"); | ^ linegen.c:30:16: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | defy = getfval("lineht"); | ^ linegen.c:31:17: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | prevh = getfval("arrowht"); | ^ linegen.c:32:17: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | prevw = getfval("arrowwid"); | ^ linegen.c:39:4: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | savetext(attr[i].a_type, attr[i].a_val.p); | ^ linegen.c:58:20: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | ddval = getfval("dashwid"); | ^ linegen.c:159:27: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | chop1 = chop2 = getfval("circlerad"); | ^ linegen.c:194:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | p = makenode(type, 5 + 2 * ndxy); | ^ linegen.c:210:3: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | extreme(nx += dx[i], ny += dy[i]); | ^ linegen.c:220:2: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | extreme(p->o_x, p->o_y); | ^ linegen.c:5:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | struct obj *linegen(type) | ^ In file included from linegen.c:2: ./pic.h:112:20: 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] 112 | extern struct obj *linegen(), *splinegen(), *movegen(), *textgen(); | ^ linegen.c:107:5: warning: array index 2 is past the end of the array (that has type 'float[2]') [-Warray-bounds] 107 | radi[2] = ppos->o_val[1]; | ^ ~ linegen.c:13:2: note: array 'radi' declared here 13 | float chop3, rad[2], radi[2]; | ^ linegen.c:133:5: warning: array index 2 is past the end of the array (that has type 'float[2]') [-Warray-bounds] 133 | rad[2] = ppos->o_val[1]; | ^ ~ linegen.c:13:2: note: array 'rad' declared here 13 | float chop3, rad[2], radi[2]; | ^ linegen.c:163:12: warning: array index 2 is past the end of the array (that has type 'float[2]') [-Warray-bounds] 163 | chop3 = rad[2]; | ^ ~ linegen.c:13:2: note: array 'rad' declared here 13 | float chop3, rad[2], radi[2]; | ^ linegen.c:176:12: warning: array index 2 is past the end of the array (that has type 'float[2]') [-Warray-bounds] 176 | chop3 = radi[2]; | ^ ~ linegen.c:13:2: note: array 'radi' declared here 13 | float chop3, rad[2], radi[2]; | ^ linegen.c:225:23: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 225 | struct obj *splinegen(type) | ^ 226 | { linegen.c:225:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | struct obj *splinegen(type) | ^ In file included from linegen.c:2: ./pic.h:112:32: 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] 112 | extern struct obj *linegen(), *splinegen(), *movegen(), *textgen(); | ^ 21 warnings generated. --- symtab.o --- In file included from symtab.c:3: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' symtab.c:12:12: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | p = lookup(s); | ^ symtab.c:15:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | yyerror("no such variable as %s", s); | ^ symtab.c:6:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | YYSTYPE *getvar(s) /* return value of variable s (usually pointer) */ | ^ In file included from symtab.c:3: ./pic.h:100: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] 100 | extern YYSTYPE *getvar(); | ^ symtab.c:23:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | float getfval(s) /* return float value of variable s */ | ^ In file included from symtab.c:3: ./pic.h:99:14: 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] 99 | extern float getfval(), getcomp(); | ^ symtab.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | setfval(s, f) /* set variable s to f */ | ^ | int symtab.c:37:17: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if ((p = lookup(s)) != NULL) | ^ symtab.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | setfval(s, f) /* set variable s to f */ | ^ symtab.c:49:7: 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] 49 | if (strcmp(s, p->s_name) == 0) | ^ symtab.c:49:7: note: include the header or explicitly provide a declaration for 'strcmp' symtab.c:52:31: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | p = (struct symtab *) malloc(sizeof(struct symtab)); | ^ symtab.c:54:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | yyerror("out of symtab space with %s", s); | ^ symtab.c:55:4: 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] 55 | exit(1); | ^ symtab.c:55:4: note: include the header or explicitly provide a declaration for 'exit' symtab.c:41:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | struct symtab *makevar(s, t, v) /* make variable named s in table */ | ^ In file included from symtab.c:3: ./pic.h:101:34: 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] 101 | extern struct symtab *lookup(), *makevar(); | ^ symtab.c:66:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | struct symtab *lookup(s) /* find s in symtab */ | ^ In file included from symtab.c:3: ./pic.h:101:23: 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] 101 | extern struct symtab *lookup(), *makevar(); | ^ symtab.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | freesymtab(p) /* free space used by symtab at p */ | ^ | int symtab.c:83:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | free(p->s_name); /* assumes done with tostring */ | ^ symtab.c:83:3: note: include the header or explicitly provide a declaration for 'free' symtab.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | freesymtab(p) /* free space used by symtab at p */ | ^ 21 warnings generated. --- arcgen.o --- In file included from arcgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' arcgen.c:5:20: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | struct obj *arcgen(type) /* handles circular and (eventually) elliptical | ^ 6 | arcs */ 7 | { arcgen.c:23:19: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | prevrad = getfval("arcrad"); | ^ arcgen.c:24:17: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | prevh = getfval("arrowht"); | ^ arcgen.c:25:17: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | prevw = getfval("arrowwid"); | ^ arcgen.c:32:4: warning: call to undeclared function 'savetext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | savetext(attr[i].a_type, attr[i].a_val.p); | ^ arcgen.c:120:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | p = makenode(type, 7); | ^ arcgen.c:135:6: warning: call to undeclared function 'is_onarc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if (is_onarc(0.0,start,stop)) extreme(cx4,cy4); | ^ arcgen.c:135:32: warning: call to undeclared function 'extreme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if (is_onarc(0.0,start,stop)) extreme(cx4,cy4); | ^ arcgen.c:5:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | struct obj *arcgen(type) /* handles circular and (eventually) elliptical | ^ In file included from arcgen.c:2: ./pic.h:111:57: 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] 111 | extern struct obj *leftthing(), *boxgen(), *circgen(), *arcgen(); | ^ arcgen.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 168 | is_onarc(pt,start,stop) | ^ | int arcgen.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 warnings generated. --- main.o --- In file included from main.c:4: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' main.c:7:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | static reset(); | ~~~~~~ ^ | int main.c:49:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | main(argc, argv) | ^ 50 | char **argv; 51 | { main.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | main(argc, argv) | ^ | int main.c:52:50: 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] 52 | char TEXfilename[BUFSIZ], buffer[BUFSIZ], *bp, *rindex(); | ^ main.c:65:2: warning: call to undeclared function 'setdefaults'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | setdefaults(); | ^ main.c:75: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] 75 | exit(1); | ^ main.c:75:9: note: include the header or explicitly provide a declaration for 'exit' main.c:80:11: 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] 80 | (void) strcpy (buffer, filename); | ^ main.c:80:11: note: include the header or explicitly provide a declaration for 'strcpy' main.c:81:39: 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] 81 | if ((bp = rindex (buffer, '.')) && strcmp (bp, ".pic") | ^ main.c:81:39: note: include the header or explicitly provide a declaration for 'strcmp' main.c:83:12: warning: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion] 83 | *bp = NULL; | ^ ~~~~ main.c:95:7: warning: extra tokens at end of #else directive [-Wextra-tokens] 95 | #else EUNICE | ^ | // main.c:101:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 101 | #endif EUNICE | ^ | // main.c:102:4: warning: call to undeclared function 'getdata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | getdata(yyin); | ^ main.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | main(argc, argv) | ^ main.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | setdefaults() /* set default sizes for variables like boxht */ | ^ | int main.c:139:19: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | makevar(tostring(defaults[i].name), VARNAME, v); | ^ main.c:139:10: warning: passing arguments to 'makevar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | makevar(tostring(defaults[i].name), VARNAME, v); | ^ main.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | checkscale(s) /* if s is "scale", adjust default variables */ | ^ | int main.c:151:18: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | scale = getfval("scale"); | ^ main.c:153:4: warning: call to undeclared function 'setfval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | setfval(defaults[i].name, defaults[i].val * scale); | ^ main.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | checkscale(s) /* if s is "scale", adjust default variables */ | ^ main.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | getdata(fin) | ^ | int main.c:191:4: warning: call to undeclared function 'yyparse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | yyparse(); | ^ main.c:197:21: warning: call to undeclared function 'atof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | deltx = delty = atof(&buf[4]); | ^ main.c:202:28: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | deltx = deltx / getfval("scale"); | ^ main.c:207:5: warning: call to undeclared function 'openpl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | openpl(); | ^ main.c:208:5: warning: call to undeclared function 'print'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | print(); /* assumes \n at end */ | ^ main.c:209:5: warning: call to undeclared function 'closepl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | closepl(); | ^ main.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | getdata(fin) | ^ main.c:218:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 218 | static reset() | ~~~~~~ ^ | int main.c:227:4: warning: call to undeclared function 'freesymtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | freesymtab((struct symtab *)op->o_dotdash); /* funn | ^ main.c:227:15: warning: cast to 'struct symtab *' from smaller integer type 'int' [-Wint-to-pointer-cast] 227 | freesymtab((struct symtab *)op->o_dotdash); /* funn | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:229:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | free((char *)objlist[i]); | ^ main.c:229:3: note: include the header or explicitly provide a declaration for 'free' 33 warnings generated. --- print.o --- In file included from print.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' print.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | print() | ^ | int print.c:22:4: warning: call to undeclared function 'troff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | troff(text[p->o_nt1].t_val); | ^ print.c:26:30: warning: call to undeclared function 'fig_whiten'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | if (p->o_attr & WHITEOBJ) fig_whiten(); | ^ print.c:27:31: warning: call to undeclared function 'fig_shade'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | if (p->o_attr & SHADEDOBJ) fig_shade(); | ^ print.c:28:4: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | move(ox, oy); | ^ print.c:36:5: warning: call to undeclared function 'box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | box(x0, y0, x1, y1); | ^ print.c:38:5: warning: call to undeclared function 'dotbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | dotbox(x0, y0, x1, y1, p->o_dotdash, p->o_ddval | ^ print.c:41:4: warning: call to undeclared function 'dotext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | dotext(p); /* if there are any text strings */ | ^ print.c:46:36: warning: '/*' within block comment [-Wcomment] 46 | move(ox, isdown(m) ? y0 : y1); /* bottom */ | ^ print.c:57:36: warning: '/*' within block comment [-Wcomment] 57 | move(ox, isdown(m) ? y0 : y1); /* bottom */ | ^ print.c:64:5: warning: call to undeclared function 'circle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | circle(ox, oy, x1); | ^ print.c:67:26: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 67 | move(ox + isright(m) ? x1 : -x1, oy); | ~~~~~~~~~~~~~~~ ^ print.c:67:26: note: place parentheses around the '+' expression to silence this warning 67 | move(ox + isright(m) ? x1 : -x1, oy); | ~~~~~~~~~~~~~~~ ^ print.c:67:26: note: place parentheses around the '?:' expression to evaluate it first 67 | move(ox + isright(m) ? x1 : -x1, oy); | ~~~~~~~~~~~^~~~~~~~~~ print.c:69:27: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 69 | move(ox, oy + isup(m) ? x1 : -x1); | ~~~~~~~~~~~~ ^ print.c:69:27: note: place parentheses around the '+' expression to silence this warning 69 | move(ox, oy + isup(m) ? x1 : -x1); | ~~~~~~~~~~~~ ^ print.c:69:27: note: place parentheses around the '?:' expression to evaluate it first 69 | move(ox, oy + isup(m) ? x1 : -x1); | ~~~~~~~~^~~~~~~~~~ print.c:76:5: warning: call to undeclared function 'ellipse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | ellipse(ox, oy, x1, y1); | ^ print.c:79:26: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 79 | move(ox + isright(m) ? x1 : -x1, oy); | ~~~~~~~~~~~~~~~ ^ print.c:79:26: note: place parentheses around the '+' expression to silence this warning 79 | move(ox + isright(m) ? x1 : -x1, oy); | ~~~~~~~~~~~~~~~ ^ print.c:79:26: note: place parentheses around the '?:' expression to evaluate it first 79 | move(ox + isright(m) ? x1 : -x1, oy); | ~~~~~~~~~~~^~~~~~~~~~ print.c:81:29: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] 81 | move(ox, oy - isdown(m) ? y1 : -y1); | ~~~~~~~~~~~~~~ ^ print.c:81:29: note: place parentheses around the '-' expression to silence this warning 81 | move(ox, oy - isdown(m) ? y1 : -y1); | ~~~~~~~~~~~~~~ ^ print.c:81:29: note: place parentheses around the '?:' expression to evaluate it first 81 | move(ox, oy - isdown(m) ? y1 : -y1); | ~~~~~~~~~~^~~~~~~~~~ print.c:87:5: warning: call to undeclared function 'arrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | arrow(x1 - (y1 - oy), y1 + (x1 - ox), | ^ print.c:93:5: warning: call to undeclared function 'arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | arc(ox, oy, x1, y1, p->o_val[2], p->o_val[3], | ^ print.c:112:5: warning: call to undeclared function 'tpspline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | tpspline(ox, oy, p->o_val[4], &p->o_val[5]); | ^ print.c:121:7: warning: call to undeclared function 'line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | line(dx, dy, ndx, ndy); | ^ print.c:123:7: warning: call to undeclared function 'dotline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | dotline(dx, dy, ndx, ndy, | ^ print.c:148:4: warning: call to undeclared function 'label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | label((char *)p->o_attr, p->o_dotdash, 0); /* stri | ^ print.c:148:10: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 148 | label((char *)p->o_attr, p->o_dotdash, 0); /* stri | ^~~~~~~~~~~~~~~~~ print.c:150:4: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | free((char *)p->o_attr); | ^ print.c:150:4: note: include the header or explicitly provide a declaration for 'free' print.c:150:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 150 | free((char *)p->o_attr); | ^~~~~~~~~~~~~~~~~ print.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | dotline(x0, y0, x1, y1, ddtype, ddval) /* dotted line */ | ^ | int print.c:164:2: warning: call to undeclared function 'fig_flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | fig_flush(); | ^ print.c:169:2: warning: call to undeclared function 'dashed_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | dashed_line(x0, y0, x1, y1, prevval, ddtype == DOT); | ^ print.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | dotline(x0, y0, x1, y1, ddtype, ddval) /* dotted line */ | ^ print.c:173:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 173 | dotbox(x0, y0, x1, y1, ddtype, ddval) /* dotted or dashed box */ | ^ | int print.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] print.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | dotext(p) /* print text strings of p in proper vertical spacing */ | ^ | int print.c:189:2: warning: call to undeclared function 'fig_flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | fig_flush(); | ^ print.c:192:3: warning: call to undeclared function 'label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | label(text[i].t_val, text[i].t_type, nhalf); | ^ print.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | dotext(p) /* print text strings of p in proper vertical spacing */ | ^ 36 warnings generated. --- pic2.o --- In file included from pic2.c:3: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' pic2.c:11:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 11 | definition(s) /* collect definition for s and install */ | ^ | int pic2.c:18:18: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | while ((delim = input()) == ' ' || delim == '\t') | ^ pic2.c:22:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | yyerror("definition of %s is too long", s); | ^ pic2.c:23:4: 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] 23 | exit(1); | ^ pic2.c:23:4: note: include the header or explicitly provide a declaration for 'exit' pic2.c:26:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | yyerror("end of file while defining %s", s); | ^ pic2.c:32:14: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | p = tostring(buf); | ^ pic2.c:33:14: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | stp = lookup(s); | ^ pic2.c:36:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | yyerror("%s used as variable and definition\n", s); | ^ pic2.c:39:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | free(stp->s_val.p); | ^ pic2.c:39:3: note: include the header or explicitly provide a declaration for 'free' pic2.c:44:19: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | makevar(tostring(s), DEFNAME, u); | ^ pic2.c:44:10: warning: passing arguments to 'makevar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | makevar(tostring(s), DEFNAME, u); | ^ pic2.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | definition(s) /* collect definition for s and install */ | ^ pic2.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | dodef(stp) /* collect args and push back defn for name in table slot n */ | ^ | int --- picy.o --- In file included from picy.y:3: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' picy.y:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | yyparse() { | ^ | int picy.y:306:37: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | if( ++yyps>= &yys[YYMAXDEPTH] ) { yyerror( "yacc stack overflow" ); return(1); } | ^ picy.y:317:29: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- pic2.o --- pic2.c:61:6: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | if (input() != '(') | ^ pic2.c:62:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | yyerror("disaster in dodef\n"); | ^ pic2.c:63:29: warning: call to undeclared function 'getarg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | for (argp = argval; (len = getarg(argp)) != -1; argp += len) { | ^ pic2.c:81:5: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | pbstr(argstk[*p - '0' - 1]); | ^ --- picy.o --- 317 | if( yychar<0 ) if( (yychar=yylex())<0 ) yychar=0; | ^ picy.y:350:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | yyerror( "syntax error" ); | ^ picy.y:56:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | { yyerror("syntax error"); } break; | ^ picy.y:66:13: warning: passing arguments to 'rightthing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | { rightthing(yypvt[-2].o, '}'); yyval.o = yypvt[-1].o; } break; | ^ picy.y:67:3: warning: passing arguments to 'makevar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pic2.o --- pic2.c:85:5: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | unput(*p); | ^ pic2.c:87:4: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | unput(*p); | ^ pic2.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | dodef(stp) /* collect args and push back defn for name in table slot n */ | ^ pic2.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | getarg(p) /* pick up single argument, store in p, return length */ | ^ | int --- picy.o --- 67 | { makevaro(yypvt[-2].p, PLACENAME, yypvt[-0].o); yyval.o = yypvt[-0].o; | ^ picy.y:11:48: note: expanded from macro 'makevaro' 11 | #define makevaro(a,b,v) {yystemp.o=(v); makevar(a,b,yystemp);} | ^ picy.y:69:3: warning: passing arguments to 'makevar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | { makevaro(yypvt[-3].p, PLACENAME, yypvt[-0].o); yyval.o = yypvt[-0].o; | ^ picy.y:11:48: note: expanded from macro 'makevaro' 11 | #define makevaro(a,b,v) {yystemp.o=(v); makevar(a,b,yystemp);} | ^ picy.y:71:3: warning: passing arguments to 'makevar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | { makevaro(yypvt[-3].p, PLACENAME, yypvt[-1].o); yyval.o = yypvt[-1].o; | ^ picy.y:11:48: note: expanded from macro 'makevaro' --- pic2.o --- pic2.c:99:7: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | c = input(); | ^ pic2.c:101:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | yyerror("end of file in getarg!\n"); | ^ pic2.c:117:2: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | unput(c); | ^ pic2.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | getarg(p) /* pick up single argument, store in p, return length */ | ^ --- picy.o --- 11 | #define makevaro(a,b,v) {yystemp.o=(v); makevar(a,b,yystemp);} | ^ picy.y:73:3: warning: passing arguments to 'makevar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | { makevarf(yypvt[-3].p, VARNAME, yypvt[-1].f); checkscale(yypvt[-3].p); } break; | ^ picy.y:10:48: note: expanded from macro 'makevarf' 10 | #define makevarf(a,b,v) {yystemp.f=(v); makevar(a,b,yystemp);} | ^ picy.y:73:48: warning: call to undeclared function 'checkscale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | { makevarf(yypvt[-3].p, VARNAME, yypvt[-1].f); checkscale(yypvt[-3].p); } break; | ^ --- pic2.o --- pic2.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | input() | ^ | int pic2.c:139:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | yyerror("end of file inside .PS/.PE"); | ^ pic2.c:148:7: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | unput(c) | ^ 149 | { pic2.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | unput(c) | ^ | int pic2.c:151:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | yyerror("pushback overflow\n"); | ^ --- picy.o --- picy.y:74:3: warning: call to undeclared function 'setdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | { setdir(yypvt[-0].i); } break; | ^ picy.y:75:3: warning: call to undeclared function 'printexpr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | { printexpr(yypvt[-1].f); } break; | ^ picy.y:76:3: warning: call to undeclared function 'printpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | { printpos(yypvt[-1].o); } break; | ^ picy.y:81:22: warning: passing arguments to 'leftthing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | { yyval.o = leftthing('{'); } break; | ^ --- pic2.o --- pic2.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | unput(c) | ^ pic2.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | pbstr(s) | ^ | int pic2.c:164:6: 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] 164 | n = strlen(s); | ^ pic2.c:164:6: note: include the header or explicitly provide a declaration for 'strlen' pic2.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | pbstr(s) | ^ --- picy.o --- picy.y:86:20: warning: passing arguments to 'circgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | { yyval.o = circgen(yypvt[-1].i); } break; | ^ picy.y:87:20: warning: passing arguments to 'circgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | { yyval.o = circgen(yypvt[-1].i); } break; | ^ picy.y:88:19: warning: passing arguments to 'arcgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | { yyval.o = arcgen(yypvt[-1].i); } break; | ^ picy.y:89:20: warning: passing arguments to 'linegen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | { yyval.o = linegen(yypvt[-1].i); } break; | ^ --- pic2.o --- pic2.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | yyerror(s, s1, s2, s3, s4) | ^ | int pic2.c:177:2: warning: call to undeclared function 'eprint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | eprint(); | ^ pic2.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | yyerror(s, s1, s2, s3, s4) | ^ pic2.c:181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | eprint() /* try to print context around error */ | ^ | int pic2.c:204:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 204 | yywrap() {;} | ^ | int 40 warnings generated. --- picy.o --- picy.y:90:20: warning: passing arguments to 'linegen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | { yyval.o = linegen(yypvt[-1].i); } break; | ^ picy.y:91:22: warning: passing arguments to 'splinegen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | { yyval.o = splinegen(yypvt[-1].i); } break; | ^ picy.y:93:20: warning: passing arguments to 'textgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | { yyval.o = textgen(yypvt[-1].i); } break; | ^ picy.y:94:19: warning: passing arguments to 'TeXgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | { yyval.o = TeXgen(yypvt[-0].p); } break; | ^ picy.y:95:21: warning: passing arguments to 'rightthing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | { yyval.o=rightthing(yypvt[-2].o,']'); } break; | ^ picy.y:96:21: warning: passing arguments to 'blockgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | { yyval.o = blockgen(yypvt[-4].o, yypvt[-1].o); } break; | ^ picy.y:100:22: warning: passing arguments to 'leftthing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | { yyval.o = leftthing('['); } break; | ^ picy.y:105:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | { makeattri(0, 0); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:109:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | { makeattrf(yypvt[-1].i, yypvt[-0].f); } break; | ^ picy.y:7:40: note: expanded from macro 'makeattrf' 7 | #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} | ^ picy.y:110:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | { makeattrf(yypvt[-1].i, yypvt[-0].f); } break; | ^ picy.y:7:40: note: expanded from macro 'makeattrf' 7 | #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} | ^ picy.y:111:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | { makeattro(yypvt[-1].i, yypvt[-0].o); } break; | ^ picy.y:8:40: note: expanded from macro 'makeattro' 8 | #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} | ^ picy.y:112:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | { makeattro(yypvt[-1].i, yypvt[-0].o); } break; | ^ picy.y:8:40: note: expanded from macro 'makeattro' 8 | #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} | ^ picy.y:113:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | { makeattro(yypvt[-1].i, yypvt[-0].o); } break; | ^ picy.y:8:40: note: expanded from macro 'makeattro' 8 | #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} | ^ picy.y:114:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | { makeattro(yypvt[-1].i, yypvt[-0].o); } break; | ^ picy.y:8:40: note: expanded from macro 'makeattro' 8 | #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} | ^ picy.y:115:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | { makeattri(WITH, yypvt[-0].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:116:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | { makeattr(PLACE, getblock(getlast(1,BLOCK), yypvt[-0].p | ^ picy.y:116:35: warning: passing arguments to 'getlast' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | { makeattr(PLACE, getblock(getlast(1,BLOCK), yypvt[-0].p | ^ picy.y:116:27: warning: passing arguments to 'getblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | { makeattr(PLACE, getblock(getlast(1,BLOCK), yypvt[-0].p | ^ picy.y:118:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | { makeattro(PLACE, yypvt[-0].o); } break; | ^ picy.y:8:40: note: expanded from macro 'makeattro' 8 | #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} | ^ picy.y:119:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | { makeattri(SAME, yypvt[-0].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:120:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | { makeattro(yypvt[-0].i, 0); } break; | ^ picy.y:8:40: note: expanded from macro 'makeattro' 8 | #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} | ^ picy.y:121:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | { makeattri(HEAD, yypvt[-0].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:122:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | { makeattrf(DOT, yypvt[-0].f); } break; | ^ picy.y:7:40: note: expanded from macro 'makeattrf' 7 | #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} | ^ picy.y:123:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | { makeattrf(DASH, yypvt[-0].f); } break; | ^ picy.y:7:40: note: expanded from macro 'makeattrf' 7 | #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} | ^ picy.y:124:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | { makeattrf(CHOP, yypvt[-0].f); } break; | ^ picy.y:7:40: note: expanded from macro 'makeattrf' 7 | #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} | ^ picy.y:125:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | { makeattri(SHADED, 0); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:126:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | { makeattri(WHITE, 0); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:136:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | { makeattri(CENTER, yypvt[-0].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:137:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | { makeattri(yypvt[-0].i, yypvt[-1].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:138:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | { makeattri(CENTER, yypvt[-0].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:139:3: warning: call to undeclared function 'makeattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | { makeattri(yypvt[-0].i, yypvt[-1].i); } break; | ^ picy.y:6:40: note: expanded from macro 'makeattri' 6 | #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} | ^ picy.y:154:20: warning: passing arguments to 'makepos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | { yyval.o = makepos(yypvt[-2].f, yypvt[-0].f); } break; | ^ picy.y:155:19: warning: passing arguments to 'fixpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | { yyval.o = fixpos(yypvt[-4].o, yypvt[-2].f, yypvt[-0].f); } break; | ^ picy.y:156:19: warning: passing arguments to 'fixpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | { yyval.o = fixpos(yypvt[-4].o, -yypvt[-2].f, -yypvt[-0].f); } break; | ^ picy.y:157:20: warning: passing arguments to 'makepos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | { yyval.o = makepos(yypvt[-3].f, yypvt[-1].f); } break; | ^ picy.y:158:19: warning: passing arguments to 'fixpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | { yyval.o = fixpos(yypvt[-6].o, yypvt[-3].f, yypvt[-1].f); } break; | ^ picy.y:159:19: warning: passing arguments to 'fixpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | { yyval.o = fixpos(yypvt[-6].o, -yypvt[-3].f, -yypvt[-1].f); } break; | ^ picy.y:160:28: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | { yyval.o = makepos(getcomp(yypvt[-3].o,DOTX), getcomp(yypvt[-1].o,DOTY)); } break; | ^ picy.y:160:55: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | { yyval.o = makepos(getcomp(yypvt[-3].o,DOTX), getcomp(yypvt[-1].o,DOTY)); } break; | ^ picy.y:160:20: warning: passing arguments to 'makepos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | { yyval.o = makepos(getcomp(yypvt[-3].o,DOTX), getcomp(yypvt[-1].o,DOTY)); } break; | ^ picy.y:161:24: warning: passing arguments to 'makebetween' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | { yyval.o = makebetween(yypvt[-5].f, yypvt[-3].o, yypvt[-1].o); | ^ picy.y:163:24: warning: passing arguments to 'makebetween' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | { yyval.o = makebetween(yypvt[-4].f, yypvt[-2].o, yypvt[-0].o); | ^ picy.y:168:13: warning: passing arguments to 'getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | { y = getvar(yypvt[-0].p); yyval.o = y->o; } break; | ^ picy.y:169:13: warning: passing arguments to 'getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | { y = getvar(yypvt[-1].p); yyval.o = getpos(y->o, yypvt[-0].i); } break; | ^ picy.y:169:44: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | { y = getvar(yypvt[-1].p); yyval.o = getpos(y->o, yypvt[-0].i); } break; | ^ picy.y:170:13: warning: passing arguments to 'getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | { y = getvar(yypvt[-0].p); yyval.o = getpos(y->o, yypvt[-1].i); } break; | ^ picy.y:170:44: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | { y = getvar(yypvt[-0].p); yyval.o = getpos(y->o, yypvt[-1].i); } break; | ^ picy.y:172:20: warning: passing arguments to 'getlast' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | { yyval.o = getlast(yypvt[-1].i, yypvt[-0].i); } break; | ^ picy.y:173:27: warning: passing arguments to 'getlast' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | { yyval.o = getpos(getlast(yypvt[-2].i, yypvt[-1].i), yypvt[-0].i); } break; | ^ picy.y:173:19: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | { yyval.o = getpos(getlast(yypvt[-2].i, yypvt[-1].i), yypvt[-0].i); } break; | ^ picy.y:174:27: warning: passing arguments to 'getlast' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | { yyval.o = getpos(getlast(yypvt[-1].i, yypvt[-0].i), yypvt[-2].i); } break; | ^ picy.y:174:19: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | { yyval.o = getpos(getlast(yypvt[-1].i, yypvt[-0].i), yypvt[-2].i); } break; | ^ picy.y:175:21: warning: passing arguments to 'getfirst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | { yyval.o = getfirst(yypvt[-1].i, yypvt[-0].i); } break; | ^ picy.y:176:28: warning: passing arguments to 'getfirst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | { yyval.o = getpos(getfirst(yypvt[-2].i, yypvt[-1].i), yypvt[-0].i); } break; | ^ picy.y:176:19: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | { yyval.o = getpos(getfirst(yypvt[-2].i, yypvt[-1].i), yypvt[-0].i); } break; | ^ picy.y:177:28: warning: passing arguments to 'getfirst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | { yyval.o = getpos(getfirst(yypvt[-1].i, yypvt[-0].i), yypvt[-2].i); } break; | ^ picy.y:177:19: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | { yyval.o = getpos(getfirst(yypvt[-1].i, yypvt[-0].i), yypvt[-2].i); } break; | ^ picy.y:179:19: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | { yyval.o = getpos(yypvt[-1].o, yypvt[-0].i); } break; | ^ picy.y:180:19: warning: passing arguments to 'getpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | { yyval.o = getpos(yypvt[-0].o, yypvt[-1].i); } break; | ^ picy.y:184:29: warning: passing arguments to 'getlast' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | { yyval.o = getblock(getlast(yypvt[-3].i,yypvt[-2].i), yypvt[-0].p); } break; | ^ picy.y:184:21: warning: passing arguments to 'getblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | { yyval.o = getblock(getlast(yypvt[-3].i,yypvt[-2].i), yypvt[-0].p); } break; | ^ picy.y:185:30: warning: passing arguments to 'getfirst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | { yyval.o = getblock(getfirst(yypvt[-3].i,yypvt[-2].i), yypvt[-0].p); } break; | ^ picy.y:185:21: warning: passing arguments to 'getblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | { yyval.o = getblock(getfirst(yypvt[-3].i,yypvt[-2].i), yypvt[-0].p); } break; | ^ picy.y:186:13: warning: passing arguments to 'getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | { y = getvar(yypvt[-2].p); yyval.o = getblock(y->o, yypvt[-0].p); } break; | ^ picy.y:186:46: warning: passing arguments to 'getblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | { y = getvar(yypvt[-2].p); yyval.o = getblock(y->o, yypvt[-0].p); } break; | ^ picy.y:214:20: warning: passing arguments to 'getfval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | { yyval.f = getfval(yypvt[-0].p); } break; | ^ picy.y:216:20: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | { yyval.f = getcomp(yypvt[-1].o, yypvt[-0].i); } break; | ^ picy.y:217:20: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | { yyval.f = getcomp(yypvt[-1].o, yypvt[-0].i); } break; | ^ picy.y:218:20: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | { yyval.f = getcomp(yypvt[-1].o, yypvt[-0].i); } break; | ^ picy.y:219:20: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | { yyval.f = getcomp(yypvt[-1].o, yypvt[-0].i); } break; | ^ picy.y:220:20: warning: passing arguments to 'getcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | { yyval.f = getcomp(yypvt[-1].o, yypvt[-0].i); } break; | ^ picy.y:298:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] 298 | yyps= &yys[-1]; | ^ ~~ picy.y:287:2: note: array 'yys' declared here 287 | short yys[YYMAXDEPTH]; | ^ picy.y:299:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] 299 | yypv= &yyv[-1]; | ^ ~~ picy.y:280:1: note: array 'yyv' declared here 280 | YYSTYPE yyv[YYMAXDEPTH]; /* where the values are stored */ | ^ 93 warnings generated. --- figd.o --- figd.c:68:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | fig_window(lox, loy, hix, hiy, loxpage, hiypage, hixpage, loypage) | ^ | int figd.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:84:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | static sendpath(); | ~~~~~~ ^ | int figd.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | pensize(x) | ^ | int figd.c:93:6: warning: call to undeclared function 'clearpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | clearpath(); | ^ figd.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | pensize(x) | ^ figd.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | texture (pcount, bitpattern) | ^ | int figd.c:109:5: warning: call to undeclared function 'clearpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | clearpath (); | ^ figd.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | texture (pcount, bitpattern) | ^ figd.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | clearpath() | ^ | int figd.c:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | static ckbounds(x, y) | ~~~~~~ ^ | int figd.c:133:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | map(x, y, ix, iy, bounds) | ^ | int figd.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | fig_text_at(text, x, y, position) | ^ | int figd.c:180:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 180 | #endif TEXT_LEFT_ONLY | ^ --- misc.o --- In file included from misc.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' misc.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | setdir(n) /* set direction from n */ | ^ | int misc.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] misc.c:59:2: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | abort(); /*NOTREACHED*/ | ^ --- figd.o --- | // figd.c:235:96: 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] 235 | O_TEXT, position, -1, 0,-1,font,ifontsize,0.0, 4,Pix_To_Figpix(FONT_HT),Pix_To_Figpix(strlen(cp)*FONT_WIDTH), | ^ figd.c:235:96: note: include the header or explicitly provide a declaration for 'strlen' figd.c:235:103: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 235 | O_TEXT, position, -1, 0,-1,font,ifontsize,0.0, 4,Pix_To_Figpix(FONT_HT),Pix_To_Figpix(strlen(cp)*FONT_WIDTH), --- misc.o --- misc.c:59:2: note: include the header or explicitly provide a declaration for 'abort' misc.c:19:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | float getcomp(p, t) /* return component of a position */ | ^ In file included from misc.c:2: ./pic.h:99:25: 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] 99 | extern float getfval(), getcomp(); | ^ misc.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | makeattr(type, val) /* add attribute type and val */ | ^ | int --- figd.o --- | ^~ figd.c:44:52: note: expanded from macro 'Pix_To_Figpix' 44 | #define Pix_To_Figpix(x) ((int)(FIGRES * Pix_To_In(x))) | ^ figd.c:37:33: note: expanded from macro 'Pix_To_In' 37 | #define Pix_To_In(x) (((float) x) / RES) | ^ figd.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | fig_text_at(text, x, y, position) | ^ figd.c:252:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | fig_drawto(x, y) | ^ | int --- misc.o --- misc.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] misc.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | printexpr(f) /* print expression for debugging */ | ^ | int misc.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] misc.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | printpos(p) /* print position for debugging */ | ^ | int misc.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- figd.o --- figd.c:258:2: warning: call to undeclared function 'fig_raw_drawto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | fig_raw_drawto(x0, y0); | ^ figd.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | fig_drawto(x, y) | ^ figd.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | fig_raw_drawto(x, y) | ^ | int figd.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:283:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | static sendpath() | ~~~~~~ ^ | int figd.c:332:25: warning: data argument not used by format string [-Wformat-extra-args] --- misc.o --- misc.c:93:25: 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] 93 | p = malloc((unsigned) (strlen(s)+1)); | ^ misc.c:93:25: note: include the header or explicitly provide a declaration for 'strlen' misc.c:93:12: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | p = malloc((unsigned) (strlen(s)+1)); | ^ misc.c:95:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | yyerror("out of space in tostring on %s", s); | ^ --- figd.o --- 332 | if (dbg) printf("\n", Pix_To_Figpix(xx[i]), Pix_To_Figpix(yy[i])); | ~~~~ ^ figd.c:44:26: note: expanded from macro 'Pix_To_Figpix' 44 | #define Pix_To_Figpix(x) ((int)(FIGRES * Pix_To_In(x))) | ^ figd.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | send_dashed_path(inchesperdash, dotted) | ^ | int figd.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:381:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 381 | static draw() | ~~~~~~ ^ | int figd.c:392:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | fig_hvflush(x, y) | ^ | int --- misc.o --- misc.c:96:3: 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] 96 | exit(1); | ^ misc.c:96:3: note: include the header or explicitly provide a declaration for 'exit' misc.c:88:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | char *tostring(s) | ^ In file included from misc.c:2: ./pic.h:98:25: 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] 98 | extern char *malloc(), *tostring(); | ^ --- figd.o --- figd.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:408:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 408 | fig_flush() | ^ | int figd.c:417:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 417 | fig_arc(xcenter, ycenter, xradius, yradius, start, stop) | ^ | int figd.c:426:9: warning: call to undeclared function 'is_onarc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | if (is_onarc(0.0, start, stop)) ckbounds(X0+xrad, Y0); | ^ figd.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | fig_arc(xcenter, ycenter, xradius, yradius, start, stop) | ^ --- misc.o --- misc.c:107:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | p = makenode(PLACE, 0); | ^ misc.c:102:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | struct obj *makepos(x, y) /* make a osition cell */ | ^ In file included from misc.c:2: ./pic.h:114:33: 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] 114 | extern struct obj *makenode(), *makepos(), *fixpos(), *makebetween(); | ^ --- figd.o --- figd.c:515:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 515 | fig_circle(xcenter, ycenter, radius) | ^ | int figd.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:526:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 526 | fig_ellipse(xcenter, ycenter, xradius, yradius) | ^ | int figd.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 538 | fig_begin_drawing() | ^ | int --- misc.o --- misc.c:120:14: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | p = makenode(PLACE, 0); | ^ misc.c:113:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | struct obj *makebetween(f, p1, p2) /* make position between p1 and p2 */ | ^ In file included from misc.c:2: ./pic.h:114:56: 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] 114 | extern struct obj *makenode(), *makepos(), *fixpos(), *makebetween(); | ^ misc.c:132:28: warning: format specifies type 'unsigned int' but the argument has type 'struct obj *' [-Wformat] --- figd.o --- figd.c:596:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 596 | fig_end_drawing() | ^ | int figd.c:617:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 617 | draw_fig_spline(xx, yy, N) | ^ | int figd.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] figd.c:694:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 694 | fig_shade() | ^ | int figd.c:704:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 704 | fig_whiten() | ^ | int 45 warnings generated. --- misc.o --- 132 | dprintf("getpos %o %d\n", p, corner); | ~~ ^ misc.c:126:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | struct obj *getpos(p, corner) /* find position of point */ | ^ In file included from misc.c:2: ./pic.h:115:20: 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] 115 | extern struct obj *getpos(), *gethere(), *getfirst(), *getlast(), *getblock() | ^ misc.c:236:2: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | yyerror("there is no %dth last", n); | ^ misc.c:216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | struct obj *getlast(n, t) /* find n-th previous occurrence of type t */ | ^ In file included from misc.c:2: ./pic.h:115:56: 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] 115 | extern struct obj *getpos(), *gethere(), *getfirst(), *getlast(), *getblock() | ^ misc.c:260:2: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | yyerror("there is no %dth ", n); | ^ misc.c:240:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | struct obj *getfirst(n, t) /* find n-th occurrence of type t */ | ^ In file included from misc.c:2: ./pic.h:115:43: 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] 115 | extern struct obj *getpos(), *gethere(), *getfirst(), *getlast(), *getblock() | ^ misc.c:271:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | yyerror(".%s is not in that block", s); | ^ misc.c:274:13: warning: cast to 'struct symtab *' from smaller integer type 'int' [-Wint-to-pointer-cast] 274 | for (stp = (struct symtab *) p->o_dotdash; stp != NULL; stp = stp->s_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:275:7: 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] 275 | if (strcmp(s, stp->s_name) == 0) { | ^ misc.c:275:7: note: include the header or explicitly provide a declaration for 'strcmp' misc.c:280:2: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | yyerror("there is no .%s in that []", s); | ^ misc.c:264:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | struct obj *getblock(p, s) /* find variable s in block p */ | ^ In file included from misc.c:2: ./pic.h:115:68: 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] 115 | extern struct obj *getpos(), *gethere(), *getfirst(), *getlast(), *getblock() | ^ misc.c:284:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | struct obj *fixpos(p, x, y) | ^ In file included from misc.c:2: ./pic.h:114:45: 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] 114 | extern struct obj *makenode(), *makepos(), *fixpos(), *makebetween(); | ^ misc.c:298:27: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | p = (struct obj *) malloc((unsigned) (sizeof(struct obj) + (n-1)*sizeof | ^ misc.c:301:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | yyerror("out of space in makenode\n"); | ^ misc.c:317:7: warning: extra tokens at end of #else directive [-Wextra-tokens] 317 | #else mc68000 | ^ | // misc.c:322:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 322 | #endif mc68000 | ^ | // misc.c:324:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | yyerror("objlist overflow\n"); | ^ misc.c:292:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | struct obj *makenode(type, n) | ^ In file included from misc.c:2: ./pic.h:114:20: 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] 114 | extern struct obj *makenode(), *makepos(), *fixpos(), *makebetween(); | ^ misc.c:331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 331 | extreme(x, y) /* record max and min x and y values */ | ^ | int misc.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 warnings generated. --- picl.o --- In file included from picl.c:40: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 98 | extern char *malloc(), *tostring(); | ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' picl.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | yylex(){ | ^ | int picl.c:64:15: warning: call to undeclared function 'yylook'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | while((nstr = yylook()) >= 0) | ^ picl.c:67:4: warning: call to undeclared function 'yywrap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | if(yywrap()) return(0); break; | ^ picl.c:91:23: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | yylval.p = tostring(yytext); | ^ picl.c:433:3: warning: call to undeclared function 'definition'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | { definition(yytext); BEGIN A; } | ^ picl.c:439:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | { yylval.i = atoi(yytext); return(NTH); } | ^ picl.c:442:14: warning: call to undeclared function 'atof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 442 | { yylval.f = atof(yytext); return(NUMBER); } | ^ picl.c:448:13: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | p = lookup(yytext); | ^ picl.c:450:8: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | c = input(); | ^ picl.c:451:4: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | unput(c); | ^ picl.c:453:5: warning: call to undeclared function 'dodef'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | dodef(p); | ^ picl.c:455:5: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | pbstr(p->s_val); | ^ picl.c:456:36: warning: format specifies type 'char *' but the argument has type 'YYSTYPE' [-Wformat] 456 | dprintf("pushing back `%s'\n", p->s_val); | ~~ ^~~~~~~~ picl.c:459:23: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | yylval.p = tostring(yytext); | ^ picl.c:462:23: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | yylval.p = tostring(yytext); | ^ picl.c:483:46: warning: passing arguments to 'tostring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | { BEGIN A; cbuf[clen]=0; yylval.p = tostring(cbuf); return(TEXT); } | ^ picl.c:486:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | { yyerror("newline in string"); BEGIN A; return(ST); } | ^ picl.c:489:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 489 | { CADD; } | ^ picl.c:46:59: note: expanded from macro 'CADD' 46 | #define CADD cbuf[clen++]=yytext[0]; if(clen>=CBUFLEN-1) {yyerror("string too long", cbuf); BEGIN A;} | ^ picl.c:2709:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2709 | yylook(){ | ^ | int picl.c:2744:25: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2744 | *yylastch++ = yych = input(); | ^ picl.c:2755:9: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] 2755 | if ( (int)yyt > (int)yycrank){ | ^~~~~~~~ picl.c:2755:20: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] 2755 | if ( (int)yyt > (int)yycrank){ | ^~~~~~~~~~~~ picl.c:2759:8: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2759 | {unput(*--yylastch);break;} | ^ picl.c:2765:12: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] 2765 | else if((int)yyt < (int)yycrank) { /* r < yycrank */ | ^~~~~~~~ picl.c:2765:23: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] 2765 | else if((int)yyt < (int)yycrank) { /* r < yycrank */ | ^~~~~~~~~~~~ picl.c:2773:8: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2773 | {unput(*--yylastch);break;} | ^ picl.c:2787:8: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2787 | {unput(*--yylastch);break;} | ^ picl.c:2800:6: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2800 | {unput(*--yylastch);break;} | ^ picl.c:2823:12: warning: call to undeclared function 'yyback'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2823 | while(yyback((*lsp)->yystops,-*yyfnd) != 1 && lsp > yylstate){ | ^ picl.c:2825:7: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2825 | unput(*yylastch--); | ^ picl.c:2841:4: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2841 | unput(*yylastch); | ^ picl.c:2848:28: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2848 | yyprevious = yytext[0] = input(); | ^ picl.c:2857:11: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2857 | yyback(p, m) | ^ 2858 | int *p; 2859 | { picl.c:2857:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2857 | yyback(p, m) | ^ | int picl.c:2857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picl.c:2869:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2869 | yyinput(){ | ^ | int picl.c:2870:9: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2870 | return(input()); | ^ picl.c:2872:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2872 | yyoutput(c) | ^ | int picl.c:2872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picl.c:2876:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2876 | yyunput(c) | ^ | int picl.c:2878:2: warning: call to undeclared function 'unput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2878 | unput(c); | ^ picl.c:2876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2876 | yyunput(c) | ^ 43 warnings generated. --- plfig.o --- plfig.c:44:15: 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] 44 | extern double sqrt(), atan2(); | ^ plfig.c:44:23: 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] 44 | extern double sqrt(), atan2(); | ^ plfig.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | openpl() /* initialize device */ | ^ | int plfig.c:50:2: warning: call to undeclared function 'fig_begin_drawing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | fig_begin_drawing(); | ^ plfig.c:68:7: warning: call to undeclared function 'space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | space(xmin, ymin, xmin + ymax-ymin, ymax); | ^ plfig.c:74:6: warning: call to undeclared function 'space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | space(sxmin, symin, sxmax, symax); | ^ plfig.c:76:6: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (xconv(xmax) >= 32768 || yconv(ymax) >= 32768) { /* internal tro | ^ plfig.c:76:30: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (xconv(xmax) >= 32768 || yconv(ymax) >= 32768) { /* internal tro | ^ plfig.c:79:3: 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] 79 | exit(1); | ^ plfig.c:79:3: note: include the header or explicitly provide a declaration for 'exit' plfig.c:83:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 83 | closepl() /* clean up after finished */ | ^ | int plfig.c:85:2: warning: call to undeclared function 'movehv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | movehv(0, 0); /* get back to where we started */ | ^ plfig.c:86:2: warning: call to undeclared function 'fig_end_drawing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | fig_end_drawing(); | ^ plfig.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | move(x, y) /* go to position x, y in external coords */ | ^ | int plfig.c:92:2: warning: call to undeclared function 'hgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | hgoto(xconv(x)); | ^ plfig.c:92:8: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | hgoto(xconv(x)); | ^ plfig.c:93:2: warning: call to undeclared function 'vgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | vgoto(yconv(y)); | ^ plfig.c:93:8: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | vgoto(yconv(y)); | ^ plfig.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | move(x, y) /* go to position x, y in external coords */ | ^ plfig.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | movehv(h, v) /* go to internal position h, v */ | ^ | int plfig.c:99:2: warning: call to undeclared function 'hgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | hgoto(h); | ^ plfig.c:100:2: warning: call to undeclared function 'vgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | vgoto(v); | ^ plfig.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | movehv(h, v) /* go to internal position h, v */ | ^ plfig.c:103:7: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | hgoto(n) | ^ 104 | { plfig.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | hgoto(n) | ^ | int plfig.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plfig.c:108:7: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | vgoto(n) | ^ 109 | { plfig.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | vgoto(n) | ^ | int plfig.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plfig.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | hvflush() /* get to proper point for output */ | ^ | int plfig.c:115:2: warning: call to undeclared function 'fig_hvflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | fig_hvflush((float) hpos, (float) vpos); | ^ plfig.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | flyback() /* return to upper left corner (entry point) */ | ^ | int plfig.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | troff(s) | ^ | int plfig.c:168:9: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | if (strncmp (s, ".ps", 3) == 0) { | ^ plfig.c:168:9: note: include the header or explicitly provide a declaration for 'strncmp' plfig.c:172:6: warning: call to undeclared function 'pensize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | pensize (size); | ^ plfig.c:226:2: warning: call to undeclared function 'texture'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | texture (pcount, bitpattern); | ^ plfig.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | troff(s) | ^ plfig.c:233:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 233 | label(s, t, nh) /* text s of type t nh half-lines up */ | ^ | int plfig.c:247:1: warning: '/*' within block comment [-Wcomment] 247 | /* quarter_lines * res in points * quarter_baseline */ | ^ plfig.c:254:3: warning: call to undeclared function 'fig_text_at'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | fig_text_at(s, atx, aty, 0); | ^ plfig.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | label(s, t, nh) /* text s of type t nh half-lines up */ | ^ plfig.c:267:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | line(x0, y0, x1, y1) /* draw line from x0,y0 to x1,y1 */ | ^ | int plfig.c:271:2: warning: call to undeclared function 'cont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | cont(x1, y1); | ^ plfig.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | line(x0, y0, x1, y1) /* draw line from x0,y0 to x1,y1 */ | ^ plfig.c:274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 274 | dashed_line(x0, y0, x1, y1, inchesperdash, dotted) | ^ | int plfig.c:280:10: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | h1 = xconv(x1); | ^ plfig.c:281:10: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | v1 = yconv(y1); | ^ plfig.c:284:5: warning: call to undeclared function 'fig_drawto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | fig_drawto((float) h1, (float) v1); | ^ plfig.c:285:5: warning: call to undeclared function 'send_dashed_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | send_dashed_path(inchesperdash, dotted); | ^ plfig.c:286:5: warning: call to undeclared function 'clearpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | clearpath(); | ^ plfig.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | dashed_line(x0, y0, x1, y1, inchesperdash, dotted) | ^ plfig.c:292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 292 | arrow(x0, y0, x1, y1, w, h) /* draw arrow (without line), head wid w & len | ^ | int plfig.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plfig.c:314:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | box(x0, y0, x1, y1) | ^ | int plfig.c:318:2: warning: call to undeclared function 'cont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | cont(x0, y1); | ^ plfig.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | box(x0, y0, x1, y1) | ^ plfig.c:324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 324 | cont(x, y) /* continue line from here to x,y */ | ^ | int plfig.c:329:7: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | h1 = xconv(x); | ^ plfig.c:330:7: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | v1 = yconv(y); | ^ plfig.c:333:2: warning: call to undeclared function 'fig_drawto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | fig_drawto((float) h1, (float) v1); | ^ plfig.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | cont(x, y) /* continue line from here to x,y */ | ^ plfig.c:338:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 338 | circle(x, y, r) | ^ | int plfig.c:341:2: warning: call to undeclared function 'fig_flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | fig_flush(); | ^ plfig.c:342:2: warning: call to undeclared function 'fig_circle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); | ^ plfig.c:342:21: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); | ^ plfig.c:342:39: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); | ^ plfig.c:342:57: warning: call to undeclared function 'xsc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); | ^ plfig.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | circle(x, y, r) | ^ plfig.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | tpspline(x, y, n, p) | ^ | int plfig.c:356:13: warning: call to undeclared function 'xsc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | xx[num] = xsc(p[i]); | ^ plfig.c:357:13: warning: call to undeclared function 'ysc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | yy[num] = ysc(p[i+1]); | ^ plfig.c:366:2: warning: call to undeclared function 'draw_fig_spline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | draw_fig_spline(xx, yy, num); | ^ plfig.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | tpspline(x, y, n, p) | ^ plfig.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | ellipse(x, y, r1, r2) | ^ | int plfig.c:373:2: warning: call to undeclared function 'fig_flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | fig_flush(); | ^ plfig.c:374:2: warning: call to undeclared function 'fig_ellipse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), | ^ plfig.c:374:22: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), | ^ plfig.c:374:40: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), | ^ plfig.c:374:58: warning: call to undeclared function 'xsc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), | ^ plfig.c:375:15: warning: call to undeclared function 'ysc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | (float) abs(ysc(r2))); | ^ plfig.c:381:1: warning: '/*' within block comment [-Wcomment] 381 | /* start and stop are calculated in reverse because the positive y direction * | ^ plfig.c:383:1: warning: '/*' within block comment [-Wcomment] 383 | /* on the Imagen is downwards, which reverses "counterclockwise" */ | ^ plfig.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | ellipse(x, y, r1, r2) | ^ plfig.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | arc(x, y, x0, y0, x1, y1, r) | ^ | int plfig.c:389:2: warning: call to undeclared function 'fig_flush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | fig_flush(); | ^ plfig.c:390:6: warning: call to undeclared function 'xsc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | r = xsc(r); | ^ plfig.c:391:24: warning: call to undeclared function 'ysc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 391 | start = atan2((float) ysc(y1-y), (float) xsc(x1-x)); | ^ plfig.c:397:2: warning: call to undeclared function 'fig_arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | fig_arc((float) xconv(x), (float) yconv(y), r, r, start, stop); | ^ plfig.c:397:18: warning: call to undeclared function 'xconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | fig_arc((float) xconv(x), (float) yconv(y), r, r, start, stop); | ^ plfig.c:397:36: warning: call to undeclared function 'yconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | fig_arc((float) xconv(x), (float) yconv(y), r, r, start, stop); | ^ plfig.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | arc(x, y, x0, y0, x1, y1, r) | ^ plfig.c:402:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 402 | space(x0, y0, x1, y1) /* set limits of page */ | ^ | int plfig.c:415:2: warning: call to undeclared function 'fig_window'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 415 | fig_window(x0, y0, x1, y1, x0/res, y1/res, x1/res, y0/res); | ^ plfig.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | space(x0, y0, x1, y1) /* set limits of page */ | ^ plfig.c:418:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 418 | xconv(x) /* convert x from external to internal form */ | ^ | int plfig.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plfig.c:427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 427 | xsc(x) /* convert x from external to internal form, scaling only */ | ^ | int plfig.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plfig.c:436:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | yconv(y) /* convert y from external to internal form */ | ^ | int plfig.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plfig.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 446 | ysc(y) /* convert y from external to internal form, scaling only */ | ^ | int plfig.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 warnings generated. --- pic2fig --- cc -o pic2fig picy.o picl.o main.o print.o misc.o symtab.o blockgen.o boxgen.o circgen.o arcgen.o linegen.o movegen.o texgen.o textgen.o pic2.o plfig.o figd.o -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pic2fig-1.4_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/print/pic2fig/work/pic2fig/pic2fig /wrkdirs/usr/ports/print/pic2fig/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/print/pic2fig/work/pic2fig/pic2fig.1 /wrkdirs/usr/ports/print/pic2fig/work/stage/usr/local/share/man/man1 ====> 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-12-12T06:30:03+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' '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 pic2fig-1.4_3 ===> Building pic2fig-1.4_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pic2fig-1.4_3 build of print/pic2fig | pic2fig-1.4_3 ended at Fri Dec 12 01:30:06 EST 2025 build time: 00:00:04