=> Building graphics/jgraph Started : Friday, 14 FEB 2020 at 13:23:40 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/graphics/jgraph XDG_CONFIG_HOME=/construction/graphics/jgraph HOME=/construction/graphics/jgraph TMPDIR="/tmp" PATH=/construction/graphics/jgraph/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- DATADIR=/usr/local/share/jgraph XDG_DATA_HOME=/construction/graphics/jgraph XDG_CONFIG_HOME=/construction/graphics/jgraph HOME=/construction/graphics/jgraph TMPDIR="/tmp" PATH=/construction/graphics/jgraph/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/graphics/jgraph/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/jgraph" EXAMPLESDIR="share/examples/jgraph" DATADIR="share/jgraph" WWWDIR="www/jgraph" ETCDIR="etc/jgraph" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> jgraph-8.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> jgraph-8.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of jgraph-8.3_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by jgraph-8.3_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by jgraph-8.3_1 for building => SHA256 Checksum OK for jgraph.shar.Z. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by jgraph-8.3_1 for building ===> Extracting for jgraph-8.3_1 => 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 -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for jgraph-8.3_1 ===> Applying ports patches for jgraph-8.3_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for jgraph-8.3_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for jgraph-8.3_1 --- draw.o --- --- edit.o --- --- jgraph.o --- --- list.o --- --- printline.o --- --- prio_list.o --- --- process.o --- --- show.o --- --- token.o --- --- jgraph.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing jgraph.c --- list.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing list.c --- printline.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing printline.c --- prio_list.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing prio_list.c --- draw.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing draw.c --- process.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing process.c --- token.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing token.c --- edit.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing edit.c --- show.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing show.c --- list.o --- list.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] insert(item, list) /* Inserts to the end of a list */ ^~~~~~ list.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_item(item) /* Deletes an arbitrary iterm */ ^~~~~~~~~~~ list.c: In function 'make_list': list.c:61:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] l = (Int_list) malloc(sizeof(struct int_list)); ^~~~~~ list.c:61:18: warning: incompatible implicit declaration of built-in function 'malloc' list.c:61:18: note: include '' or provide a declaration of 'malloc' list.c:10:1: +#include list.c:61:18: l = (Int_list) malloc(sizeof(struct int_list)); ^~~~~~ list.c: In function 'get_node': list.c:78:19: warning: incompatible implicit declaration of built-in function 'malloc' return (List) malloc(l->size); ^~~~~~ list.c:78:19: note: include '' or provide a declaration of 'malloc' list.c: At top level: list.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] free_node(node, list) /* Deallocates a node from the list */ ^~~~~~~~~ --- printline.o --- printline.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] gsave() ^~~~~ --- prio_list.o --- prio_list.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] prio_insert(node, list, desc) ^~~~~~~~~~~ --- printline.o --- printline.c: In function 'gsave': printline.c:30:31: warning: implicit declaration of function 'make_list' [-Wimplicit-function-declaration] Jgraph_fonts = (Fontlist) make_list(sizeof(struct fontlist)); ^~~~~~~~~ --- prio_list.o --- prio_list.c: In function 'prio_insert': --- printline.o --- printline.c:30:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Jgraph_fonts = (Fontlist) make_list(sizeof(struct fontlist)); ^ --- prio_list.o --- prio_list.c:43:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ prio_list.c:28:1: note: declared here prio_insert(node, list, desc) ^~~~~~~~~~~ --- printline.o --- printline.c: At top level: printline.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] grestore() ^~~~~~~~ --- prio_list.o --- prio_list.c:52:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ prio_list.c:28:1: note: declared here prio_insert(node, list, desc) ^~~~~~~~~~~ prio_list.c:63:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ prio_list.c:28:1: note: declared here prio_insert(node, list, desc) ^~~~~~~~~~~ --- jgraph.o --- jgraph.c: In function 'new_label': --- printline.o --- printline.c: In function 'grestore': --- jgraph.o --- jgraph.c:37:15: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] l = (Label) malloc (sizeof(struct label)); ^~~~~~ --- printline.o --- printline.c:43:7: warning: implicit declaration of function 'delete_item' [-Wimplicit-function-declaration] delete_item(l); ^~~~~~~~~~~ --- edit.o --- edit.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_label(l) ^~~~~~~~~~ --- jgraph.o --- jgraph.c:37:15: warning: incompatible implicit declaration of built-in function 'malloc' jgraph.c:37:15: note: include '' or provide a declaration of 'malloc' jgraph.c:15:1: +#include jgraph.c:37:15: l = (Label) malloc (sizeof(struct label)); ^~~~~~ --- printline.o --- printline.c:44:7: warning: implicit declaration of function 'free_node' [-Wimplicit-function-declaration] free_node(l, Jgraph_fonts); ^~~~~~~~~ --- edit.o --- edit.c: In function 'edit_label': edit.c:23:11: warning: implicit declaration of function 'getstring'; did you mean 'get_string'? [-Wimplicit-function-declaration] while ( getstring(inp_str) ) { ^~~~~~~~~ get_string --- printline.o --- printline.c: At top level: printline.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(f, s) ^~~~~~~ --- edit.o --- edit.c:24:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(inp_str, ":") == 0) { ^~~~~~ --- printline.o --- printline.c: In function 'setfont': printline.c:60:12: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] ins = (strcmp(l->f, f) != 0 || s != l->s); ^~~~~~ --- edit.o --- edit.c:25:40: warning: 'return' with no value, in function returning non-void if ((txt = getlabel()) == CNULL) return; ^~~~~~ edit.c:16:1: note: declared here edit_label(l) ^~~~~~~~~~ --- jgraph.o --- jgraph.c: In function 'new_curve': jgraph.c:66:19: warning: implicit declaration of function 'get_node'; did you mean 'get_curve'? [-Wimplicit-function-declaration] new_c = (Curve) get_node(c); ^~~~~~~~ get_curve --- printline.o --- printline.c:69:20: warning: implicit declaration of function 'get_node'; did you mean 'getline'? [-Wimplicit-function-declaration] l = (Fontlist) get_node(Jgraph_fonts); ^~~~~~~~ getline printline.c:69:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] l = (Fontlist) get_node(Jgraph_fonts); ^ --- edit.o --- edit.c:28:12: warning: implicit declaration of function 'getfloat'; did you mean 'getline'? [-Wimplicit-function-declaration] if (!getfloat(&f)) rejecttoken(); else l->x = f; ^~~~~~~~ getline --- jgraph.o --- jgraph.c:66:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c = (Curve) get_node(c); ^ --- draw.o --- draw.c: In function 'ctop': --- printline.o --- printline.c:73:5: warning: implicit declaration of function 'insert'; did you mean 'next'? [-Wimplicit-function-declaration] insert(l, Jgraph_fonts); ^~~~~~ next printline.c: At top level: --- draw.o --- draw.c:20:7: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ --- printline.o --- printline.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] setfill( x, y, t, f, p, a) ^~~~~~~ --- edit.o --- edit.c:28:26: warning: implicit declaration of function 'rejecttoken' [-Wimplicit-function-declaration] if (!getfloat(&f)) rejecttoken(); else l->x = f; ^~~~~~~~~~~ --- draw.o --- draw.c:24:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ draw.c:24:8: warning: incompatible implicit declaration of built-in function 'exit' --- printline.o --- printline.c: In function 'setfill': printline.c:84:31: warning: 'return' with no value, in function returning non-void if (t == 'g' && f[0] < 0.0) return; ^~~~~~ printline.c:78:1: note: declared here setfill( x, y, t, f, p, a) ^~~~~~~ --- draw.o --- draw.c:24:8: note: include '' or provide a declaration of 'exit' draw.c:11:1: +#include draw.c:24:8: exit(1); ^~~~ --- jgraph.o --- jgraph.c:84:24: warning: implicit declaration of function 'make_list' [-Wimplicit-function-declaration] new_c->pts = (Point) make_list(sizeof(struct point)); ^~~~~~~~~ jgraph.c:84:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c->pts = (Point) make_list(sizeof(struct point)); ^ jgraph.c:85:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c->yepts = (Point) make_list(sizeof(struct point)); ^ jgraph.c:86:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c->xepts = (Point) make_list(sizeof(struct point)); ^ jgraph.c:88:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c->gen_linetype = (Flist) make_list(sizeof(struct flist)); ^ --- printline.o --- printline.c: At top level: printline.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] setgray( t, f) ^~~~~~~ --- edit.o --- edit.c:48:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ edit.c:16:1: note: declared here edit_label(l) ^~~~~~~~~~ --- process.o --- process.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] process_title(g) ^~~~~~~~~~~~~ --- draw.o --- draw.c: At top level: --- edit.o --- edit.c:49:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] txt = (char *) malloc (sizeof(char)*strlen(inp_str)+2); ^~~~~~ edit.c:49:22: warning: incompatible implicit declaration of built-in function 'malloc' --- draw.o --- draw.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_axis(a, other) ^~~~~~~~~ --- edit.o --- edit.c:49:22: note: include '' or provide a declaration of 'malloc' edit.c:12:1: +#include edit.c:49:22: txt = (char *) malloc (sizeof(char)*strlen(inp_str)+2); ^~~~~~ edit.c:49:43: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] txt = (char *) malloc (sizeof(char)*strlen(inp_str)+2); ^~~~~~ edit.c:49:43: warning: incompatible implicit declaration of built-in function 'strlen' --- printline.o --- printline.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] printline(x1, y1,x2, y2, orientation) ^~~~~~~~~ --- edit.o --- edit.c:49:43: note: include '' or provide a declaration of 'strlen' edit.c:12:1: +#include edit.c:49:43: txt = (char *) malloc (sizeof(char)*strlen(inp_str)+2); ^~~~~~ --- jgraph.o --- jgraph.c:95:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c->general_marks = (Point) make_list(sizeof(struct point)); ^ --- edit.o --- edit.c:50:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(txt, inp_str); ^~~~~~ edit.c:50:7: warning: incompatible implicit declaration of built-in function 'strcpy' edit.c:50:7: note: include '' or provide a declaration of 'strcpy' --- printline.o --- printline.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] print_ebar(x1, y1, x2, ms, orientation) ^~~~~~~~~~ printline.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] start_line(x1, y1, c) ^~~~~~~~~~ --- edit.o --- edit.c:70:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:16:1: note: declared here edit_label(l) ^~~~~~~~~~ edit.c: At top level: --- draw.o --- draw.c: In function 'draw_axis': draw.c:59:3: warning: implicit declaration of function 'setlinewidth'; did you mean 'setlinebuf'? [-Wimplicit-function-declaration] setlinewidth(1.0); ^~~~~~~~~~~~ setlinebuf --- edit.o --- edit.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_curve(c1, c2) /* Copies curve c2 to c1 */ ^~~~~~~~~~ --- printline.o --- printline.c: In function 'start_line': --- jgraph.o --- jgraph.c:111:3: warning: implicit declaration of function 'prio_insert' [-Wimplicit-function-declaration] prio_insert(new_c, c, 0); ^~~~~~~~~~~ --- printline.o --- printline.c:137:3: warning: implicit declaration of function 'setlinewidth'; did you mean 'setlinebuf'? [-Wimplicit-function-declaration] setlinewidth(c->linethick); ^~~~~~~~~~~~ setlinebuf --- edit.o --- edit.c: In function 'copy_curve': edit.c:81:3: warning: implicit declaration of function 'copy_label'; did you mean 'edit_label'? [-Wimplicit-function-declaration] copy_label(c1->l, c2->l); ^~~~~~~~~~ edit_label --- jgraph.o --- jgraph.c: In function 'new_axis': --- draw.o --- draw.c:60:3: warning: implicit declaration of function 'comment' [-Wimplicit-function-declaration] comment("Drawing Axis"); ^~~~~~~ --- jgraph.o --- jgraph.c:143:14: warning: incompatible implicit declaration of built-in function 'malloc' a = (Axis) malloc (sizeof(struct axis)); ^~~~~~ jgraph.c:143:14: note: include '' or provide a declaration of 'malloc' --- printline.o --- printline.c:138:3: warning: implicit declaration of function 'setlinestyle'; did you mean 'setlinebuf'? [-Wimplicit-function-declaration] setlinestyle(c->linetype, c->gen_linetype); ^~~~~~~~~~~~ setlinebuf --- process.o --- process.c: In function 'process_title': --- printline.o --- printline.c: At top level: printline.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] cont_line(x1, y1) ^~~~~~~~~ --- process.o --- process.c:43:3: warning: implicit declaration of function 'process_label'; did you mean 'process_title'? [-Wimplicit-function-declaration] process_label(g->title, g, 0); ^~~~~~~~~~~~~ process_title process.c: At top level: process.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] process_legend(g) ^~~~~~~~~~~~~~ --- printline.o --- printline.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] end_line() ^~~~~~~~ --- edit.o --- edit.c:88:20: warning: implicit declaration of function 'get_node'; did you mean 'get_curve'? [-Wimplicit-function-declaration] newf = (Flist) get_node(c1->gen_linetype); ^~~~~~~~ get_curve --- process.o --- process.c: In function 'process_legend': process.c:56:23: warning: 'return' with no value, in function returning non-void if (l->type == 'n') return; ^~~~~~ --- edit.o --- edit.c:88:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newf = (Flist) get_node(c1->gen_linetype); ^ --- process.o --- process.c:46:1: note: declared here process_legend(g) ^~~~~~~~~~~~~~ --- printline.o --- printline.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] bezier_control(x1, y1) ^~~~~~~~~~~~~~ --- draw.o --- draw.c:63:5: warning: implicit declaration of function 'gsave' [-Wimplicit-function-declaration] gsave(); ^~~~~ --- printline.o --- printline.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] bezier_end(x1, y1) ^~~~~~~~~~ printline.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] start_poly(x1, y1) ^~~~~~~~~~ printline.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] cont_poly(x1, y1) ^~~~~~~~~ --- edit.o --- edit.c:90:5: warning: implicit declaration of function 'insert'; did you mean 'next'? [-Wimplicit-function-declaration] insert(newf, c1->gen_linetype); ^~~~~~ next --- printline.o --- printline.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] end_poly(x, y, ftype, fill, pattern, parg) ^~~~~~~~ --- jgraph.o --- jgraph.c:190:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a->hash_labels = (String) make_list (sizeof(struct string)); ^ jgraph.c:191:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a->hash_lines = (Hash) make_list (sizeof(struct hash)); ^ --- printline.o --- printline.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] printellipse(x, y, radius1, radius2, ftype, fill, pattern, parg) ^~~~~~~~~~~~ --- jgraph.o --- jgraph.c: In function 'new_legend': --- draw.o --- draw.c:64:5: warning: implicit declaration of function 'setgray' [-Wimplicit-function-declaration] setgray(a->gr_graytype, a->gr_gray); ^~~~~~~ --- jgraph.o --- jgraph.c:198:16: warning: incompatible implicit declaration of built-in function 'malloc' l = (Legend) malloc (sizeof(struct legend)); ^~~~~~ jgraph.c:198:16: note: include '' or provide a declaration of 'malloc' --- edit.o --- edit.c:107:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newp = (Point) get_node(c1->general_marks); ^ --- printline.o --- printline.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] set_comment(c) ^~~~~~~~~~~ printline.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] comment(s) ^~~~~~~ printline.c:217:1: warning: return type defaults to 'int' [-Wimplicit-int] printline_c(x1, y1, x2, y2, g) ^~~~~~~~~~~ printline.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] print_label(l) ^~~~~~~~~~~ --- edit.o --- edit.c: At top level: --- jgraph.o --- jgraph.c: In function 'new_string': --- printline.o --- printline.c: In function 'print_label': printline.c:232:26: warning: 'return' with no value, in function returning non-void if (l->label == CNULL) return; ^~~~~~ --- edit.o --- edit.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_label(l1, l2) /* Copies label l2 to l1 */ ^~~~~~~~~~ --- jgraph.o --- jgraph.c:232:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_s = (String) get_node(s); ^ --- printline.o --- printline.c:225:1: note: declared here print_label(l) ^~~~~~~~~~~ --- edit.o --- edit.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_axis(a1, a2) /* Copies axis a2 to a1 */ ^~~~~~~~~ --- draw.o --- draw.c:67:9: warning: implicit declaration of function 'printline'; did you mean 'lrintl'? [-Wimplicit-function-declaration] printline(h->loc, 0.0, h->loc, other->psize, orientation); ^~~~~~~~~ lrintl --- process.o --- process.c:89:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ process.c:46:1: note: declared here process_legend(g) ^~~~~~~~~~~~~~ process.c:94:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ process.c:46:1: note: declared here process_legend(g) ^~~~~~~~~~~~~~ --- jgraph.o --- jgraph.c: In function 'new_graph': jgraph.c:275:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g = (Graph) get_node(gs); ^ jgraph.c:285:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g->curves = (Curve) make_list(sizeof(struct curve)); ^ jgraph.c:286:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g->strings = (String) make_list(sizeof(struct string)); ^ --- draw.o --- draw.c:70:5: warning: implicit declaration of function 'grestore'; did you mean 'remove'? [-Wimplicit-function-declaration] grestore(); ^~~~~~~~ remove --- process.o --- process.c:102:7: warning: implicit declaration of function 'copy_label'; did you mean 'new_label'? [-Wimplicit-function-declaration] copy_label(c->l, l->l); ^~~~~~~~~~ new_label --- edit.o --- edit.c: In function 'do_copy_curve': --- jgraph.o --- jgraph.c: At top level: --- edit.o --- edit.c:214:8: warning: implicit declaration of function 'getint'; did you mean 'getline'? [-Wimplicit-function-declaration] if (!getint(&num)) { ^~~~~~ getline --- printline.o --- printline.c:281:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] f = strlen(s); ^~~~~~ printline.c:281:11: warning: incompatible implicit declaration of built-in function 'strlen' --- jgraph.o --- jgraph.c:306:1: warning: return type defaults to 'int' [-Wimplicit-int] new_graphs(gs) ^~~~~~~~~~ jgraph.c: In function 'new_graphs': --- printline.o --- printline.c:281:11: note: include '' or provide a declaration of 'strlen' printline.c:10:1: +#include printline.c:281:11: f = strlen(s); ^~~~~~ --- jgraph.o --- jgraph.c:311:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newg = (Graphs) get_node(gs); ^ jgraph.c:312:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newg->g = (Graph) make_list(sizeof(struct graph)); ^ --- printline.o --- printline.c: At top level: printline.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] setlinewidth(size) ^~~~~~~~~~~~ printline.c:299:1: warning: return type defaults to 'int' [-Wimplicit-int] setlinestyle(style, glist) ^~~~~~~~~~~~ --- draw.o --- draw.c:105:7: warning: implicit declaration of function 'draw_label'; did you mean 'new_label'? [-Wimplicit-function-declaration] draw_label(a->hl); ^~~~~~~~~~ new_label --- edit.o --- edit.c:233:5: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ --- jgraph.o --- jgraph.c:322:3: warning: implicit declaration of function 'insert'; did you mean 'next'? [-Wimplicit-function-declaration] insert(newg, gs); ^~~~~~ next --- edit.o --- edit.c:235:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ --- jgraph.o --- jgraph.c: At top level: --- edit.o --- edit.c:235:5: warning: incompatible implicit declaration of built-in function 'exit' edit.c:235:5: note: include '' or provide a declaration of 'exit' --- jgraph.o --- jgraph.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ --- printline.o --- printline.c: In function 'setlinestyle': printline.c:321:14: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ printline.c:321:14: warning: incompatible implicit declaration of built-in function 'exit' --- draw.o --- draw.c: At top level: draw.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_label(l) ^~~~~~~~~~ draw.c: In function 'draw_label': --- jgraph.o --- jgraph.c: In function 'main': --- draw.o --- draw.c:120:26: warning: 'return' with no value, in function returning non-void if (l->label == CNULL) return; ^~~~~~ draw.c:117:1: note: declared here draw_label(l) ^~~~~~~~~~ --- jgraph.o --- jgraph.c:346:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(argv[i], "-p") == 0) show = 1; ^~~~~~ --- printline.o --- printline.c:321:14: note: include '' or provide a declaration of 'exit' printline.c:10:1: +#include printline.c:321:14: exit(1); ^~~~ --- edit.o --- edit.c:246:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:246:9: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:122:3: warning: implicit declaration of function 'print_label'; did you mean 'draw_label'? [-Wimplicit-function-declaration] print_label(l); ^~~~~~~~~~~ draw_label --- edit.o --- edit.c: In function 'do_copy_string': --- draw.o --- draw.c: At top level: draw.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] set_clip(g) ^~~~~~~~ --- edit.o --- edit.c:288:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:288:5: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_curves(g) ^~~~~~~~~~~ --- jgraph.o --- jgraph.c:352:7: warning: implicit declaration of function 'set_input_file' [-Wimplicit-function-declaration] set_input_file(argv[i]); ^~~~~~~~~~~~~~ --- edit.o --- edit.c:300:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:300:9: note: include '' or provide a declaration of 'exit' --- jgraph.o --- jgraph.c:356:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gs = (Graphs) make_list(sizeof(struct graphs)); ^ --- edit.o --- edit.c: In function 'last_graph': edit.c:323:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:323:7: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c: In function 'draw_curves': draw.c:145:5: warning: implicit declaration of function 'draw_curve'; did you mean 'draw_curves'? [-Wimplicit-function-declaration] draw_curve(c, g); ^~~~~~~~~~ draw_curves --- edit.o --- edit.c: At top level: --- draw.o --- draw.c: At top level: draw.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_curve(c, g) ^~~~~~~~~~ --- edit.o --- edit.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_legend(l1, l2) ^~~~~~~~~~~ edit.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] inherit_axes(g, lastg) ^~~~~~~~~~~~ --- jgraph.o --- jgraph.c:357:3: warning: implicit declaration of function 'set_comment' [-Wimplicit-function-declaration] set_comment(comments); ^~~~~~~~~~~ --- edit.o --- edit.c:359:1: warning: return type defaults to 'int' [-Wimplicit-int] getpattern(inp_str, key, p, a) ^~~~~~~~~~ edit.c: In function 'getpattern': edit.c:366:28: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ edit.c:359:1: note: declared here getpattern(inp_str, key, p, a) ^~~~~~~~~~ --- draw.o --- draw.c: In function 'draw_curve': draw.c:168:5: warning: implicit declaration of function 'setlinestyle'; did you mean 'setlinebuf'? [-Wimplicit-function-declaration] setlinestyle('s', (Flist)0); ^~~~~~~~~~~~ setlinebuf --- edit.o --- edit.c:383:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:383:5: note: include '' or provide a declaration of 'exit' edit.c:385:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:359:1: note: declared here getpattern(inp_str, key, p, a) ^~~~~~~~~~ edit.c: At top level: edit.c:388:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_curve(c, g) ^~~~~~~~~~ edit.c: In function 'edit_curve': --- jgraph.o --- jgraph.c:359:3: warning: implicit declaration of function 'edit_graphs'; did you mean 'new_graphs'? [-Wimplicit-function-declaration] edit_graphs(gs); ^~~~~~~~~~~ new_graphs jgraph.c:360:3: warning: implicit declaration of function 'process_graphs'; did you mean 'new_graphs'? [-Wimplicit-function-declaration] process_graphs(gs); ^~~~~~~~~~~~~~ new_graphs --- process.o --- process.c:208:3: warning: implicit declaration of function 'process_label_max_n_mins' [-Wimplicit-function-declaration] process_label_max_n_mins(l->l, width, height); ^~~~~~~~~~~~~~~~~~~~~~~~ --- edit.o --- edit.c:411:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:411:13: note: include '' or provide a declaration of 'exit' --- jgraph.o --- jgraph.c:361:13: warning: implicit declaration of function 'show_graphs'; did you mean 'new_graphs'? [-Wimplicit-function-declaration] if (show) show_graphs(gs); else draw_graphs(gs, pp, landscape); ^~~~~~~~~~~ new_graphs --- draw.o --- draw.c:173:9: warning: implicit declaration of function 'print_ebar'; did you mean 'printf'? [-Wimplicit-function-declaration] print_ebar(x, y, ctop(px->x, g->x_axis), c->marksize[1]/2.0, 'x'); ^~~~~~~~~~ printf --- edit.o --- edit.c:418:15: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:418:15: note: include '' or provide a declaration of 'exit' edit.c:421:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (Point) get_node(c->pts); ^ edit.c:428:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p1 = (Point) get_node(c->xepts); ^ --- jgraph.o --- jgraph.c:361:35: warning: implicit declaration of function 'draw_graphs'; did you mean 'new_graphs'? [-Wimplicit-function-declaration] if (show) show_graphs(gs); else draw_graphs(gs, pp, landscape); ^~~~~~~~~~~ new_graphs --- edit.o --- edit.c:431:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p2 = (Point) get_node(c->xepts); ^ --- jgraph.o --- jgraph.c:362:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ jgraph.c:362:3: warning: incompatible implicit declaration of built-in function 'exit' jgraph.c:362:3: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:440:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p1 = (Point) get_node(c->yepts); ^ edit.c:443:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p2 = (Point) get_node(c->yepts); ^ --- process.o --- process.c: At top level: process.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] process_axis1(a, g) ^~~~~~~~~~~~~ --- draw.o --- draw.c:196:11: warning: implicit declaration of function 'start_line'; did you mean 'getline'? [-Wimplicit-function-declaration] start_line(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis), c); ^~~~~~~~~~ getline --- edit.o --- edit.c:482:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:482:11: note: include '' or provide a declaration of 'exit' edit.c:484:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (Point) get_node(c->general_marks); ^ --- process.o --- process.c: In function 'process_axis1': process.c:327:7: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ --- draw.o --- draw.c:199:11: warning: implicit declaration of function 'bezier_control' [-Wimplicit-function-declaration] bezier_control(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis)); ^~~~~~~~~~~~~~ --- process.o --- process.c:332:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ process.c:332:7: warning: incompatible implicit declaration of built-in function 'exit' process.c:332:7: note: include '' or provide a declaration of 'exit' process.c:12:1: +#include process.c:332:7: exit(1); ^~~~ process.c:338:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ process.c:338:7: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:537:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ edit.c:388:1: note: declared here edit_curve(c, g) ^~~~~~~~~~ --- draw.o --- draw.c:201:11: warning: implicit declaration of function 'bezier_end' [-Wimplicit-function-declaration] bezier_end(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis)); ^~~~~~~~~~ --- edit.o --- edit.c:546:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:546:9: note: include '' or provide a declaration of 'exit' --- process.o --- process.c:348:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ process.c:348:7: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:553:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fl = (Flist) get_node (c->gen_linetype); ^ --- process.o --- process.c:354:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ process.c:354:7: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:566:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ --- process.o --- process.c:370:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ process.c:370:7: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:388:1: note: declared here edit_curve(c, g) ^~~~~~~~~~ --- draw.o --- draw.c:205:11: warning: implicit declaration of function 'end_line'; did you mean 'new_line'? [-Wimplicit-function-declaration] end_line(); ^~~~~~~~ new_line --- process.o --- process.c: At top level: process.c:388:1: warning: return type defaults to 'int' [-Wimplicit-int] process_axis2(a, g) ^~~~~~~~~~~~~ --- edit.o --- edit.c:582:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:582:9: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:214:11: warning: implicit declaration of function 'setfill'; did you mean 'ceill'? [-Wimplicit-function-declaration] setfill(0.0, 0.0, c->pfilltype, c->pfill, c->ppattern, c->pparg); ^~~~~~~ ceill --- edit.o --- edit.c:609:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:609:9: note: include '' or provide a declaration of 'exit' edit.c:612:25: warning: incompatible implicit declaration of built-in function 'malloc' c->eps = (char *) malloc ((strlen(inp_str)+1)*sizeof(char)); ^~~~~~ edit.c:612:25: note: include '' or provide a declaration of 'malloc' edit.c:612:34: warning: incompatible implicit declaration of built-in function 'strlen' c->eps = (char *) malloc ((strlen(inp_str)+1)*sizeof(char)); ^~~~~~ edit.c:612:34: note: include '' or provide a declaration of 'strlen' edit.c:613:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(c->eps, inp_str); ^~~~~~ edit.c:613:7: note: include '' or provide a declaration of 'strcpy' --- draw.o --- draw.c:227:11: warning: implicit declaration of function 'cont_line'; did you mean 'getline'? [-Wimplicit-function-declaration] cont_line(ctop(p->x, g->x_axis), ctop(p->y, g->y_axis)); ^~~~~~~~~ getline --- edit.o --- edit.c:618:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:618:9: note: include '' or provide a declaration of 'exit' --- token.o --- token.c:39:8: warning: type defaults to 'int' in declaration of 'oldcharvalid' [-Wimplicit-int] static oldcharvalid = 0; ^~~~~~~~~~~~ --- edit.o --- edit.c:622:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ --- process.o --- process.c: In function 'process_axis2': process.c:434:20: warning: implicit declaration of function 'get_node'; did you mean 'get_curve'? [-Wimplicit-function-declaration] h = (Hash) get_node(a->hash_lines); ^~~~~~~~ get_curve --- edit.o --- edit.c:388:1: note: declared here edit_curve(c, g) ^~~~~~~~~~ --- token.o --- token.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] set_input_file(s) ^~~~~~~~~~~~~~ --- process.o --- process.c:434:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (Hash) get_node(a->hash_lines); ^ --- edit.o --- edit.c:626:46: warning: 'return' with no value, in function returning non-void if ((txt = getmultiline()) == CNULL) return; ^~~~~~ edit.c:388:1: note: declared here edit_curve(c, g) ^~~~~~~~~~ edit.c:630:34: warning: incompatible implicit declaration of built-in function 'malloc' c->postscript = (char *) malloc ((strlen(inp_str)+1)*sizeof(char)); ^~~~~~ edit.c:630:34: note: include '' or provide a declaration of 'malloc' --- draw.o --- draw.c:251:31: warning: implicit declaration of function 'draw_mark'; did you mean 'draw_curve'? [-Wimplicit-function-declaration] if (!c->bezier || i == 0) draw_mark(this_x, this_y, c, g); ^~~~~~~~~ draw_curve --- edit.o --- edit.c:630:43: warning: incompatible implicit declaration of built-in function 'strlen' c->postscript = (char *) malloc ((strlen(inp_str)+1)*sizeof(char)); ^~~~~~ edit.c:630:43: note: include '' or provide a declaration of 'strlen' --- process.o --- process.c:438:9: warning: implicit declaration of function 'insert'; did you mean 'sqrt'? [-Wimplicit-function-declaration] insert(h, a->hash_lines); ^~~~~~ sqrt --- edit.o --- edit.c:631:9: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(c->postscript, inp_str); ^~~~~~ edit.c:631:9: note: include '' or provide a declaration of 'strcpy' --- process.o --- process.c:440:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (String) get_node (a->hash_labels); ^ --- token.o --- token.c: In function 'set_input_file': token.c:71:23: warning: implicit declaration of function 'make_list' [-Wimplicit-function-declaration] stack = (Iostack) make_list(sizeof(struct iostack)); ^~~~~~~~~ --- process.o --- process.c:444:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] s->s->label = (char *) malloc (80); ^~~~~~ --- token.o --- token.c:71:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] stack = (Iostack) make_list(sizeof(struct iostack)); ^ --- edit.o --- edit.c:637:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:637:11: note: include '' or provide a declaration of 'exit' --- process.o --- process.c:444:34: warning: incompatible implicit declaration of built-in function 'malloc' process.c:444:34: note: include '' or provide a declaration of 'malloc' --- token.o --- token.c:74:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(FILENAME, ""); ^~~~~~ token.c:74:7: warning: incompatible implicit declaration of built-in function 'strcpy' token.c:74:7: note: include '' or provide a declaration of 'strcpy' token.c:22:1: +#include token.c:74:7: strcpy(FILENAME, ""); ^~~~~~ token.c:81:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(FILENAME, s); ^~~~~~ token.c:81:7: note: include '' or provide a declaration of 'strcpy' --- draw.o --- draw.c:255:11: warning: implicit declaration of function 'draw_arrow'; did you mean 'draw_curve'? [-Wimplicit-function-declaration] draw_arrow(this_x, this_y, last_x, last_y, c); ^~~~~~~~~~ draw_curve draw.c: At top level: draw.c:270:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_mark(x, y, c, g) ^~~~~~~~~ --- edit.o --- edit.c:678:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- process.o --- process.c:462:8: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ process.c:462:8: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:388:1: note: declared here edit_curve(c, g) ^~~~~~~~~~ --- draw.o --- draw.c: In function 'draw_mark': --- edit.o --- edit.c: At top level: --- draw.o --- draw.c:284:27: warning: 'return' with no value, in function returning non-void if (c->marktype == 'n') return; ^~~~~~ --- token.o --- token.c:85:19: warning: implicit declaration of function 'get_node'; did you mean 'getline'? [-Wimplicit-function-declaration] n = (Iostack) get_node(stack); ^~~~~~~~ getline --- draw.o --- draw.c:270:1: note: declared here draw_mark(x, y, c, g) ^~~~~~~~~ --- token.o --- token.c:85:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] n = (Iostack) get_node(stack); ^ --- edit.o --- edit.c:683:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_hash_label(a) ^~~~~~~~~~~~~~~ --- process.o --- process.c:473:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (Hash) get_node(a->hash_lines); ^ --- token.o --- token.c:87:50: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] n->filename = (char *) malloc (sizeof(char)*(strlen(s)+2)); ^~~~~~ token.c:87:50: warning: incompatible implicit declaration of built-in function 'strlen' token.c:87:50: note: include '' or provide a declaration of 'strlen' token.c:88:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(n->filename, s); ^~~~~~ token.c:88:5: note: include '' or provide a declaration of 'strcpy' --- draw.o --- draw.c:298:17: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:298:17: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c: In function 'edit_hash_label': --- draw.o --- draw.c:309:21: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:309:21: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:700:40: warning: 'return' with no value, in function returning non-void if ((s = getlabel()) == CNULL) return; ^~~~~~ --- draw.o --- draw.c:314:21: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(inp, "%%BoundingBox:") == 0) done = 1; ^~~~~~ --- edit.o --- edit.c:683:1: note: declared here edit_hash_label(a) ^~~~~~~~~~~~~~~ --- token.o --- token.c:93:5: warning: implicit declaration of function 'insert'; did you mean 'qsort'? [-Wimplicit-function-declaration] insert(n, stack->flink); ^~~~~~ qsort token.c: At top level: token.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] error_header() ^~~~~~~~~~~~ --- draw.o --- draw.c:317:47: warning: comparison between pointer and integer if (fscanf(f, "%d", &(bb[i])) == NULL) { ^~ --- edit.o --- edit.c:716:23: warning: 'return' with no value, in function returning non-void if (s == CNULL) return; ^~~~~~ --- draw.o --- draw.c:320:19: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:320:19: note: include '' or provide a declaration of 'exit' --- token.o --- token.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] ungettokenchar() ^~~~~~~~~~~~~~ --- edit.o --- edit.c:683:1: note: declared here edit_hash_label(a) ^~~~~~~~~~~~~~~ edit.c:721:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:721:9: note: include '' or provide a declaration of 'exit' --- token.o --- token.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] get_comment() ^~~~~~~~~~~ --- edit.o --- edit.c:723:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] st = (String) get_node(a->hash_labels); ^ --- token.o --- token.c: In function 'get_comment': token.c:137:12: warning: 'return' with no value, in function returning non-void if (eof) return; ^~~~~~ token.c:135:1: note: declared here get_comment() ^~~~~~~~~~~ token.c:139:31: warning: 'return' with no value, in function returning non-void if (gettoken(INPUT) == 0) return; ^~~~~~ --- edit.o --- edit.c:729:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- token.o --- token.c:135:1: note: declared here get_comment() ^~~~~~~~~~~ token.c:140:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] else if (strcmp(INPUT, "(*") == 0) ^~~~~~ token.c:143:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- edit.o --- edit.c:683:1: note: declared here edit_hash_label(a) ^~~~~~~~~~~~~~~ edit.c: At top level: --- token.o --- token.c:135:1: note: declared here get_comment() ^~~~~~~~~~~ token.c: At top level: --- edit.o --- edit.c:734:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_axis(a) ^~~~~~~~~ --- token.o --- token.c:152:8: warning: return type defaults to 'int' [-Wimplicit-int] static push_iostack(p) ^~~~~~~~~~~~ token.c: In function 'push_iostack': token.c:157:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] n = (Iostack) get_node(stack); ^ --- draw.o --- draw.c:365:19: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:365:19: note: include '' or provide a declaration of 'exit' --- token.o --- token.c:159:48: warning: incompatible implicit declaration of built-in function 'strlen' n->filename = (char *) malloc (sizeof(char)*(strlen(FILENAME)+2)); ^~~~~~ token.c:159:48: note: include '' or provide a declaration of 'strlen' token.c:164:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(n->filename, FILENAME); ^~~~~~ token.c:164:3: note: include '' or provide a declaration of 'strcpy' token.c: At top level: token.c:181:8: warning: return type defaults to 'int' [-Wimplicit-int] static pop_iostack() ^~~~~~~~~~~ --- edit.o --- edit.c: In function 'edit_axis': edit.c:765:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ --- token.o --- token.c: In function 'pop_iostack': token.c:204:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(FILENAME, n->filename); ^~~~~~ token.c:204:3: note: include '' or provide a declaration of 'strcpy' --- edit.o --- edit.c:734:1: note: declared here edit_axis(a) ^~~~~~~~~ --- process.o --- process.c: At top level: --- edit.o --- edit.c:780:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:780:9: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:375:15: warning: implicit declaration of function 'start_poly' [-Wimplicit-function-declaration] case 'b': start_poly(-ms0, -ms1); ^~~~~~~~~~ --- process.o --- process.c:578:1: warning: return type defaults to 'int' [-Wimplicit-int] process_label(l, g, adjust) ^~~~~~~~~~~~~ process.c: In function 'process_label': process.c:588:26: warning: 'return' with no value, in function returning non-void if (l->label == CNULL) return; ^~~~~~ --- edit.o --- edit.c:789:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:789:11: note: include '' or provide a declaration of 'exit' --- process.o --- process.c:578:1: note: declared here process_label(l, g, adjust) ^~~~~~~~~~~~~ --- token.o --- token.c:210:3: warning: implicit declaration of function 'delete_item' [-Wimplicit-function-declaration] delete_item(n); ^~~~~~~~~~~ --- draw.o --- draw.c:376:15: warning: implicit declaration of function 'cont_poly' [-Wimplicit-function-declaration] cont_poly(ms0, -ms1); ^~~~~~~~~ --- process.o --- process.c:608:39: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] tmp = l->fontsize * FCPI / FPPI * strlen(s) * 0.8; ^~~~~~ --- edit.o --- edit.c:811:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (Hash) get_node (a->hash_lines); ^ --- process.o --- process.c:608:39: warning: incompatible implicit declaration of built-in function 'strlen' process.c:608:39: note: include '' or provide a declaration of 'strlen' process.c:12:1: +#include process.c:608:39: tmp = l->fontsize * FCPI / FPPI * strlen(s) * 0.8; ^~~~~~ --- token.o --- token.c:211:3: warning: implicit declaration of function 'free_node' [-Wimplicit-function-declaration] free_node(n, stack); ^~~~~~~~~ token.c: At top level: token.c:214:8: warning: return type defaults to 'int' [-Wimplicit-int] static nexttoken() ^~~~~~~~~ token.c: In function 'nexttoken': token.c:216:12: warning: 'return' with no value, in function returning non-void if (eof) return; ^~~~~~ --- process.o --- process.c: At top level: --- token.o --- token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ --- process.o --- process.c:620:1: warning: return type defaults to 'int' [-Wimplicit-int] process_label_max_n_mins(l, len, height) ^~~~~~~~~~~~~~~~~~~~~~~~ --- token.o --- token.c:223:11: warning: 'return' with no value, in function returning non-void return; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ --- draw.o --- draw.c:379:15: warning: implicit declaration of function 'end_poly' [-Wimplicit-function-declaration] end_poly(x, y, c->filltype, c->fill, c->pattern, c->parg); ^~~~~~~~ --- token.o --- token.c:247:13: warning: implicit declaration of function 'getsystemstring' [-Wimplicit-function-declaration] if (getsystemstring() == 0) { ^~~~~~~~~~~~~~~ --- edit.o --- edit.c:905:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- process.o --- process.c:669:1: warning: return type defaults to 'int' [-Wimplicit-int] process_strings(g) ^~~~~~~~~~~~~~~ --- token.o --- token.c:254:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ --- draw.o --- draw.c:437:17: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:437:17: note: include '' or provide a declaration of 'exit' --- edit.o --- edit.c:734:1: note: declared here edit_axis(a) ^~~~~~~~~ --- token.o --- token.c:259:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ --- edit.o --- edit.c: At top level: --- process.o --- process.c:679:1: warning: return type defaults to 'int' [-Wimplicit-int] process_curve(c, g) ^~~~~~~~~~~~~ --- token.o --- token.c: In function 'getstring': token.c:267:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(s, INPUT); ^~~~~~ token.c:267:3: note: include '' or provide a declaration of 'strcpy' --- edit.o --- edit.c:910:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_legend(l) ^~~~~~~~~~~ --- process.o --- process.c: In function 'process_curve': process.c:688:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ process.c:688:5: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:463:17: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:463:17: note: include '' or provide a declaration of 'exit' --- process.o --- process.c: At top level: process.c:707:1: warning: return type defaults to 'int' [-Wimplicit-int] process_curves(g) ^~~~~~~~~~~~~~ process.c:716:1: warning: return type defaults to 'int' [-Wimplicit-int] process_extrema(g) /* This finds all the minval/maxvals for bbox calc */ ^~~~~~~~~~~~~~~ --- edit.o --- edit.c: In function 'edit_legend': --- token.o --- token.c: In function 'getmultiline': token.c:358:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(out_str, INPUT); ^~~~~~ token.c:358:7: note: include '' or provide a declaration of 'strcpy' --- edit.o --- edit.c:972:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- draw.o --- draw.c:470:15: warning: implicit declaration of function 'printellipse' [-Wimplicit-function-declaration] case 'o': printellipse(x, y, ms0, ms0, ^~~~~~~~~~~~ --- edit.o --- edit.c:910:1: note: declared here edit_legend(l) ^~~~~~~~~~~ edit.c: At top level: --- process.o --- process.c: In function 'process_extrema': --- edit.o --- edit.c:977:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_graph(g, gs, all_gs) ^~~~~~~~~~ --- process.o --- process.c:731:28: warning: implicit declaration of function 'process_label_extrema'; did you mean 'process_extrema'? [-Wimplicit-function-declaration] if (xa->draw_axis_label) process_label_extrema(xa->label, g); ^~~~~~~~~~~~~~~~~~~~~ process_extrema --- draw.o --- draw.c: At top level: draw.c:502:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_arrow(x1, y1, x2, y2, c) ^~~~~~~~~~ --- token.o --- token.c: At top level: --- edit.o --- edit.c: In function 'edit_graph': --- token.o --- token.c:419:1: warning: return type defaults to 'int' [-Wimplicit-int] rejecttoken() ^~~~~~~~~~~ --- draw.o --- draw.c: In function 'draw_arrow': --- edit.o --- edit.c:995:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:995:9: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:514:33: warning: 'return' with no value, in function returning non-void if (dx == 0.0 && dy == 0.0) return; ^~~~~~ draw.c:502:1: note: declared here draw_arrow(x1, y1, x2, y2, c) ^~~~~~~~~~ --- edit.o --- edit.c:1019:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:1019:9: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:525:40: warning: 'return' with no value, in function returning non-void ((y1 - y2 > 0) != (dy > 0)) ) return; ^~~~~~ draw.c:502:1: note: declared here draw_arrow(x1, y1, x2, y2, c) ^~~~~~~~~~ --- show.o --- show.c:12:8: warning: return type defaults to 'int' [-Wimplicit-int] static spaces(nsp) ^~~~~~ --- draw.o --- draw.c:530:31: warning: 'return' with no value, in function returning non-void if (dx == 0.0 && dy == 0.0) return; ^~~~~~ --- process.o --- process.c: At top level: process.c:766:1: warning: return type defaults to 'int' [-Wimplicit-int] process_label_extrema(l, g) ^~~~~~~~~~~~~~~~~~~~~ --- draw.o --- draw.c:502:1: note: declared here draw_arrow(x1, y1, x2, y2, c) ^~~~~~~~~~ --- process.o --- process.c: In function 'process_label_extrema': process.c:770:26: warning: 'return' with no value, in function returning non-void if (l->label == CNULL) return; ^~~~~~ --- draw.o --- draw.c: At top level: draw.c:542:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_legend(g) ^~~~~~~~~~~ --- edit.o --- edit.c:1047:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- process.o --- process.c:766:1: note: declared here process_label_extrema(l, g) ^~~~~~~~~~~~~~~~~~~~~ --- draw.o --- draw.c: In function 'draw_legend': draw.c:552:42: warning: 'return' with no value, in function returning non-void if (l->type == 'n' || l->anylines < 0) return; ^~~~~~ --- edit.o --- edit.c:977:1: note: declared here edit_graph(g, gs, all_gs) ^~~~~~~~~~ --- process.o --- process.c: At top level: --- edit.o --- edit.c: At top level: --- draw.o --- draw.c:542:1: note: declared here draw_legend(g) ^~~~~~~~~~~ --- process.o --- process.c:777:1: warning: return type defaults to 'int' [-Wimplicit-int] process_graph(g) ^~~~~~~~~~~~~ --- edit.o --- edit.c:1052:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_graphs(gs) ^~~~~~~~~~~ --- process.o --- process.c:793:1: warning: return type defaults to 'int' [-Wimplicit-int] process_graphs(gs) ^~~~~~~~~~~~~~ --- edit.o --- edit.c: In function 'edit_graphs': edit.c:1066:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:1066:9: note: include '' or provide a declaration of 'exit' --- show.o --- show.c:46:8: warning: return type defaults to 'int' [-Wimplicit-int] static show_mltiline(s) ^~~~~~~~~~~~~ --- edit.o --- edit.c:1088:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:1088:13: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c: At top level: draw.c:606:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_strings(g) ^~~~~~~~~~~~ --- show.o --- show.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] show_string(s) ^~~~~~~~~~~ --- draw.o --- draw.c:616:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_graph(g) ^~~~~~~~~~ --- show.o --- show.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] show_label(l, nsp, g) ^~~~~~~~~~ --- draw.o --- draw.c:637:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_graphs(gs, pp, landscape) ^~~~~~~~~~~ --- edit.o --- edit.c:1100:7: warning: implicit declaration of function 'new_graphs'; did you mean 'new_graph'? [-Wimplicit-function-declaration] new_graphs(gs); ^~~~~~~~~~ new_graph edit.c:1107:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:1107:11: note: include '' or provide a declaration of 'exit' edit.c:1113:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ --- show.o --- show.c: In function 'show_label': --- draw.o --- draw.c: In function 'draw_graphs': --- edit.o --- edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ --- draw.o --- draw.c:646:5: warning: implicit declaration of function 'draw_header'; did you mean 'draw_label'? [-Wimplicit-function-declaration] draw_header(gs_p, pp, landscape); ^~~~~~~~~~~ draw_label --- show.o --- show.c:98:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ show.c:77:1: note: declared here show_label(l, nsp, g) ^~~~~~~~~~ --- edit.o --- edit.c:1116:36: warning: incompatible implicit declaration of built-in function 'malloc' the_g->preamble = (char *) malloc (sizeof(char)*(strlen(inp_str)+1)); ^~~~~~ edit.c:1116:36: note: include '' or provide a declaration of 'malloc' --- show.o --- show.c: At top level: show.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] show_lmark(l, nsp, g) ^~~~~~~~~~ --- edit.o --- edit.c:1116:58: warning: incompatible implicit declaration of built-in function 'strlen' the_g->preamble = (char *) malloc (sizeof(char)*(strlen(inp_str)+1)); ^~~~~~ edit.c:1116:58: note: include '' or provide a declaration of 'strlen' edit.c:1117:9: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(the_g->preamble, inp_str); ^~~~~~ edit.c:1117:9: note: include '' or provide a declaration of 'strcpy' --- show.o --- show.c: In function 'show_lmark': --- draw.o --- draw.c:650:5: warning: implicit declaration of function 'draw_footer'; did you mean 'draw_curve'? [-Wimplicit-function-declaration] draw_footer(gs_p, pp); ^~~~~~~~~~~ draw_curve draw.c: At top level: --- edit.o --- edit.c:1121:39: warning: 'return' with no value, in function returning non-void if (the_g->preamble == CNULL) return; ^~~~~~ --- show.o --- show.c:113:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- draw.o --- draw.c:654:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_header(gs, pp, landscape) ^~~~~~~~~~~ --- show.o --- show.c:101:1: note: declared here show_lmark(l, nsp, g) ^~~~~~~~~~ --- edit.o --- edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ --- show.o --- show.c: At top level: show.c:116:1: warning: return type defaults to 'int' [-Wimplicit-int] show_curve(c, nsp, g) ^~~~~~~~~~ --- edit.o --- edit.c:1124:32: warning: 'return' with no value, in function returning non-void if (!getstring(inp_str)) return; ^~~~~~ edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ edit.c:1127:36: warning: incompatible implicit declaration of built-in function 'malloc' the_g->epilogue = (char *) malloc (sizeof(char)*(strlen(inp_str)+1)); ^~~~~~ edit.c:1127:36: note: include '' or provide a declaration of 'malloc' edit.c:1127:58: warning: incompatible implicit declaration of built-in function 'strlen' the_g->epilogue = (char *) malloc (sizeof(char)*(strlen(inp_str)+1)); ^~~~~~ edit.c:1127:58: note: include '' or provide a declaration of 'strlen' --- show.o --- show.c: In function 'show_curve': --- edit.o --- edit.c:1128:9: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(the_g->epilogue, inp_str); ^~~~~~ edit.c:1128:9: note: include '' or provide a declaration of 'strcpy' --- show.o --- show.c:149:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ show.c:149:7: warning: incompatible implicit declaration of built-in function 'exit' --- edit.o --- edit.c:1132:39: warning: 'return' with no value, in function returning non-void if (the_g->epilogue == CNULL) return; ^~~~~~ --- show.o --- show.c:149:7: note: include '' or provide a declaration of 'exit' show.c:11:1: +#include show.c:149:7: exit(1); ^~~~ --- edit.o --- edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ --- draw.o --- draw.c: In function 'draw_header': draw.c:731:3: warning: implicit declaration of function 'setfont'; did you mean 'stdout'? [-Wimplicit-function-declaration] setfont("Times-Roman", 9.00); ^~~~~~~ stdout --- edit.o --- edit.c:1136:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ edit.c:1136:7: note: include '' or provide a declaration of 'exit' --- draw.o --- draw.c:738:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:738:9: note: include '' or provide a declaration of 'exit' draw.c: At top level: draw.c:749:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_footer(gs, pp) ^~~~~~~~~~~ draw.c: In function 'draw_footer': draw.c:762:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ draw.c:762:9: note: include '' or provide a declaration of 'exit' --- show.o --- show.c:165:5: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ show.c:167:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ show.c:167:5: note: include '' or provide a declaration of 'exit' show.c: At top level: show.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] show_axis(a, nsp, g) ^~~~~~~~~ show.c: In function 'show_axis': show.c:271:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ show.c:254:1: note: declared here show_axis(a, nsp, g) ^~~~~~~~~ show.c: At top level: show.c:345:1: warning: return type defaults to 'int' [-Wimplicit-int] show_legend(l, nsp, g) ^~~~~~~~~~~ show.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] show_graph(g, nsp) ^~~~~~~~~~ show.c:397:1: warning: return type defaults to 'int' [-Wimplicit-int] show_graphs(gs) ^~~~~~~~~~~ --- jgraph --- cc -pipe -Wno-return-type -O2 -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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for jgraph-8.3_1 ===> Generating temporary packing list install -s -m 555 jgraph /construction/graphics/jgraph/stage/usr/local/bin install -m 444 jgraph.1 /construction/graphics/jgraph/stage/usr/local/man/man1 mkdir -p -m 755 /construction/graphics/jgraph/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 /construction/graphics/jgraph/stage/usr/local/share/jgraph ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for jgraph-8.3_1 file sizes/checksums [27]: . done packing files [27]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 14 FEB 2020 at 13:23:48 UTC Duration: 00:00:07