=> Building graphics/jgraph Started : Thursday, 7 MAR 2019 at 09:38:43 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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.5 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=Release-BE 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-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.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... 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 --- --- edit.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing edit.c --- 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 --- draw.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing draw.c --- printline.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing printline.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() ^~~~~ 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)); ^~~~~~~~~ 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)); ^ printline.c: At top level: printline.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] grestore() ^~~~~~~~ printline.c: In function 'grestore': printline.c:43:7: warning: implicit declaration of function 'delete_item' [-Wimplicit-function-declaration] delete_item(l); ^~~~~~~~~~~ printline.c:44:7: warning: implicit declaration of function 'free_node' [-Wimplicit-function-declaration] free_node(l, Jgraph_fonts); ^~~~~~~~~ printline.c: At top level: printline.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] setfont(f, s) ^~~~~~~ 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); ^~~~~~ 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); ^ 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: printline.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] setfill( x, y, t, f, p, a) ^~~~~~~ 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) ^~~~~~~ printline.c: At top level: printline.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] setgray( t, f) ^~~~~~~ printline.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] printline(x1, y1,x2, y2, orientation) ^~~~~~~~~ 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) ^~~~~~~~~~ printline.c: In function 'start_line': printline.c:137:3: warning: implicit declaration of function 'setlinewidth'; did you mean 'setlinebuf'? [-Wimplicit-function-declaration] setlinewidth(c->linethick); ^~~~~~~~~~~~ setlinebuf printline.c:138:3: warning: implicit declaration of function 'setlinestyle'; did you mean 'setlinebuf'? [-Wimplicit-function-declaration] setlinestyle(c->linetype, c->gen_linetype); ^~~~~~~~~~~~ setlinebuf printline.c: At top level: printline.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] cont_line(x1, y1) ^~~~~~~~~ printline.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] end_line() ^~~~~~~~ printline.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] bezier_control(x1, y1) ^~~~~~~~~~~~~~ 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) ^~~~~~~~~ printline.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] end_poly(x, y, ftype, fill, pattern, parg) ^~~~~~~~ printline.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] printellipse(x, y, radius1, radius2, ftype, fill, pattern, parg) ^~~~~~~~~~~~ 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) ^~~~~~~~~~~ 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; ^~~~~~ printline.c:225:1: note: declared here print_label(l) ^~~~~~~~~~~ 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' printline.c:281:11: note: include '' or provide a declaration of 'strlen' printline.c:10:1: +#include printline.c:281:11: f = strlen(s); ^~~~~~ 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) ^~~~~~~~~~~~ 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' 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:16:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_label(l) ^~~~~~~~~~ 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 edit.c:24:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(inp_str, ":") == 0) { ^~~~~~ 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) ^~~~~~~~~~ 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 edit.c:28:26: warning: implicit declaration of function 'rejecttoken' [-Wimplicit-function-declaration] if (!getfloat(&f)) rejecttoken(); else l->x = f; ^~~~~~~~~~~ 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) ^~~~~~~~~~ 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' 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' 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); ^~~~~~ 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' 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: edit.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_curve(c1, c2) /* Copies curve c2 to c1 */ ^~~~~~~~~~ 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 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 edit.c:88:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newf = (Flist) get_node(c1->gen_linetype); ^ edit.c:90:5: warning: implicit declaration of function 'insert'; did you mean 'next'? [-Wimplicit-function-declaration] insert(newf, c1->gen_linetype); ^~~~~~ next edit.c:107:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newp = (Point) get_node(c1->general_marks); ^ edit.c: At top level: edit.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_label(l1, l2) /* Copies label l2 to l1 */ ^~~~~~~~~~ edit.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_axis(a1, a2) /* Copies axis a2 to a1 */ ^~~~~~~~~ edit.c: In function 'do_copy_curve': edit.c:214:8: warning: implicit declaration of function 'getint'; did you mean 'getline'? [-Wimplicit-function-declaration] if (!getint(&num)) { ^~~~~~ getline edit.c:233:5: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ edit.c:235:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ 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: In function 'new_label': jgraph.c:37:15: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] l = (Label) malloc (sizeof(struct label)); ^~~~~~ jgraph.c:37:15: warning: incompatible implicit declaration of built-in function 'malloc' --- 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' --- jgraph.o --- 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)); ^~~~~~ 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 jgraph.c:66:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_c = (Curve) get_node(c); ^ 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)); ^ 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)); ^ jgraph.c:111:3: warning: implicit declaration of function 'prio_insert' [-Wimplicit-function-declaration] prio_insert(new_c, c, 0); ^~~~~~~~~~~ jgraph.c: In function 'new_axis': 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' 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)); ^ jgraph.c: In function 'new_legend': jgraph.c:198:16: warning: incompatible implicit declaration of built-in function 'malloc' --- prio_list.o --- --- jgraph.o --- l = (Legend) malloc (sizeof(struct legend)); ^~~~~~ jgraph.c:198:16: note: include '' or provide a declaration of 'malloc' jgraph.c: In function 'new_string': jgraph.c:232:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_s = (String) get_node(s); ^ 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)); ^ jgraph.c: At top level: jgraph.c:306:1: warning: return type defaults to 'int' [-Wimplicit-int] new_graphs(gs) ^~~~~~~~~~ jgraph.c: In function 'new_graphs': 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)); ^ jgraph.c:322:3: warning: implicit declaration of function 'insert'; did you mean 'next'? [-Wimplicit-function-declaration] insert(newg, gs); ^~~~~~ next jgraph.c: At top level: jgraph.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ jgraph.c: In function 'main': jgraph.c:346:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(argv[i], "-p") == 0) show = 1; ^~~~~~ jgraph.c:352:7: warning: implicit declaration of function 'set_input_file' [-Wimplicit-function-declaration] set_input_file(argv[i]); ^~~~~~~~~~~~~~ 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 'do_copy_string': --- prio_list.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing prio_list.c --- 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' --- jgraph.o --- jgraph.c:357:3: warning: implicit declaration of function 'set_comment' [-Wimplicit-function-declaration] set_comment(comments); ^~~~~~~~~~~ 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 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 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 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: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' 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' edit.c: At top level: 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) ^~~~~~~~~~~~ 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) ^~~~~~~~~~ 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': 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' 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); ^ edit.c:431:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p2 = (Point) get_node(c->xepts); ^ 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); ^ 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); ^ 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) ^~~~~~~~~~ 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' edit.c:553:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fl = (Flist) get_node (c->gen_linetype); ^ edit.c:566: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) ^~~~~~~~~~ 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' 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' 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' edit.c:622: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) ^~~~~~~~~~ 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' 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' 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' 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' edit.c:678:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:388:1: note: declared here edit_curve(c, g) ^~~~~~~~~~ edit.c: At top level: edit.c:683:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_hash_label(a) ^~~~~~~~~~~~~~~ edit.c: In function 'edit_hash_label': edit.c:700:40: warning: 'return' with no value, in function returning non-void if ((s = getlabel()) == CNULL) return; ^~~~~~ edit.c:683:1: note: declared here edit_hash_label(a) ^~~~~~~~~~~~~~~ edit.c:716:23: warning: 'return' with no value, in function returning non-void if (s == CNULL) return; ^~~~~~ 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' edit.c:723:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] st = (String) get_node(a->hash_labels); ^ edit.c:729:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:683:1: note: declared here edit_hash_label(a) ^~~~~~~~~~~~~~~ edit.c: At top level: edit.c:734:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_axis(a) ^~~~~~~~~ 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; ^~~~~~ edit.c:734:1: note: declared here edit_axis(a) ^~~~~~~~~ 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' 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' edit.c:811:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (Hash) get_node (a->hash_lines); ^ edit.c:905:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:734:1: note: declared here edit_axis(a) ^~~~~~~~~ edit.c: At top level: edit.c:910:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_legend(l) ^~~~~~~~~~~ edit.c: In function 'edit_legend': edit.c:972:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:910:1: note: declared here edit_legend(l) ^~~~~~~~~~~ edit.c: At top level: edit.c:977:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_graph(g, gs, all_gs) ^~~~~~~~~~ edit.c: In function 'edit_graph': 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' 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' edit.c:1047:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ edit.c:977:1: note: declared here edit_graph(g, gs, all_gs) ^~~~~~~~~~ edit.c: At top level: edit.c:1052:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_graphs(gs) ^~~~~~~~~~~ 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' 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' 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; ^~~~~~ edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ 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' 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' edit.c:1121:39: warning: 'return' with no value, in function returning non-void if (the_g->preamble == CNULL) return; ^~~~~~ edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ 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' 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' edit.c:1132:39: warning: 'return' with no value, in function returning non-void if (the_g->epilogue == CNULL) return; ^~~~~~ edit.c:1052:1: note: declared here edit_graphs(gs) ^~~~~~~~~~~ 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: In function 'ctop': draw.c:20:7: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ 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' draw.c:24:8: note: include '' or provide a declaration of 'exit' draw.c:11:1: +#include draw.c:24:8: exit(1); ^~~~ draw.c: At top level: draw.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_axis(a, other) ^~~~~~~~~ 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 draw.c:60:3: warning: implicit declaration of function 'comment' [-Wimplicit-function-declaration] comment("Drawing Axis"); ^~~~~~~ draw.c:63:5: warning: implicit declaration of function 'gsave' [-Wimplicit-function-declaration] gsave(); ^~~~~ draw.c:64:5: warning: implicit declaration of function 'setgray' [-Wimplicit-function-declaration] setgray(a->gr_graytype, a->gr_gray); ^~~~~~~ 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 draw.c:70:5: warning: implicit declaration of function 'grestore'; did you mean 'remove'? [-Wimplicit-function-declaration] grestore(); ^~~~~~~~ remove 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 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': 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) ^~~~~~~~~~ draw.c:122:3: warning: implicit declaration of function 'print_label'; did you mean 'draw_label'? [-Wimplicit-function-declaration] print_label(l); ^~~~~~~~~~~ draw_label draw.c: At top level: draw.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] set_clip(g) ^~~~~~~~ draw.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_curves(g) ^~~~~~~~~~~ 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 draw.c: At top level: draw.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_curve(c, g) ^~~~~~~~~~ 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 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 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 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)); ^~~~~~~~~~~~~~ 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)); ^~~~~~~~~~ draw.c:205:11: warning: implicit declaration of function 'end_line'; did you mean 'new_line'? [-Wimplicit-function-declaration] end_line(); ^~~~~~~~ new_line 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 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 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 --- prio_list.o --- prio_list.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] prio_insert(node, list, desc) ^~~~~~~~~~~ prio_list.c: In function 'prio_insert': 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) ^~~~~~~~~~~ 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) ^~~~~~~~~~~ --- 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) ^~~~~~~~~ draw.c: In function 'draw_mark': draw.c:284:27: warning: 'return' with no value, in function returning non-void if (c->marktype == 'n') return; ^~~~~~ draw.c:270:1: note: declared here draw_mark(x, y, c, g) ^~~~~~~~~ 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' 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' draw.c:314:21: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(inp, "%%BoundingBox:") == 0) done = 1; ^~~~~~ draw.c:317:47: warning: comparison between pointer and integer if (fscanf(f, "%d", &(bb[i])) == NULL) { ^~ 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' 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' draw.c:375:15: warning: implicit declaration of function 'start_poly' [-Wimplicit-function-declaration] case 'b': start_poly(-ms0, -ms1); ^~~~~~~~~~ draw.c:376:15: warning: implicit declaration of function 'cont_poly' [-Wimplicit-function-declaration] cont_poly(ms0, -ms1); ^~~~~~~~~ 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); ^~~~~~~~ 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' 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' draw.c:470:15: warning: implicit declaration of function 'printellipse' [-Wimplicit-function-declaration] case 'o': printellipse(x, y, ms0, ms0, ^~~~~~~~~~~~ draw.c: At top level: draw.c:502:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_arrow(x1, y1, x2, y2, c) ^~~~~~~~~~ draw.c: In function 'draw_arrow': 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) ^~~~~~~~~~ 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) ^~~~~~~~~~ draw.c:530:31: 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) ^~~~~~~~~~ draw.c: At top level: draw.c:542:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_legend(g) ^~~~~~~~~~~ --- process.o --- --- show.o --- --- 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; ^~~~~~ draw.c:542:1: note: declared here draw_legend(g) ^~~~~~~~~~~ draw.c: At top level: draw.c:606:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_strings(g) ^~~~~~~~~~~~ draw.c:616:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_graph(g) ^~~~~~~~~~ draw.c:637:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_graphs(gs, pp, landscape) ^~~~~~~~~~~ draw.c: In function 'draw_graphs': 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 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: draw.c:654:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_header(gs, pp, landscape) ^~~~~~~~~~~ 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 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 --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing show.c --- process.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing process.c process.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] process_title(g) ^~~~~~~~~~~~~ process.c: In function 'process_title': 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) ^~~~~~~~~~~~~~ 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; ^~~~~~ process.c:46:1: note: declared here process_legend(g) ^~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~ 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 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); ^~~~~~~~~~~~~~~~~~~~~~~~ process.c: At top level: process.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] process_axis1(a, g) ^~~~~~~~~~~~~ process.c: In function 'process_axis1': process.c:327:7: warning: implicit declaration of function 'error_header' [-Wimplicit-function-declaration] error_header(); ^~~~~~~~~~~~ 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' 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' 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' 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' process.c: At top level: process.c:388:1: warning: return type defaults to 'int' [-Wimplicit-int] process_axis2(a, g) ^~~~~~~~~~~~~ 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 process.c:434:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (Hash) get_node(a->hash_lines); ^ process.c:438:9: warning: implicit declaration of function 'insert'; did you mean 'sqrt'? [-Wimplicit-function-declaration] insert(h, a->hash_lines); ^~~~~~ sqrt process.c:440:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (String) get_node (a->hash_labels); ^ process.c:444:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] s->s->label = (char *) malloc (80); ^~~~~~ 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' 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' process.c:473:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (Hash) get_node(a->hash_lines); ^ process.c: At top level: 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; ^~~~~~ process.c:578:1: note: declared here process_label(l, g, adjust) ^~~~~~~~~~~~~ process.c:608:39: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] tmp = l->fontsize * FCPI / FPPI * strlen(s) * 0.8; ^~~~~~ 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; ^~~~~~ process.c: At top level: process.c:620:1: warning: return type defaults to 'int' [-Wimplicit-int] process_label_max_n_mins(l, len, height) ^~~~~~~~~~~~~~~~~~~~~~~~ process.c:669:1: warning: return type defaults to 'int' [-Wimplicit-int] process_strings(g) ^~~~~~~~~~~~~~~ process.c:679:1: warning: return type defaults to 'int' [-Wimplicit-int] process_curve(c, g) ^~~~~~~~~~~~~ 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' 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 */ ^~~~~~~~~~~~~~~ process.c: In function 'process_extrema': 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 process.c: At top level: process.c:766:1: warning: return type defaults to 'int' [-Wimplicit-int] process_label_extrema(l, g) ^~~~~~~~~~~~~~~~~~~~~ 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; ^~~~~~ process.c:766:1: note: declared here process_label_extrema(l, g) ^~~~~~~~~~~~~~~~~~~~~ process.c: At top level: process.c:777:1: warning: return type defaults to 'int' [-Wimplicit-int] process_graph(g) ^~~~~~~~~~~~~ process.c:793:1: warning: return type defaults to 'int' [-Wimplicit-int] process_graphs(gs) ^~~~~~~~~~~~~~ --- show.o --- show.c:12:8: warning: return type defaults to 'int' [-Wimplicit-int] static spaces(nsp) ^~~~~~ show.c:46:8: warning: return type defaults to 'int' [-Wimplicit-int] static show_mltiline(s) ^~~~~~~~~~~~~ show.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] show_string(s) ^~~~~~~~~~~ show.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] show_label(l, nsp, g) ^~~~~~~~~~ show.c: In function 'show_label': 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) ^~~~~~~~~~ show.c: At top level: show.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] show_lmark(l, nsp, g) ^~~~~~~~~~ show.c: In function 'show_lmark': show.c:113:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ show.c:101:1: note: declared here show_lmark(l, nsp, g) ^~~~~~~~~~ show.c: At top level: show.c:116:1: warning: return type defaults to 'int' [-Wimplicit-int] show_curve(c, nsp, g) ^~~~~~~~~~ show.c: In function 'show_curve': 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' show.c:149:7: note: include '' or provide a declaration of 'exit' show.c:11:1: +#include show.c:149:7: exit(1); ^~~~ 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) ^~~~~~~~~~~ --- token.o --- cc -c -pipe -Wno-return-type -O2 -fno-strict-aliasing token.c token.c:39:8: warning: type defaults to 'int' in declaration of 'oldcharvalid' [-Wimplicit-int] static oldcharvalid = 0; ^~~~~~~~~~~~ token.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] set_input_file(s) ^~~~~~~~~~~~~~ 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)); ^~~~~~~~~ token.c:71:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] stack = (Iostack) make_list(sizeof(struct iostack)); ^ 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' token.c:85:19: warning: implicit declaration of function 'get_node'; did you mean 'getline'? [-Wimplicit-function-declaration] n = (Iostack) get_node(stack); ^~~~~~~~ getline token.c:85:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] n = (Iostack) get_node(stack); ^ 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' 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() ^~~~~~~~~~~~ token.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] ungettokenchar() ^~~~~~~~~~~~~~ token.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] get_comment() ^~~~~~~~~~~ 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; ^~~~~~ 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; ^~~~~~ token.c:135:1: note: declared here get_comment() ^~~~~~~~~~~ token.c: At top level: 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); ^ 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() ^~~~~~~~~~~ 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' token.c:210:3: warning: implicit declaration of function 'delete_item' [-Wimplicit-function-declaration] delete_item(n); ^~~~~~~~~~~ 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; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ token.c:223:11: warning: 'return' with no value, in function returning non-void return; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ token.c:247:13: warning: implicit declaration of function 'getsystemstring' [-Wimplicit-function-declaration] if (getsystemstring() == 0) { ^~~~~~~~~~~~~~~ token.c:254:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ token.c:259:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ token.c:214:8: note: declared here static nexttoken() ^~~~~~~~~ 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' 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' token.c: At top level: token.c:419:1: warning: return type defaults to 'int' [-Wimplicit-int] rejecttoken() ^~~~~~~~~~~ --- 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) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for jgraph-8.3_1 file sizes/checksums [27]: . done packing files [27]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 09:38:50 UTC Duration: 00:00:07