=>> Building graphics/jgraph build started at Wed Dec 10 20:35:49 EST 2025 port directory: /usr/ports/graphics/jgraph package name: jgraph-8.3_2 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 475 Aug 27 2024 /usr/ports/graphics/jgraph/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 6039cfb5b0a6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 15 ---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/15/.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-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/jgraph/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/jgraph/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/jgraph/work/.cache HOME=/wrkdirs/usr/ports/graphics/jgraph/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/jgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/jgraph/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-- DATADIR=/usr/local/share/jgraph XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/jgraph/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/jgraph/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/jgraph/work/.cache HOME=/wrkdirs/usr/ports/graphics/jgraph/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/jgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/jgraph/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -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/jgraph" EXAMPLESDIR="share/examples/jgraph" DATADIR="share/jgraph" WWWDIR="www/jgraph" ETCDIR="etc/jgraph" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/jgraph DOCSDIR=/usr/local/share/doc/jgraph EXAMPLESDIR=/usr/local/share/examples/jgraph WWWDIR=/usr/local/www/jgraph ETCDIR=/usr/local/etc/jgraph --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 ===> NOTICE: The jgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> jgraph-8.3_2 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 ===> jgraph-8.3_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of jgraph-8.3_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The jgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by jgraph-8.3_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The jgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by jgraph-8.3_2 for building => SHA256 Checksum OK for jgraph.shar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The jgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by jgraph-8.3_2 for building ===> Extracting for jgraph-8.3_2 => SHA256 Checksum OK for jgraph.shar.Z. MSDOS.help NeXT.help README acc.jgr acc.tex ad.jgr alb.jgr bailey.jgr bailey.pts cube.jgr data.txt descrip.mms disk.jgr draw.c ebars.jgr edit.c ex1.jgr ex2.jgr exit.c g8.jgr g8col.jgr g9n10.jgr gpaper.jgr hypercube.jgr jgraph.1 jgraph.c jgraph.com jgraph.h jmalloc.c list.c list.h mab2.jgr mab2.times makefile nr.jgr printline.c prio_list.c prio_list.h process.c redexp.vms show.c sin.c sin.jgr sin.pts sin1.jgr sin2.c sin2.jgr sin2.pts sin3.jgr sin3.pts token.c tree.awk wortman.jgr =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for jgraph-8.3_2 ===> Applying FreeBSD patches for jgraph-8.3_2 from /usr/ports/graphics/jgraph/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> jgraph-8.3_2 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. ===> jgraph-8.3_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of jgraph-8.3_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for jgraph-8.3_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for jgraph-8.3_2 --- draw.o --- --- edit.o --- --- jgraph.o --- --- list.o --- --- printline.o --- --- prio_list.o --- --- process.o --- --- show.o --- --- token.o --- --- draw.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing draw.c --- edit.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing edit.c --- jgraph.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing jgraph.c --- list.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing list.c --- process.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing process.c --- prio_list.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing prio_list.c --- printline.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing printline.c --- token.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing token.c --- show.o --- cc -c -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing show.c --- prio_list.o --- prio_list.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | prio_insert(node, list, desc) | ^ | int prio_list.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. --- list.o --- list.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | insert(item, list) /* Inserts to the end of a list */ | ^ | int list.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] list.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | delete_item(item) /* Deletes an arbitrary iterm */ | ^ | int list.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] list.c:61:18: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | l = (Int_list) malloc(sizeof(struct int_list)); | ^ list.c:61:18: note: include the header or explicitly provide a declaration for 'malloc' list.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | List make_list(size) /* Creates a new list */ | ^ list.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | List get_node(list) /* Allocates a node to be inserted into the list */ | ^ list.c:86:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 86 | free_node(node, list) /* Deallocates a node from the list */ | ^ | int list.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 warnings generated. --- printline.o --- printline.c:26:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | gsave() | ^ | int printline.c:30:31: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | Jgraph_fonts = (Fontlist) make_list(sizeof(struct fontlist)); | ^ printline.c:30:20: warning: cast to 'Fontlist' (aka 'struct fontlist *') from smaller integer type 'int' [-Wint-to-pointer-cast] 30 | Jgraph_fonts = (Fontlist) make_list(sizeof(struct fontlist)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ printline.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | grestore() | ^ | int printline.c:43:7: warning: call to undeclared function 'delete_item'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | delete_item(l); | ^ printline.c:44:7: warning: call to undeclared function 'free_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | free_node(l, Jgraph_fonts); | ^ printline.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | setfont(f, s) | ^ | int printline.c:60:12: 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] 60 | ins = (strcmp(l->f, f) != 0 || s != l->s); | ^ printline.c:60:12: note: include the header or explicitly provide a declaration for 'strcmp' printline.c:62:7: warning: call to undeclared function 'delete_item'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | delete_item(l); | ^ printline.c:63:7: warning: call to undeclared function 'free_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | free_node(l, Jgraph_fonts); | ^ printline.c:69:20: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | l = (Fontlist) get_node(Jgraph_fonts); | ^ printline.c:69:9: warning: cast to 'Fontlist' (aka 'struct fontlist *') from smaller integer type 'int' [-Wint-to-pointer-cast] 69 | l = (Fontlist) get_node(Jgraph_fonts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ printline.c:73:5: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | insert(l, Jgraph_fonts); | ^ printline.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | setfont(f, s) | ^ printline.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | setfill( x, y, t, f, p, a) | ^ | int printline.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | setgray( t, f) | ^ | int printline.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] printline.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | printline(x1, y1,x2, y2, orientation) | ^ | int printline.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | print_ebar(x1, y1, x2, ms, orientation) | ^ | int printline.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | start_line(x1, y1, c) | ^ | int printline.c:137:3: warning: call to undeclared function 'setlinewidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | setlinewidth(c->linethick); | ^ printline.c:138:3: warning: call to undeclared function 'setlinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | setlinestyle(c->linetype, c->gen_linetype); | ^ printline.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | start_line(x1, y1, c) | ^ printline.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | cont_line(x1, y1) | ^ | int printline.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | end_line() | ^ | int printline.c:151:3: warning: call to undeclared function 'setlinewidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | setlinewidth(1.0); | ^ printline.c:152:3: warning: call to undeclared function 'setlinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | setlinestyle('s', (Flist) 0); | ^ printline.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | bezier_control(x1, y1) | ^ | int printline.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] printline.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 163 | bezier_end(x1, y1) | ^ | int printline.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:170:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 170 | start_poly(x1, y1) | ^ | int printline.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | cont_poly(x1, y1) | ^ | int printline.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 182 | end_poly(x, y, ftype, fill, pattern, parg) | ^ | int printline.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | printellipse(x, y, radius1, radius2, ftype, fill, pattern, parg) | ^ | int printline.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:205:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 205 | set_comment(c) | ^ | int printline.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:211:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | comment(s) | ^ | int printline.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | printline_c(x1, y1, x2, y2, g) | ^ | int printline.c:221:17: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | printline(ctop(x1, g->x_axis), ctop(y1, g->y_axis), | ^ printline.c:221:38: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | printline(ctop(x1, g->x_axis), ctop(y1, g->y_axis), | ^ printline.c:222:17: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | ctop(x2, g->x_axis), ctop(y2, g->y_axis), 'x'); | ^ printline.c:222:38: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | ctop(x2, g->x_axis), ctop(y2, g->y_axis), 'x'); | ^ printline.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | printline_c(x1, y1, x2, y2, g) | ^ printline.c:225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 225 | print_label(l) | ^ | int printline.c:281:11: 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] 281 | f = strlen(s); | ^ printline.c:281:11: note: include the header or explicitly provide a declaration for 'strlen' printline.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | print_label(l) | ^ printline.c:293:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 293 | setlinewidth(size) | ^ | int printline.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] printline.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 299 | setlinestyle(style, glist) | ^ | int printline.c:321:14: 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] 321 | exit(1); | ^ printline.c:321:14: note: include the header or explicitly provide a declaration for 'exit' printline.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | setlinestyle(style, glist) | ^ 61 warnings generated. --- jgraph.o --- jgraph.c:37:15: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | l = (Label) malloc (sizeof(struct label)); | ^ jgraph.c:37:15: note: include the header or explicitly provide a declaration for 'malloc' jgraph.c:66:19: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | new_c = (Curve) get_node(c); | ^ jgraph.c:66:11: warning: cast to 'Curve' (aka 'struct curve *') from smaller integer type 'int' [-Wint-to-pointer-cast] 66 | new_c = (Curve) get_node(c); | ^~~~~~~~~~~~~~~~~~~ jgraph.c:84:24: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | new_c->pts = (Point) make_list(sizeof(struct point)); | ^ jgraph.c:84:16: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 84 | new_c->pts = (Point) make_list(sizeof(struct point)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:85:18: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 85 | new_c->yepts = (Point) make_list(sizeof(struct point)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:86:18: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 86 | new_c->xepts = (Point) make_list(sizeof(struct point)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:88:25: warning: cast to 'Flist' (aka 'struct flist *') from smaller integer type 'int' [-Wint-to-pointer-cast] 88 | new_c->gen_linetype = (Flist) make_list(sizeof(struct flist)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:95:26: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 95 | new_c->general_marks = (Point) make_list(sizeof(struct point)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:111:3: warning: call to undeclared function 'prio_insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | prio_insert(new_c, c, 0); | ^ jgraph.c:59:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | Curve new_curve(c, num) | ^ In file included from jgraph.c:14: ./jgraph.h:229: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] 229 | extern Curve new_curve(); | ^ jgraph.c:115:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | Curve new_line(c, num) | ^ In file included from jgraph.c:14: ./jgraph.h:228: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] 228 | extern Curve new_line(); | ^ jgraph.c:127:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | Curve get_curve(c, num) | ^ In file included from jgraph.c:14: ./jgraph.h:230: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] 230 | extern Curve get_curve(); | ^ jgraph.c:190:29: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | a->hash_labels = (String) make_list (sizeof(struct string)); | ^ jgraph.c:190:20: warning: cast to 'String' (aka 'struct string *') from smaller integer type 'int' [-Wint-to-pointer-cast] 190 | a->hash_labels = (String) make_list (sizeof(struct string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:191:19: warning: cast to 'Hash' (aka 'struct hash *') from smaller integer type 'int' [-Wint-to-pointer-cast] 191 | a->hash_lines = (Hash) make_list (sizeof(struct hash)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Axis new_axis(is_x) | ^ jgraph.c:232:20: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | new_s = (String) get_node(s); | ^ jgraph.c:232:11: warning: cast to 'String' (aka 'struct string *') from smaller integer type 'int' [-Wint-to-pointer-cast] 232 | new_s = (String) get_node(s); | ^~~~~~~~~~~~~~~~~~~~ jgraph.c:235:3: warning: call to undeclared function 'prio_insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | prio_insert(new_s, s, 0); | ^ jgraph.c:226:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | String new_string(s, num) | ^ In file included from jgraph.c:14: ./jgraph.h:233: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 subsequent definition [-Wdeprecated-non-prototype] 233 | extern String new_string(); | ^ jgraph.c:239:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | String get_string(s, num) | ^ In file included from jgraph.c:14: ./jgraph.h:234: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 subsequent definition [-Wdeprecated-non-prototype] 234 | extern String get_string(); | ^ jgraph.c:275:15: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | g = (Graph) get_node(gs); | ^ jgraph.c:275:7: warning: cast to 'Graph' (aka 'struct graph *') from smaller integer type 'int' [-Wint-to-pointer-cast] 275 | g = (Graph) get_node(gs); | ^~~~~~~~~~~~~~~~~~~~ jgraph.c:285:23: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | g->curves = (Curve) make_list(sizeof(struct curve)); | ^ jgraph.c:285:15: warning: cast to 'Curve' (aka 'struct curve *') from smaller integer type 'int' [-Wint-to-pointer-cast] 285 | g->curves = (Curve) make_list(sizeof(struct curve)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:286:16: warning: cast to 'String' (aka 'struct string *') from smaller integer type 'int' [-Wint-to-pointer-cast] 286 | g->strings = (String) make_list(sizeof(struct string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:292:3: warning: call to undeclared function 'prio_insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | prio_insert(g, gs, 0); | ^ jgraph.c:269:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | Graph new_graph(gs, num) | ^ In file included from jgraph.c:14: ./jgraph.h:231: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] 231 | extern Graph new_graph(); | ^ jgraph.c:296:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | Graph get_graph(g, num) | ^ In file included from jgraph.c:14: ./jgraph.h:232: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] 232 | extern Graph get_graph(); | ^ jgraph.c:306:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | new_graphs(gs) | ^ | int jgraph.c:311:19: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | newg = (Graphs) get_node(gs); | ^ jgraph.c:311:10: warning: cast to 'Graphs' (aka 'struct graphs *') from smaller integer type 'int' [-Wint-to-pointer-cast] 311 | newg = (Graphs) get_node(gs); | ^~~~~~~~~~~~~~~~~~~~~ jgraph.c:312:21: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | newg->g = (Graph) make_list(sizeof(struct graph)); | ^ jgraph.c:312:13: warning: cast to 'Graph' (aka 'struct graph *') from smaller integer type 'int' [-Wint-to-pointer-cast] 312 | newg->g = (Graph) make_list(sizeof(struct graph)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:322:3: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | insert(newg, gs); | ^ jgraph.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | new_graphs(gs) | ^ jgraph.c:325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 325 | main(argc, argv) | ^ | int jgraph.c:346:9: 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] 346 | if (strcmp(argv[i], "-p") == 0) show = 1; | ^ jgraph.c:346:9: note: include the header or explicitly provide a declaration for 'strcmp' jgraph.c:352:7: warning: call to undeclared function 'set_input_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | set_input_file(argv[i]); | ^ jgraph.c:355:20: warning: call to undeclared function 'set_input_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | if (nfiles == 0) set_input_file(CNULL); | ^ jgraph.c:356:17: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | gs = (Graphs) make_list(sizeof(struct graphs)); | ^ jgraph.c:356:8: warning: cast to 'Graphs' (aka 'struct graphs *') from smaller integer type 'int' [-Wint-to-pointer-cast] 356 | gs = (Graphs) make_list(sizeof(struct graphs)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jgraph.c:357:3: warning: call to undeclared function 'set_comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | set_comment(comments); | ^ jgraph.c:359:3: warning: call to undeclared function 'edit_graphs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | edit_graphs(gs); | ^ jgraph.c:360:3: warning: call to undeclared function 'process_graphs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | process_graphs(gs); | ^ jgraph.c:361:13: warning: call to undeclared function 'show_graphs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | if (show) show_graphs(gs); else draw_graphs(gs, pp, landscape); | ^ jgraph.c:361:35: warning: call to undeclared function 'draw_graphs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | if (show) show_graphs(gs); else draw_graphs(gs, pp, landscape); | ^ jgraph.c:362: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] 362 | exit(0); | ^ jgraph.c:362:3: note: include the header or explicitly provide a declaration for 'exit' jgraph.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | main(argc, argv) | ^ 57 warnings generated. --- token.o --- token.c:39:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | static oldcharvalid = 0; | ~~~~~~ ^ | int token.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | set_input_file(s) | ^ | int token.c:71:23: warning: call to undeclared function 'make_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | stack = (Iostack) make_list(sizeof(struct iostack)); | ^ token.c:71:13: warning: cast to 'Iostack' (aka 'struct iostack *') from smaller integer type 'int' [-Wint-to-pointer-cast] 71 | stack = (Iostack) make_list(sizeof(struct iostack)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token.c:74:7: 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] 74 | strcpy(FILENAME, ""); | ^ token.c:74:7: note: include the header or explicitly provide a declaration for 'strcpy' token.c:85:19: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | n = (Iostack) get_node(stack); | ^ token.c:85:9: warning: cast to 'Iostack' (aka 'struct iostack *') from smaller integer type 'int' [-Wint-to-pointer-cast] 85 | n = (Iostack) get_node(stack); | ^~~~~~~~~~~~~~~~~~~~~~~~~ token.c:87:50: 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] 87 | n->filename = (char *) malloc (sizeof(char)*(strlen(s)+2)); | ^ token.c:87:50: note: include the header or explicitly provide a declaration for 'strlen' token.c:93:5: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | insert(n, stack->flink); | ^ token.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | set_input_file(s) | ^ token.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | error_header() | ^ | int token.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | ungettokenchar() | ^ | int token.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | int gettoken(s) | ^ token.c:135:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 135 | get_comment() | ^ | int token.c:140:14: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | else if (strcmp(INPUT, "(*") == 0) | ^ token.c:140:14: note: include the header or explicitly provide a declaration for 'strcmp' token.c:152:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 152 | static push_iostack(p) | ~~~~~~ ^ | int token.c:157:17: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | n = (Iostack) get_node(stack); | ^ token.c:157:7: warning: cast to 'Iostack' (aka 'struct iostack *') from smaller integer type 'int' [-Wint-to-pointer-cast] 157 | n = (Iostack) get_node(stack); | ^~~~~~~~~~~~~~~~~~~~~~~~~ token.c:165:3: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | insert(n, stack); | ^ token.c:152:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | static push_iostack(p) | ^ token.c:181:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | static pop_iostack() | ~~~~~~ ^ | int token.c:199:59: warning: format specifies type 'char *' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] 199 | fprintf(stderr, "Error: cannot open file \"%s\"\n", n->stream); | ~~ ^~~~~~~~~ token.c:210:3: warning: call to undeclared function 'delete_item'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | delete_item(n); | ^ token.c:211:3: warning: call to undeclared function 'free_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | free_node(n, stack); | ^ token.c:214:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | static nexttoken() | ~~~~~~ ^ | int token.c:247:13: warning: call to undeclared function 'getsystemstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | if (getsystemstring() == 0) { | ^ token.c:262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | int getstring(s) | ^ token.c:271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | int getint(i) | ^ token.c:286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | int getfloat(f) | ^ token.c:308:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | static char *new_printable_text(s) | ^ token.c:419:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 419 | rejecttoken() | ^ | int 31 warnings generated. --- draw.o --- draw.c:20:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | error_header(); | ^ draw.c:24:8: 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] 24 | exit(1); | ^ draw.c:24:8: note: include the header or explicitly provide a declaration for 'exit' draw.c:14:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | float ctop(val, axis) | ^ In file included from draw.c:8: ./jgraph.h:217: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] 217 | extern float ctop(); | ^ draw.c:32:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | float disttop(val, axis) | ^ In file included from draw.c:8: ./jgraph.h:218: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] 218 | extern float disttop(); | ^ draw.c:43:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | float intop(val) | ^ In file included from draw.c:8: ./jgraph.h:219: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] 219 | extern float intop(); | ^ draw.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | draw_axis(a, other) | ^ | int draw.c:59:3: warning: call to undeclared function 'setlinewidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | setlinewidth(1.0); | ^ draw.c:60:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | comment("Drawing Axis"); | ^ draw.c:63:5: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | gsave(); | ^ draw.c:64:5: warning: call to undeclared function 'setgray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | setgray(a->gr_graytype, a->gr_gray); | ^ draw.c:67:9: warning: call to undeclared function 'printline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | printline(h->loc, 0.0, h->loc, other->psize, orientation); | ^ draw.c:70:5: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | grestore(); | ^ draw.c:74:5: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | gsave(); | ^ draw.c:75:5: warning: call to undeclared function 'setgray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | setgray(a->mgr_graytype, a->mgr_gray); | ^ draw.c:78:9: warning: call to undeclared function 'printline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | printline(h->loc, 0.0, h->loc, other->psize, orientation); | ^ draw.c:81:5: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | grestore(); | ^ draw.c:83:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | gsave(); | ^ draw.c:84:3: warning: call to undeclared function 'setgray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | setgray(a->graytype, a->gray); | ^ draw.c:86:5: warning: call to undeclared function 'printline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | printline(0.0, a->draw_at, a->psize, a->draw_at, orientation); | ^ draw.c:91:7: warning: call to undeclared function 'printline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | printline(h->loc, a->draw_hash_marks_at, h->loc, | ^ draw.c:105:7: warning: call to undeclared function 'draw_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | draw_label(a->hl); | ^ draw.c:110:5: warning: call to undeclared function 'draw_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | draw_label(a->label); | ^ draw.c:112:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | grestore(); | ^ draw.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | draw_axis(a, other) | ^ draw.c:117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 117 | draw_label(l) | ^ | int draw.c:121:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | comment(l->label); | ^ draw.c:122:3: warning: call to undeclared function 'print_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | print_label(l); | ^ draw.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | draw_label(l) | ^ draw.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | set_clip(g) | ^ | int draw.c:128:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | comment("Setting Clip"); | ^ draw.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | set_clip(g) | ^ draw.c:136:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | draw_curves(g) | ^ | int draw.c:141:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | gsave(); | ^ draw.c:145:5: warning: call to undeclared function 'draw_curve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | draw_curve(c, g); | ^ draw.c:147:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | grestore(); | ^ draw.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | draw_curves(g) | ^ draw.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | draw_curve(c, g) | ^ | int draw.c:159:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | gsave(); | ^ draw.c:160:3: warning: call to undeclared function 'setgray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | setgray(c->graytype, c->gray); | ^ draw.c:164:5: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | comment("Drawing Epts"); | ^ draw.c:167:5: warning: call to undeclared function 'setlinewidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | setlinewidth(c->linethick); | ^ draw.c:168:5: warning: call to undeclared function 'setlinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | setlinestyle('s', (Flist)0); | ^ draw.c:173:9: warning: call to undeclared function 'print_ebar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | print_ebar(x, y, ctop(px->x, g->x_axis), c->marksize[1]/2.0, 'x'); | ^ draw.c:180:9: warning: call to undeclared function 'print_ebar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | print_ebar(y, x, ctop(py->y, g->y_axis), c->marksize[0]/2.0, 'y'); | ^ draw.c:188:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | comment("Drawing Curve"); | ^ draw.c:196:11: warning: call to undeclared function 'start_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | start_line(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis), c); | ^ draw.c:199:11: warning: call to undeclared function 'bezier_control'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | bezier_control(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis)); | ^ draw.c:201:11: warning: call to undeclared function 'bezier_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | bezier_end(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis)); | ^ draw.c:205:11: warning: call to undeclared function 'end_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | end_line(); | ^ draw.c:214:11: warning: call to undeclared function 'setfill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | setfill(0.0, 0.0, c->pfilltype, c->pfill, c->ppattern, c->pparg); | ^ draw.c:216:9: warning: call to undeclared function 'end_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | end_line(); | ^ draw.c:225:11: warning: call to undeclared function 'start_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | start_line(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis), c); | ^ draw.c:227:11: warning: call to undeclared function 'cont_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | cont_line(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis)); | ^ draw.c:230:11: warning: call to undeclared function 'end_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | end_line(); | ^ draw.c:238:11: warning: call to undeclared function 'setfill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | setfill(0.0, 0.0, c->pfilltype, c->pfill, c->ppattern, c->pparg); | ^ draw.c:240:9: warning: call to undeclared function 'end_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | end_line(); | ^ draw.c:251:31: warning: call to undeclared function 'draw_mark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | if (!c->bezier || i == 0) draw_mark(this_x, this_y, c, g); | ^ draw.c:255:11: warning: call to undeclared function 'draw_arrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | draw_arrow(this_x, this_y, last_x, last_y, c); | ^ draw.c:259:11: warning: call to undeclared function 'draw_arrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | draw_arrow(last_x, last_y, this_x, this_y, c); | ^ draw.c:266:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | grestore(); | ^ draw.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | draw_curve(c, g) | ^ draw.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | draw_mark(x, y, c, g) | ^ | int draw.c:288:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | gsave(); | ^ draw.c:314:21: 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] 314 | if (strcmp(inp, "%%BoundingBox:") == 0) done = 1; | ^ draw.c:314:21: note: include the header or explicitly provide a declaration for 'strcmp' draw.c:317:47: warning: comparison between pointer and integer ('int' and 'void *') [-Wpointer-integer-compare] 317 | if (fscanf(f, "%d", &(bb[i])) == NULL) { | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ draw.c:344:15: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | comment(inp); | ^ draw.c:372:15: warning: call to undeclared function 'printline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | case 'c': printline(-ms0, 0.0, ms0, 0.0, 'x'); | ^ draw.c:375:15: warning: call to undeclared function 'start_poly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | case 'b': start_poly(-ms0, -ms1); | ^ draw.c:376:15: warning: call to undeclared function 'cont_poly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | cont_poly(ms0, -ms1); | ^ draw.c:379:15: warning: call to undeclared function 'end_poly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | end_poly(x, y, c->filltype, c->fill, c->pattern, c->parg); | ^ draw.c:457:15: warning: call to undeclared function 'setfill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | setfill(x, y, c->filltype, c->fill, c->pattern, c->parg); | ^ draw.c:470:15: warning: call to undeclared function 'printellipse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | case 'o': printellipse(x, y, ms0, ms0, | ^ draw.c:495:14: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | default: error_header(); | ^ draw.c:499:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | grestore(); | ^ draw.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | draw_mark(x, y, c, g) | ^ draw.c:502:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 502 | draw_arrow(x1, y1, x2, y2, c) | ^ | int draw.c:532:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 532 | gsave(); | ^ draw.c:534:3: warning: call to undeclared function 'start_poly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 534 | start_poly(0.0, 0.0); | ^ draw.c:535:3: warning: call to undeclared function 'cont_poly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 535 | cont_poly(-(c->asize[0]), (c->asize[1])); | ^ draw.c:537:3: warning: call to undeclared function 'end_poly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 537 | end_poly(0.0, 0.0, c->afilltype, c->afill, c->apattern, c->aparg); | ^ draw.c:538:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | grestore(); | ^ draw.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | draw_arrow(x1, y1, x2, y2, c) | ^ draw.c:542:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 542 | draw_legend(g) | ^ | int draw.c:551:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | comment("Drawing legend"); | ^ draw.c:553:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 553 | gsave(); | ^ draw.c:560:7: warning: call to undeclared function 'setgray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | setgray(c->graytype, c->gray); | ^ draw.c:569:11: warning: call to undeclared function 'start_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 569 | start_line(x, y, c); | ^ draw.c:570:11: warning: call to undeclared function 'cont_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | cont_line(x+l->linelength, y); | ^ draw.c:571:11: warning: call to undeclared function 'end_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | end_line(); | ^ draw.c:597:7: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | grestore(); | ^ draw.c:602:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 602 | grestore(); | ^ draw.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | draw_legend(g) | ^ draw.c:606:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 606 | draw_strings(g) | ^ | int draw.c:611:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 611 | comment("Drawing strings"); | ^ draw.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | draw_strings(g) | ^ draw.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | draw_graph(g) | ^ | int draw.c:619:3: warning: call to undeclared function 'comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | comment("Drawing New Graph"); | ^ draw.c:622:5: warning: call to undeclared function 'printline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | printline(0.0, 0.0, 0.0, g->y_axis->psize, 'x'); | ^ draw.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | draw_graph(g) | ^ draw.c:637:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 637 | draw_graphs(gs, pp, landscape) | ^ | int draw.c:646:5: warning: call to undeclared function 'draw_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 646 | draw_header(gs_p, pp, landscape); | ^ draw.c:650:5: warning: call to undeclared function 'draw_footer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 650 | draw_footer(gs_p, pp); | ^ draw.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | draw_graphs(gs, pp, landscape) | ^ draw.c:654:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 654 | draw_header(gs, pp, landscape) | ^ | int draw.c:688:32: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 688 | printf("%f 0 translate\n", -gs->bb[2] - gs->bb[0]); | ~~ ^~~~~~~~~~~~~~~~~~~~~~ | %d draw.c:730:3: warning: call to undeclared function 'gsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 730 | gsave(); | ^ draw.c:731:3: warning: call to undeclared function 'setfont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 731 | setfont("Times-Roman", 9.00); | ^ draw.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | draw_header(gs, pp, landscape) | ^ draw.c:749:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 749 | draw_footer(gs, pp) | ^ | int draw.c:771:3: warning: call to undeclared function 'grestore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 771 | grestore(); | ^ draw.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | draw_footer(gs, pp) | ^ 114 warnings generated. --- process.o --- process.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | process_title(g) | ^ | int process.c:28:28: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | else g->title->x = ctop(g->title->x, g->x_axis); | ^ process.c:29:46: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (g->title->y != FSIG) g->title->y = ctop(g->title->y, g->y_axis); | ^ process.c:43:3: warning: call to undeclared function 'process_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | process_label(g->title, g, 0); | ^ process.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | process_title(g) | ^ process.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | process_legend(g) | ^ | int process.c:77:33: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | else l->linelength = disttop(l->linelength, g->x_axis); | ^ process.c:80:31: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | else l->midspace = disttop(l->midspace, g->x_axis); | ^ process.c:83:32: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | else l->linebreak = disttop(l->linebreak, g->y_axis); | ^ process.c:87:33: warning: call to undeclared function 'process_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if (c->l->label != CNULL) process_label(c->l, g, 1); | ^ process.c:102:7: warning: call to undeclared function 'copy_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | copy_label(c->l, l->l); | ^ process.c:109:7: warning: call to undeclared function 'process_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | process_label(c->l, g, 0); | ^ process.c:154:19: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | l->l->x = ctop(l->l->x, g->x_axis); | ^ process.c:185:19: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | l->l->y = ctop(l->l->y, g->y_axis); | ^ process.c:203:7: warning: call to undeclared function 'process_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | process_label(c->l, g, 0); | ^ process.c:208:3: warning: call to undeclared function 'process_label_max_n_mins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | process_label_max_n_mins(l->l, width, height); | ^ process.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | process_legend(g) | ^ process.c:211:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | float find_reasonable_hash_interval(a) | ^ process.c:240:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | float find_reasonable_hash_start(a) | ^ process.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | int find_reasonable_precision(a) | ^ process.c:295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | int find_reasonable_minor_hashes(a) | ^ process.c:318:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 318 | process_axis1(a, g) | ^ | int process.c:327:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | error_header(); | ^ process.c:332:7: 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] 332 | exit(1); | ^ process.c:332:7: note: include the header or explicitly provide a declaration for 'exit' process.c:334:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | error_header(); | ^ process.c:343:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | error_header(); | ^ process.c:350:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | error_header(); | ^ process.c:363:19: warning: passing arguments to 'intop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | a->psize = intop(a->size); | ^ process.c:366:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | error_header(); | ^ process.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | process_axis1(a, g) | ^ process.c:388:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 388 | process_axis2(a, g) | ^ | int process.c:402:25: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | else a->draw_at = ctop(a->draw_at, other); | ^ process.c:415:18: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | h->loc = ctop(h->loc, a); | ^ process.c:419:19: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | s->s->x = ctop(s->s->x, a); | ^ process.c:420:19: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | s->s->y = ctop(s->s->y, a); | ^ process.c:432:18: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | hloc = ctop(t1, a); | ^ process.c:434:20: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | h = (Hash) get_node(a->hash_lines); | ^ process.c:434:13: warning: cast to 'Hash' (aka 'struct hash *') from smaller integer type 'int' [-Wint-to-pointer-cast] 434 | h = (Hash) get_node(a->hash_lines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:438:9: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | insert(h, a->hash_lines); | ^ process.c:440:15: warning: cast to 'String' (aka 'struct string *') from smaller integer type 'int' [-Wint-to-pointer-cast] 440 | s = (String) get_node (a->hash_labels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:444:34: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | s->s->label = (char *) malloc (80); | ^ process.c:444:34: note: include the header or explicitly provide a declaration for 'malloc' process.c:471:20: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | hloc = ctop(t3, a); | ^ process.c:473:22: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | h = (Hash) get_node(a->hash_lines); | ^ process.c:473:15: warning: cast to 'Hash' (aka 'struct hash *') from smaller integer type 'int' [-Wint-to-pointer-cast] 473 | h = (Hash) get_node(a->hash_lines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:477:11: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | insert(h, a->hash_lines); | ^ process.c:489:36: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | else a->draw_hash_marks_at = ctop(a->draw_hash_marks_at, other); | ^ process.c:493:37: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | else a->draw_hash_labels_at = ctop(a->draw_hash_labels_at, other); | ^ process.c:516:5: warning: call to undeclared function 'process_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | process_label(a->hl, g, 0); | ^ process.c:532:30: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | else a->label->x = ctop(a->label->x, g->x_axis); | ^ process.c:547:30: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | } else a->label->y = ctop(a->label->y, g->y_axis); | ^ process.c:554:30: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | else a->label->y = ctop(a->label->y, g->y_axis); | ^ process.c:569:30: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | } else a->label->x = ctop(a->label->x, g->x_axis); | ^ process.c:575:3: warning: call to undeclared function 'process_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | process_label (a->label, g, 0); | ^ process.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | process_axis2(a, g) | ^ process.c:578:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 578 | process_label(l, g, adjust) | ^ | int process.c:591:16: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | l->x = ctop(l->x, g->x_axis); | ^ process.c:592:16: warning: passing arguments to 'ctop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | l->y = ctop(l->y, g->y_axis); | ^ process.c:608:39: 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] 608 | tmp = l->fontsize * FCPI / FPPI * strlen(s) * 0.8; | ^ process.c:608:39: note: include the header or explicitly provide a declaration for 'strlen' process.c:617:3: warning: call to undeclared function 'process_label_max_n_mins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 617 | process_label_max_n_mins(l, len, height); | ^ process.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | process_label(l, g, adjust) | ^ process.c:620:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 620 | process_label_max_n_mins(l, len, height) | ^ | int process.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] process.c:669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 669 | process_strings(g) | ^ | int process.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] process.c:679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 679 | process_curve(c, g) | ^ | int process.c:684:5: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 684 | error_header(); | ^ process.c:691:33: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | 4.0 : disttop(c->marksize[0], g->x_axis); | ^ process.c:693:33: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | 4.0 : disttop(c->marksize[1], g->y_axis); | ^ process.c:696:33: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | 6.0 : disttop(c->asize[0], g->x_axis); | ^ process.c:698:33: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | 2.0 : disttop(c->asize[1], g->y_axis) / 2.0; | ^ process.c:699:24: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | c->lmark->x = disttop(c->lmark->x, g->x_axis); | ^ process.c:700:24: warning: passing arguments to 'disttop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | c->lmark->y = disttop(c->lmark->y, g->y_axis); | ^ process.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | process_curve(c, g) | ^ process.c:707:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 707 | process_curves(g) | ^ | int process.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] process.c:716:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 716 | process_extrema(g) /* This finds all the minval/maxvals for bbox calc */ | ^ | int process.c:731:28: warning: call to undeclared function 'process_label_extrema'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 731 | if (xa->draw_axis_label) process_label_extrema(xa->label, g); | ^ process.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | process_extrema(g) /* This finds all the minval/maxvals for bbox calc */ | ^ process.c:766:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 766 | process_label_extrema(l, g) | ^ | int process.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] process.c:777:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 777 | process_graph(g) | ^ | int process.c:780:25: warning: passing arguments to 'intop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | g->x_translate = intop(g->x_translate); | ^ process.c:781:25: warning: passing arguments to 'intop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | g->y_translate = intop(g->y_translate); | ^ process.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | process_graph(g) | ^ process.c:793:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 793 | process_graphs(gs) | ^ | int process.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 warnings generated. --- show.o --- show.c:12:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | static spaces(nsp) | ~~~~~~ ^ | int show.c:12:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:18:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | float ptoin(p) | ^ show.c:24:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | float ptoc(p, a) | ^ In file included from show.c:10: ./jgraph.h:220: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] 220 | extern float ptoc(); | ^ show.c:35:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | float ptodist(p, a) | ^ In file included from show.c:10: ./jgraph.h:221: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] 221 | extern float ptodist(); | ^ show.c:46:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | static show_mltiline(s) | ~~~~~~ ^ | int show.c:46:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:60:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | show_string(s) | ^ | int show.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | show_label(l, nsp, g) | ^ | int show.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | show_lmark(l, nsp, g) | ^ | int show.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:116:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | show_curve(c, nsp, g) | ^ | int show.c:149:7: 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] 149 | exit(1); | ^ show.c:149:7: note: include the header or explicitly provide a declaration for 'exit' show.c:165:5: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | error_header(); | ^ show.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | show_curve(c, nsp, g) | ^ show.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | show_axis(a, nsp, g) | ^ | int show.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | show_legend(l, nsp, g) | ^ | int show.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] show.c:365:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 365 | show_graph(g, nsp) | ^ | int show.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] show.c:397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 397 | show_graphs(gs) | ^ | int show.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 warnings generated. --- edit.o --- edit.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | edit_label(l) | ^ | int edit.c:23:11: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | while ( getstring(inp_str) ) { | ^ edit.c:24:9: 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] 24 | if (strcmp(inp_str, ":") == 0) { | ^ edit.c:24:9: note: include the header or explicitly provide a declaration for 'strcmp' edit.c:28:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | if (!getfloat(&f)) rejecttoken(); else l->x = f; | ^ edit.c:28:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | if (!getfloat(&f)) rejecttoken(); else l->x = f; | ^ edit.c:30:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | if (!getfloat(&f)) rejecttoken(); else l->y = f; | ^ edit.c:30:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | if (!getfloat(&f)) rejecttoken(); else l->y = f; | ^ edit.c:32:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | if (!getfloat(&f)) rejecttoken(); else l->fontsize = f; | ^ edit.c:32:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | if (!getfloat(&f)) rejecttoken(); else l->fontsize = f; | ^ edit.c:34:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | if (!getfloat(&f)) rejecttoken(); else l->linesep = f; | ^ edit.c:34:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | if (!getfloat(&f)) rejecttoken(); else l->linesep = f; | ^ edit.c:49:22: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | txt = (char *) malloc (sizeof(char)*strlen(inp_str)+2); | ^ edit.c:49:22: note: include the header or explicitly provide a declaration for 'malloc' edit.c:49:43: 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] 49 | txt = (char *) malloc (sizeof(char)*strlen(inp_str)+2); | ^ edit.c:49:43: note: include the header or explicitly provide a declaration for 'strlen' edit.c:50:7: 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] 50 | strcpy(txt, inp_str); | ^ edit.c:50:7: note: include the header or explicitly provide a declaration for 'strcpy' edit.c:53:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if (!getfloat(&f)) rejecttoken(); else l->rotate = f; | ^ edit.c:53:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if (!getfloat(&f)) rejecttoken(); else l->rotate = f; | ^ edit.c:55:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:55:28: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:62:15: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | if(!getfloat(&f)) { | ^ edit.c:63:13: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | rejecttoken(); | ^ edit.c:69:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | rejecttoken(); | ^ edit.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | edit_label(l) | ^ edit.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | copy_curve(c1, c2) /* Copies curve c2 to c1 */ | ^ | int edit.c:81:3: warning: call to undeclared function 'copy_label'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | copy_label(c1->l, c2->l); | ^ edit.c:88:20: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | newf = (Flist) get_node(c1->gen_linetype); | ^ edit.c:88:12: warning: cast to 'Flist' (aka 'struct flist *') from smaller integer type 'int' [-Wint-to-pointer-cast] 88 | newf = (Flist) get_node(c1->gen_linetype); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:90:5: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | insert(newf, c1->gen_linetype); | ^ edit.c:107:20: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | newp = (Point) get_node(c1->general_marks); | ^ edit.c:107:12: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 107 | newp = (Point) get_node(c1->general_marks); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:110:5: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | insert(newp, c1->general_marks); | ^ edit.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | copy_curve(c1, c2) /* Copies curve c2 to c1 */ | ^ edit.c:141:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 141 | copy_label(l1, l2) /* Copies label l2 to l1 */ | ^ | int edit.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] edit.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | copy_axis(a1, a2) /* Copies axis a2 to a1 */ | ^ | int edit.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] edit.c:214:8: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | if (!getint(&num)) { | ^ edit.c:215:5: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | rejecttoken(); | ^ edit.c:225:29: warning: passing arguments to 'new_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | newc = new_curve(oldg->curves, 0); | ^ edit.c:226:32: warning: passing arguments to 'new_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | else newc = new_curve(oldg->curves, last(oldg->curves)->num + 1); | ^ edit.c:233:5: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | error_header(); | ^ edit.c:235:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | exit(1); | ^ edit.c:235:5: note: include the header or explicitly provide a declaration for 'exit' edit.c:238:23: warning: passing arguments to 'new_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | newc = new_curve(g->curves, 0); | ^ edit.c:239:26: warning: passing arguments to 'new_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | else newc = new_curve(g->curves, last(g->curves)->num + 1); | ^ edit.c:244:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | error_header(); | ^ edit.c:204:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | Curve do_copy_curve(g, gs, all_gs) | ^ edit.c:267:8: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | if (!getint(&num)) { | ^ edit.c:268:5: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | rejecttoken(); | ^ edit.c:278:30: warning: passing arguments to 'new_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | newl = new_string(oldg->strings, 0); | ^ edit.c:279:33: warning: passing arguments to 'new_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | else newl = new_string(oldg->strings, last(oldg->strings)->num + 1); | ^ edit.c:286:5: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | error_header(); | ^ edit.c:292:24: warning: passing arguments to 'new_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | newl = new_string(g->strings, 0); | ^ edit.c:293:27: warning: passing arguments to 'new_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | else newl = new_string(g->strings, last(g->strings)->num + 1); | ^ edit.c:298:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | error_header(); | ^ edit.c:257:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Label do_copy_string(g, gs, all_gs) | ^ edit.c:321:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | error_header(); | ^ edit.c:310:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | Graph last_graph(g, gs, all_gs) | ^ edit.c:332:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 332 | copy_legend(l1, l2) | ^ | int edit.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] edit.c:342:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 342 | inherit_axes(g, lastg) | ^ | int edit.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] edit.c:359:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 359 | getpattern(inp_str, key, p, a) | ^ | int edit.c:366:8: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | if (!getstring(inp_str)) return; | ^ edit.c:370:11: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | if (getfloat(&f)) { | ^ edit.c:373:9: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | rejecttoken(); | ^ edit.c:379:5: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | error_header(); fprintf(stderr, "Bad %s: %s\n", key, inp_str); | ^ edit.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | getpattern(inp_str, key, p, a) | ^ edit.c:388:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 388 | edit_curve(c, g) | ^ | int edit.c:401:11: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | while ( getstring(inp_str) ) { | ^ edit.c:406:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | while (getfloat(&x)) { | ^ edit.c:409:13: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 409 | error_header(); | ^ edit.c:415:13: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 415 | error_header(); | ^ edit.c:421:21: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 421 | p = (Point) get_node(c->pts); | ^ edit.c:421:13: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 421 | p = (Point) get_node(c->pts); | ^~~~~~~~~~~~~~~~~~~~~~~~ edit.c:425:2: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | insert(p, c->pts); | ^ edit.c:428:16: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 428 | p1 = (Point) get_node(c->xepts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:431:16: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 431 | p2 = (Point) get_node(c->xepts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:440:16: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 440 | p1 = (Point) get_node(c->yepts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:443:16: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 443 | p2 = (Point) get_node(c->yepts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:466:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | rejecttoken(); | ^ edit.c:471:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:471:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:478:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | while (getfloat(&x)) { | ^ edit.c:480:11: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | error_header(); | ^ edit.c:484:22: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 484 | p = (Point) get_node(c->general_marks); | ^ edit.c:484:14: warning: cast to 'Point' (aka 'struct point *') from smaller integer type 'int' [-Wint-to-pointer-cast] 484 | p = (Point) get_node(c->general_marks); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:487:9: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | insert(p, c->general_marks); | ^ edit.c:489:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 489 | rejecttoken(); | ^ edit.c:491:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:491:28: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:500:15: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | if(!getfloat(&f)) { | ^ edit.c:501:13: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 501 | rejecttoken(); | ^ edit.c:507:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:507:28: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:516:15: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | if(!getfloat(&f)) { | ^ edit.c:517:13: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | rejecttoken(); | ^ edit.c:523:7: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:523:21: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:530:8: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | if(!getfloat(&f)) { | ^ edit.c:531:6: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | rejecttoken(); | ^ edit.c:540:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | error_header(); fprintf(stderr, "Bad mark: %s\n", inp_str); | ^ edit.c:552:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | while (getfloat(&f)) { | ^ edit.c:553:22: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 553 | fl = (Flist) get_node (c->gen_linetype); | ^ edit.c:553:14: warning: cast to 'Flist' (aka 'struct flist *') from smaller integer type 'int' [-Wint-to-pointer-cast] 553 | fl = (Flist) get_node (c->gen_linetype); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:555:9: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | insert(fl, c->gen_linetype); | ^ edit.c:557:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 557 | rejecttoken(); | ^ edit.c:577:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 577 | error_header(); fprintf(stderr, "Bad line type: %s\n", inp_str); | ^ edit.c:585:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | if (!getfloat(&f)) rejecttoken(); else c->linethick = f; | ^ edit.c:585:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | if (!getfloat(&f)) rejecttoken(); else c->linethick = f; | ^ edit.c:587:14: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:587:28: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:594:15: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 594 | if(!getfloat(&f)) { | ^ edit.c:595:13: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | rejecttoken(); | ^ edit.c:601:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:601:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:606:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 606 | error_header(); | ^ edit.c:616:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | error_header(); | ^ edit.c:634:11: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 634 | error_header(); | ^ edit.c:666:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 666 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:666:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 666 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:677:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | rejecttoken(); | ^ edit.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | edit_curve(c, g) | ^ edit.c:683:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 683 | edit_hash_label(a) | ^ | int edit.c:698:9: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 698 | if (getstring(inp_str)) { | ^ edit.c:702:13: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 702 | if (getfloat(&f)) { | ^ edit.c:705:11: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 705 | rejecttoken(); | ^ edit.c:709:9: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | rejecttoken(); | ^ edit.c:718:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 718 | error_header(); | ^ edit.c:723:21: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 723 | st = (String) get_node(a->hash_labels); | ^ edit.c:723:12: warning: cast to 'String' (aka 'struct string *') from smaller integer type 'int' [-Wint-to-pointer-cast] 723 | st = (String) get_node(a->hash_labels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:728:7: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 728 | insert(st, a->hash_labels); | ^ edit.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | edit_hash_label(a) | ^ edit.c:734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 734 | edit_axis(a) | ^ | int edit.c:742:11: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | while ( getstring(inp_str) ) { | ^ edit.c:745:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | if ( getfloat(&f)) a->size = f; else rejecttoken(); | ^ edit.c:745:44: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | if ( getfloat(&f)) a->size = f; else rejecttoken(); | ^ edit.c:747:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | if ( getfloat(&f)) a->max = f; else rejecttoken(); | ^ edit.c:747:43: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | if ( getfloat(&f)) a->max = f; else rejecttoken(); | ^ edit.c:749:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 749 | if ( getfloat(&f)) a->min = f; else rejecttoken(); | ^ edit.c:749:43: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 749 | if ( getfloat(&f)) a->min = f; else rejecttoken(); | ^ edit.c:751:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 751 | if ( getfloat(&f)) a->hash_interval = f; else rejecttoken(); | ^ edit.c:751:53: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 751 | if ( getfloat(&f)) a->hash_interval = f; else rejecttoken(); | ^ edit.c:753:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 753 | if ( getfloat(&f)) { | ^ edit.c:757:12: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 757 | else rejecttoken(); | ^ edit.c:759:11: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 759 | if (getint(&i)) a->minor_hashes = i; else rejecttoken(); | ^ edit.c:759:49: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 759 | if (getint(&i)) a->minor_hashes = i; else rejecttoken(); | ^ edit.c:761:11: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | if (getint(&i)) a->precision = i; else rejecttoken(); | ^ edit.c:761:46: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | if (getint(&i)) a->precision = i; else rejecttoken(); | ^ edit.c:777:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 777 | error_header(); | ^ edit.c:785:11: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 785 | if (getfloat(&f)) { | ^ edit.c:787:11: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 787 | error_header(); | ^ edit.c:791:14: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 791 | } else rejecttoken(); | ^ edit.c:793:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 793 | if ( getfloat(&f)) a->draw_at = f; else rejecttoken(); | ^ edit.c:793:47: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 793 | if ( getfloat(&f)) a->draw_at = f; else rejecttoken(); | ^ edit.c:810:11: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 810 | if (getfloat(&f)) { | ^ edit.c:811:20: warning: call to undeclared function 'get_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 811 | h = (Hash) get_node (a->hash_lines); | ^ edit.c:811:13: warning: cast to 'Hash' (aka 'struct hash *') from smaller integer type 'int' [-Wint-to-pointer-cast] 811 | h = (Hash) get_node (a->hash_lines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:815:9: warning: call to undeclared function 'insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | insert(h, a->hash_lines); | ^ edit.c:816:14: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 816 | } else rejecttoken(); | ^ edit.c:820:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | if ( getfloat(&f)) a->hash_scale = f; else rejecttoken(); | ^ edit.c:820:50: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | if ( getfloat(&f)) a->hash_scale = f; else rejecttoken(); | ^ edit.c:830:11: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 830 | if (getfloat(&f)) a->draw_hash_labels_at = f; else rejecttoken(); | ^ edit.c:830:58: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 830 | if (getfloat(&f)) a->draw_hash_labels_at = f; else rejecttoken(); | ^ edit.c:832:11: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 832 | if (getfloat(&f)) a->draw_hash_marks_at = f; else rejecttoken(); | ^ edit.c:832:57: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 832 | if (getfloat(&f)) a->draw_hash_marks_at = f; else rejecttoken(); | ^ edit.c:862:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 862 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:862:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 862 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:869:13: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 869 | if(!getfloat(&f)) { | ^ edit.c:870:11: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | rejecttoken(); | ^ edit.c:876:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 876 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:876:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 876 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:883:13: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 883 | if(!getfloat(&f)) { | ^ edit.c:884:11: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 884 | rejecttoken(); | ^ edit.c:890:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:890:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | if (!getfloat(&f)) rejecttoken(); else { | ^ edit.c:897:13: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 897 | if(!getfloat(&f)) { | ^ edit.c:898:11: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 898 | rejecttoken(); | ^ edit.c:904:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 904 | rejecttoken(); | ^ edit.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | edit_axis(a) | ^ edit.c:910:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 910 | edit_legend(l) | ^ | int edit.c:916:11: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 916 | while ( getstring(inp_str) ) { | ^ edit.c:918:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 918 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:918:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 918 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:926:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 926 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:926:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 926 | if (!getfloat(&f)) rejecttoken(); | ^ edit.c:963:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 963 | if (!getfloat(&f)) rejecttoken(); else l->linelength = f; | ^ edit.c:963:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 963 | if (!getfloat(&f)) rejecttoken(); else l->linelength = f; | ^ edit.c:965:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | if (!getfloat(&f)) rejecttoken(); else l->linebreak = f; | ^ edit.c:965:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | if (!getfloat(&f)) rejecttoken(); else l->linebreak = f; | ^ edit.c:967:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 967 | if (!getfloat(&f)) rejecttoken(); else l->midspace = f; | ^ edit.c:967:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 967 | if (!getfloat(&f)) rejecttoken(); else l->midspace = f; | ^ edit.c:971:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 971 | rejecttoken(); | ^ edit.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | edit_legend(l) | ^ edit.c:977:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 977 | edit_graph(g, gs, all_gs) | ^ | int edit.c:987:11: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 987 | while ( getstring(inp_str) ) { | ^ edit.c:993:12: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 993 | if (!getint(&num)) { | ^ edit.c:994:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | error_header(); fprintf(stderr, "\"curve\" not followed by number\n"); | ^ edit.c:997:27: warning: passing arguments to 'get_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | edit_curve(get_curve(g->curves, num), g); | ^ edit.c:1000:29: warning: passing arguments to 'new_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | edit_curve(new_curve(g->curves, 0), g); | ^ edit.c:1001:32: warning: passing arguments to 'new_curve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | else edit_curve(new_curve(g->curves, last(g->curves)->num + 1), g); | ^ edit.c:1006:28: warning: passing arguments to 'new_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | edit_curve(new_line(g->curves, 0), g); | ^ edit.c:1007:31: warning: passing arguments to 'new_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | else edit_curve(new_line(g->curves, last(g->curves)->num + 1), g); | ^ edit.c:1013:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1013 | if (!getfloat(&f)) rejecttoken(); else g->x_translate = f; | ^ edit.c:1013:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1013 | if (!getfloat(&f)) rejecttoken(); else g->x_translate = f; | ^ edit.c:1015:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1015 | if (!getfloat(&f)) rejecttoken(); else g->y_translate = f; | ^ edit.c:1015:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1015 | if (!getfloat(&f)) rejecttoken(); else g->y_translate = f; | ^ edit.c:1017:12: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1017 | if (!getint(&num)) { | ^ edit.c:1018:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1018 | error_header(); fprintf(stderr, "\"string\" not followed by number\n"); | ^ edit.c:1021:21: warning: passing arguments to 'get_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | s = get_string(g->strings, num); | ^ edit.c:1025:23: warning: passing arguments to 'new_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | s = new_string(g->strings, 0); | ^ edit.c:1026:26: warning: passing arguments to 'new_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | else s = new_string(g->strings, last(g->strings)->num + 1); | ^ edit.c:1034:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1034 | if (!getfloat(&f)) rejecttoken(); else gs->height = f; | ^ edit.c:1034:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1034 | if (!getfloat(&f)) rejecttoken(); else gs->height = f; | ^ edit.c:1036:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | if (!getfloat(&f)) rejecttoken(); else gs->width = f; | ^ edit.c:1036:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | if (!getfloat(&f)) rejecttoken(); else gs->width = f; | ^ edit.c:1046:7: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1046 | rejecttoken(); | ^ edit.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | edit_graph(g, gs, all_gs) | ^ edit.c:1052:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1052 | edit_graphs(gs) | ^ | int edit.c:1062:11: warning: call to undeclared function 'getstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1062 | while ( getstring(inp_str) ) { | ^ edit.c:1064:12: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1064 | if (!getint(&num)) { | ^ edit.c:1065:9: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1065 | error_header(); fprintf(stderr, "\"graph\" not followed by number\n"); | ^ edit.c:1068:27: warning: passing arguments to 'get_graph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | edit_graph(get_graph(the_g->g, num), the_g, gs); | ^ edit.c:1071:29: warning: passing arguments to 'new_graph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | edit_graph(new_graph(the_g->g, 0), the_g, gs); | ^ edit.c:1072:32: warning: passing arguments to 'new_graph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | else edit_graph(new_graph(the_g->g, last(the_g->g)->num + 1), the_g, gs); | ^ edit.c:1075:22: warning: passing arguments to 'new_graph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | g = new_graph(the_g->g, 0); | ^ edit.c:1076:25: warning: passing arguments to 'new_graph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | else g = new_graph(the_g->g, last(the_g->g)->num + 1); | ^ edit.c:1077:12: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1077 | if (!getint(&num)) { | ^ edit.c:1078:9: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1078 | rejecttoken(); | ^ edit.c:1086:13: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1086 | error_header(); | ^ edit.c:1096:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1096 | if (!getfloat(&f)) rejecttoken(); else the_g->height = f; | ^ edit.c:1096:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1096 | if (!getfloat(&f)) rejecttoken(); else the_g->height = f; | ^ edit.c:1098:12: warning: call to undeclared function 'getfloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1098 | if (!getfloat(&f)) rejecttoken(); else the_g->width = f; | ^ edit.c:1098:26: warning: call to undeclared function 'rejecttoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1098 | if (!getfloat(&f)) rejecttoken(); else the_g->width = f; | ^ edit.c:1100:7: warning: call to undeclared function 'new_graphs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1100 | new_graphs(gs); | ^ edit.c:1104:14: warning: call to undeclared function 'getint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1104 | if (!getint(&j)) { | ^ edit.c:1105:11: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1105 | error_header(); | ^ edit.c:1135:7: warning: call to undeclared function 'error_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1135 | error_header(); fprintf(stderr, "Bad token: %s\n", inp_str); | ^ edit.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | edit_graphs(gs) | ^ 237 warnings generated. --- jgraph --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing draw.o edit.o jgraph.o list.o printline.o prio_list.o process.o show.o token.o -lm -o jgraph =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for jgraph-8.3_2 ===> Generating temporary packing list install -s -m 555 jgraph /wrkdirs/usr/ports/graphics/jgraph/work/stage/usr/local/bin install -m 444 jgraph.1 /wrkdirs/usr/ports/graphics/jgraph/work/stage/usr/local/share/man/man1 mkdir -p -m 755 /wrkdirs/usr/ports/graphics/jgraph/work/stage/usr/local/share/jgraph install -m 0644 acc.jgr ad.jgr alb.jgr bailey.jgr cube.jgr disk.jgr ebars.jgr ex1.jgr ex2.jgr data.txt g8.jgr g8col.jgr g9n10.jgr gpaper.jgr hypercube.jgr mab2.jgr mab2.times nr.jgr sin.pts sin1.jgr sin2.pts sin2.jgr sin3.pts sin3.jgr wortman.jgr /wrkdirs/usr/ports/graphics/jgraph/work/stage/usr/local/share/jgraph ====> 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-11T01:35:49+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=6039cfb5b0a6' '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 jgraph-8.3_2 ===> Building jgraph-8.3_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for jgraph-8.3_2 build of graphics/jgraph | jgraph-8.3_2 ended at Wed Dec 10 20:35:53 EST 2025 build time: 00:00:06