=>> Building print/pic2fig build started at Fri Apr 5 03:10:04 BST 2024 port directory: /usr/ports/print/pic2fig package name: pic2fig-1.4_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 662 Jan 25 05:29 /usr/ports/print/pic2fig/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: f23955f536 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 15 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CACHE_HOME=/wrkdirs/usr/ports/print/pic2fig/work/.cache HOME=/wrkdirs/usr/ports/print/pic2fig/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/print/pic2fig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/pic2fig/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/pic2fig/work XDG_CACHE_HOME=/wrkdirs/usr/ports/print/pic2fig/work/.cache HOME=/wrkdirs/usr/ports/print/pic2fig/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/print/pic2fig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/print/pic2fig/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pic2fig" EXAMPLESDIR="share/examples/pic2fig" DATADIR="share/pic2fig" WWWDIR="www/pic2fig" ETCDIR="etc/pic2fig" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pic2fig DOCSDIR=/usr/local/share/doc/pic2fig EXAMPLESDIR=/usr/local/share/examples/pic2fig WWWDIR=/usr/local/www/pic2fig ETCDIR=/usr/local/etc/pic2fig --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pic2fig-1.4_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> pic2fig-1.4_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pic2fig-1.4_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pic2fig-1.4_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pic2fig-1.4_3 for building => SHA256 Checksum OK for pic2fig-1.4.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pic2fig-1.4_3 for building ===> Extracting for pic2fig-1.4_3 => SHA256 Checksum OK for pic2fig-1.4.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pic2fig-1.4_3 ===> Applying FreeBSD patches for pic2fig-1.4_3 from /usr/ports/print/pic2fig/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for pic2fig-1.4_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pic2fig-1.4_3 cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c picy.c -o picy.o In file included from picy.y:3: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' picy.y:285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyparse() { ^ picy.y:306:37: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] if( ++yyps>= &yys[YYMAXDEPTH] ) { yyerror( "yacc stack overflow" ); return(1); } ^ picy.y:317:29: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] if( yychar<0 ) if( (yychar=yylex())<0 ) yychar=0; ^ picy.y:350:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror( "syntax error" ); ^ picy.y:56:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] { yyerror("syntax error"); } break; ^ picy.y:73:48: warning: implicit declaration of function 'checkscale' is invalid in C99 [-Wimplicit-function-declaration] { makevarf(yypvt[-3].p, VARNAME, yypvt[-1].f); checkscale(yypvt[-3].p); } break; ^ picy.y:74:3: warning: implicit declaration of function 'setdir' is invalid in C99 [-Wimplicit-function-declaration] { setdir(yypvt[-0].i); } break; ^ picy.y:75:3: warning: implicit declaration of function 'printexpr' is invalid in C99 [-Wimplicit-function-declaration] { printexpr(yypvt[-1].f); } break; ^ picy.y:76:3: warning: implicit declaration of function 'printpos' is invalid in C99 [-Wimplicit-function-declaration] { printpos(yypvt[-1].o); } break; ^ picy.y:105:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(0, 0); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:109:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattrf(yypvt[-1].i, yypvt[-0].f); } break; ^ picy.y:7:40: note: expanded from macro 'makeattrf' #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} ^ picy.y:110:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattrf(yypvt[-1].i, yypvt[-0].f); } break; ^ picy.y:7:40: note: expanded from macro 'makeattrf' #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} ^ picy.y:111:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattro(yypvt[-1].i, yypvt[-0].o); } break; ^ picy.y:8:40: note: expanded from macro 'makeattro' #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} ^ picy.y:112:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattro(yypvt[-1].i, yypvt[-0].o); } break; ^ picy.y:8:40: note: expanded from macro 'makeattro' #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} ^ picy.y:113:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattro(yypvt[-1].i, yypvt[-0].o); } break; ^ picy.y:8:40: note: expanded from macro 'makeattro' #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} ^ picy.y:114:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattro(yypvt[-1].i, yypvt[-0].o); } break; ^ picy.y:8:40: note: expanded from macro 'makeattro' #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} ^ picy.y:115:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(WITH, yypvt[-0].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:116:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattr(PLACE, getblock(getlast(1,BLOCK), yypvt[-0].p ^ picy.y:118:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattro(PLACE, yypvt[-0].o); } break; ^ picy.y:8:40: note: expanded from macro 'makeattro' #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} ^ picy.y:119:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(SAME, yypvt[-0].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:120:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattro(yypvt[-0].i, 0); } break; ^ picy.y:8:40: note: expanded from macro 'makeattro' #define makeattro(a,v) {yystemp.o=(v); makeattr(a, yystemp);} ^ picy.y:121:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(HEAD, yypvt[-0].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:122:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattrf(DOT, yypvt[-0].f); } break; ^ picy.y:7:40: note: expanded from macro 'makeattrf' #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} ^ picy.y:123:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattrf(DASH, yypvt[-0].f); } break; ^ picy.y:7:40: note: expanded from macro 'makeattrf' #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} ^ picy.y:124:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattrf(CHOP, yypvt[-0].f); } break; ^ picy.y:7:40: note: expanded from macro 'makeattrf' #define makeattrf(a,v) {yystemp.f=(v); makeattr(a, yystemp);} ^ picy.y:125:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(SHADED, 0); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:126:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(WHITE, 0); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:136:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(CENTER, yypvt[-0].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:137:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(yypvt[-0].i, yypvt[-1].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:138:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(CENTER, yypvt[-0].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:139:3: warning: implicit declaration of function 'makeattr' is invalid in C99 [-Wimplicit-function-declaration] { makeattri(yypvt[-0].i, yypvt[-1].i); } break; ^ picy.y:6:40: note: expanded from macro 'makeattri' #define makeattri(a,v) {yystemp.i=(v); makeattr(a, yystemp);} ^ picy.y:298:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] yyps= &yys[-1]; ^ ~~ picy.y:287:2: note: array 'yys' declared here short yys[YYMAXDEPTH]; ^ picy.y:299:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] yypv= &yyv[-1]; ^ ~~ picy.y:280:1: note: array 'yyv' declared here YYSTYPE yyv[YYMAXDEPTH]; /* where the values are stored */ ^ 34 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c picl.c -o picl.o In file included from picl.c:40: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' picl.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yylex(){ ^ picl.c:64:15: warning: implicit declaration of function 'yylook' is invalid in C99 [-Wimplicit-function-declaration] while((nstr = yylook()) >= 0) ^ picl.c:67:4: warning: implicit declaration of function 'yywrap' is invalid in C99 [-Wimplicit-function-declaration] if(yywrap()) return(0); break; ^ picl.c:433:3: warning: implicit declaration of function 'definition' is invalid in C99 [-Wimplicit-function-declaration] { definition(yytext); BEGIN A; } ^ picl.c:439:14: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] { yylval.i = atoi(yytext); return(NTH); } ^ picl.c:442:14: warning: implicit declaration of function 'atof' is invalid in C99 [-Wimplicit-function-declaration] { yylval.f = atof(yytext); return(NUMBER); } ^ picl.c:450:8: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] c = input(); ^ picl.c:451:4: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(c); ^ picl.c:453:5: warning: implicit declaration of function 'dodef' is invalid in C99 [-Wimplicit-function-declaration] dodef(p); ^ picl.c:455:5: warning: implicit declaration of function 'pbstr' is invalid in C99 [-Wimplicit-function-declaration] pbstr(p->s_val); ^ picl.c:456:36: warning: format specifies type 'char *' but the argument has type 'YYSTYPE' [-Wformat] dprintf("pushing back `%s'\n", p->s_val); ~~ ^~~~~~~~ picl.c:486:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] { yyerror("newline in string"); BEGIN A; return(ST); } ^ picl.c:489:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] { CADD; } ^ picl.c:46:59: note: expanded from macro 'CADD' #define CADD cbuf[clen++]=yytext[0]; if(clen>=CBUFLEN-1) {yyerror("string too long", cbuf); BEGIN A;} ^ picl.c:2709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yylook(){ ^ picl.c:2744:25: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] *yylastch++ = yych = input(); ^ picl.c:2755:9: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] if ( (int)yyt > (int)yycrank){ ^~~~~~~~ picl.c:2755:20: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] if ( (int)yyt > (int)yycrank){ ^~~~~~~~~~~~ picl.c:2759:8: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] {unput(*--yylastch);break;} ^ picl.c:2765:12: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] else if((int)yyt < (int)yycrank) { /* r < yycrank */ ^~~~~~~~ picl.c:2765:23: warning: cast to smaller integer type 'int' from 'struct yywork *' [-Wpointer-to-int-cast] else if((int)yyt < (int)yycrank) { /* r < yycrank */ ^~~~~~~~~~~~ picl.c:2773:8: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] {unput(*--yylastch);break;} ^ picl.c:2787:8: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] {unput(*--yylastch);break;} ^ picl.c:2800:6: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] {unput(*--yylastch);break;} ^ picl.c:2823:12: warning: implicit declaration of function 'yyback' is invalid in C99 [-Wimplicit-function-declaration] while(yyback((*lsp)->yystops,-*yyfnd) != 1 && lsp > yylstate){ ^ picl.c:2825:7: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(*yylastch--); ^ picl.c:2841:4: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(*yylastch); ^ picl.c:2848:28: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] yyprevious = yytext[0] = input(); ^ picl.c:2857:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyback(p, m) ^ picl.c:2869:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyinput(){ ^ picl.c:2870:9: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] return(input()); ^ picl.c:2872:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyoutput(c) ^ picl.c:2876:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyunput(c) ^ picl.c:2878:2: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(c); ^ 34 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o In file included from main.c:4: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' main.c:7:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static reset(); ~~~~~~ ^ main.c:49:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ main.c:65:2: warning: implicit declaration of function 'setdefaults' is invalid in C99 [-Wimplicit-function-declaration] setdefaults(); ^ main.c:75:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ main.c:75:9: note: include the header or explicitly provide a declaration for 'exit' main.c:80:11: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy (buffer, filename); ^ main.c:80:11: note: include the header or explicitly provide a declaration for 'strcpy' main.c:81:39: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if ((bp = rindex (buffer, '.')) && strcmp (bp, ".pic") ^ main.c:81:39: note: include the header or explicitly provide a declaration for 'strcmp' main.c:83:12: warning: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion] *bp = NULL; ^ ~~~~ main.c:95:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else EUNICE ^ // main.c:101:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif EUNICE ^ // main.c:102:4: warning: implicit declaration of function 'getdata' is invalid in C99 [-Wimplicit-function-declaration] getdata(yyin); ^ main.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setdefaults() /* set default sizes for variables like boxht */ ^ main.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] checkscale(s) /* if s is "scale", adjust default variables */ ^ main.c:153:4: warning: implicit declaration of function 'setfval' is invalid in C99 [-Wimplicit-function-declaration] setfval(defaults[i].name, defaults[i].val * scale); ^ main.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getdata(fin) ^ main.c:191:4: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] yyparse(); ^ main.c:197:21: warning: implicit declaration of function 'atof' is invalid in C99 [-Wimplicit-function-declaration] deltx = delty = atof(&buf[4]); ^ main.c:207:5: warning: implicit declaration of function 'openpl' is invalid in C99 [-Wimplicit-function-declaration] openpl(); ^ main.c:208:5: warning: implicit declaration of function 'print' is invalid in C99 [-Wimplicit-function-declaration] print(); /* assumes \n at end */ ^ main.c:209:5: warning: implicit declaration of function 'closepl' is invalid in C99 [-Wimplicit-function-declaration] closepl(); ^ main.c:218:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static reset() ~~~~~~ ^ main.c:227:4: warning: implicit declaration of function 'freesymtab' is invalid in C99 [-Wimplicit-function-declaration] freesymtab((struct symtab *)op->o_dotdash); /* funn ^ main.c:227:15: warning: cast to 'struct symtab *' from smaller integer type 'int' [-Wint-to-pointer-cast] freesymtab((struct symtab *)op->o_dotdash); /* funn ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:229:3: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free((char *)objlist[i]); ^ main.c:229:3: note: include the header or explicitly provide a declaration for 'free' 24 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c print.c -o print.o In file included from print.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' print.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print() ^ print.c:22:4: warning: implicit declaration of function 'troff' is invalid in C99 [-Wimplicit-function-declaration] troff(text[p->o_nt1].t_val); ^ print.c:26:30: warning: implicit declaration of function 'fig_whiten' is invalid in C99 [-Wimplicit-function-declaration] if (p->o_attr & WHITEOBJ) fig_whiten(); ^ print.c:27:31: warning: implicit declaration of function 'fig_shade' is invalid in C99 [-Wimplicit-function-declaration] if (p->o_attr & SHADEDOBJ) fig_shade(); ^ print.c:28:4: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] move(ox, oy); ^ print.c:36:5: warning: implicit declaration of function 'box' is invalid in C99 [-Wimplicit-function-declaration] box(x0, y0, x1, y1); ^ print.c:38:5: warning: implicit declaration of function 'dotbox' is invalid in C99 [-Wimplicit-function-declaration] dotbox(x0, y0, x1, y1, p->o_dotdash, p->o_ddval ^ print.c:41:4: warning: implicit declaration of function 'dotext' is invalid in C99 [-Wimplicit-function-declaration] dotext(p); /* if there are any text strings */ ^ print.c:46:36: warning: '/*' within block comment [-Wcomment] move(ox, isdown(m) ? y0 : y1); /* bottom */ ^ print.c:57:36: warning: '/*' within block comment [-Wcomment] move(ox, isdown(m) ? y0 : y1); /* bottom */ ^ print.c:64:5: warning: implicit declaration of function 'circle' is invalid in C99 [-Wimplicit-function-declaration] circle(ox, oy, x1); ^ print.c:67:26: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] move(ox + isright(m) ? x1 : -x1, oy); ~~~~~~~~~~~~~~~ ^ print.c:67:26: note: place parentheses around the '+' expression to silence this warning move(ox + isright(m) ? x1 : -x1, oy); ~~~~~~~~~~~~~~~ ^ print.c:67:26: note: place parentheses around the '?:' expression to evaluate it first move(ox + isright(m) ? x1 : -x1, oy); ~~~~~~~~~~~^~~~~~~~~~ print.c:69:27: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] move(ox, oy + isup(m) ? x1 : -x1); ~~~~~~~~~~~~ ^ print.c:69:27: note: place parentheses around the '+' expression to silence this warning move(ox, oy + isup(m) ? x1 : -x1); ~~~~~~~~~~~~ ^ print.c:69:27: note: place parentheses around the '?:' expression to evaluate it first move(ox, oy + isup(m) ? x1 : -x1); ~~~~~~~~^~~~~~~~~~ print.c:76:5: warning: implicit declaration of function 'ellipse' is invalid in C99 [-Wimplicit-function-declaration] ellipse(ox, oy, x1, y1); ^ print.c:79:26: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] move(ox + isright(m) ? x1 : -x1, oy); ~~~~~~~~~~~~~~~ ^ print.c:79:26: note: place parentheses around the '+' expression to silence this warning move(ox + isright(m) ? x1 : -x1, oy); ~~~~~~~~~~~~~~~ ^ print.c:79:26: note: place parentheses around the '?:' expression to evaluate it first move(ox + isright(m) ? x1 : -x1, oy); ~~~~~~~~~~~^~~~~~~~~~ print.c:81:29: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] move(ox, oy - isdown(m) ? y1 : -y1); ~~~~~~~~~~~~~~ ^ print.c:81:29: note: place parentheses around the '-' expression to silence this warning move(ox, oy - isdown(m) ? y1 : -y1); ~~~~~~~~~~~~~~ ^ print.c:81:29: note: place parentheses around the '?:' expression to evaluate it first move(ox, oy - isdown(m) ? y1 : -y1); ~~~~~~~~~~^~~~~~~~~~ print.c:87:5: warning: implicit declaration of function 'arrow' is invalid in C99 [-Wimplicit-function-declaration] arrow(x1 - (y1 - oy), y1 + (x1 - ox), ^ print.c:93:5: warning: implicit declaration of function 'arc' is invalid in C99 [-Wimplicit-function-declaration] arc(ox, oy, x1, y1, p->o_val[2], p->o_val[3], ^ print.c:112:5: warning: implicit declaration of function 'tpspline' is invalid in C99 [-Wimplicit-function-declaration] tpspline(ox, oy, p->o_val[4], &p->o_val[5]); ^ print.c:121:7: warning: implicit declaration of function 'line' is invalid in C99 [-Wimplicit-function-declaration] line(dx, dy, ndx, ndy); ^ print.c:123:7: warning: implicit declaration of function 'dotline' is invalid in C99 [-Wimplicit-function-declaration] dotline(dx, dy, ndx, ndy, ^ print.c:148:4: warning: implicit declaration of function 'label' is invalid in C99 [-Wimplicit-function-declaration] label((char *)p->o_attr, p->o_dotdash, 0); /* stri ^ print.c:148:10: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] label((char *)p->o_attr, p->o_dotdash, 0); /* stri ^~~~~~~~~~~~~~~~~ print.c:150:4: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free((char *)p->o_attr); ^ print.c:150:4: note: include the header or explicitly provide a declaration for 'free' print.c:150:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] free((char *)p->o_attr); ^~~~~~~~~~~~~~~~~ print.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dotline(x0, y0, x1, y1, ddtype, ddval) /* dotted line */ ^ print.c:164:2: warning: implicit declaration of function 'fig_flush' is invalid in C99 [-Wimplicit-function-declaration] fig_flush(); ^ print.c:169:2: warning: implicit declaration of function 'dashed_line' is invalid in C99 [-Wimplicit-function-declaration] dashed_line(x0, y0, x1, y1, prevval, ddtype == DOT); ^ print.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dotbox(x0, y0, x1, y1, ddtype, ddval) /* dotted or dashed box */ ^ print.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dotext(p) /* print text strings of p in proper vertical spacing */ ^ print.c:189:2: warning: implicit declaration of function 'fig_flush' is invalid in C99 [-Wimplicit-function-declaration] fig_flush(); ^ print.c:192:3: warning: implicit declaration of function 'label' is invalid in C99 [-Wimplicit-function-declaration] label(text[i].t_val, text[i].t_type, nhalf); ^ 33 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c misc.c -o misc.o In file included from misc.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' misc.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setdir(n) /* set direction from n */ ^ misc.c:59:2: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort(); /*NOTREACHED*/ ^ misc.c:59:2: note: include the header or explicitly provide a declaration for 'abort' misc.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] makeattr(type, val) /* add attribute type and val */ ^ misc.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printexpr(f) /* print expression for debugging */ ^ misc.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printpos(p) /* print position for debugging */ ^ misc.c:93:25: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] p = malloc((unsigned) (strlen(s)+1)); ^ misc.c:93:25: note: include the header or explicitly provide a declaration for 'strlen' misc.c:95:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("out of space in tostring on %s", s); ^ misc.c:96:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ misc.c:96:3: note: include the header or explicitly provide a declaration for 'exit' misc.c:132:28: warning: format specifies type 'unsigned int' but the argument has type 'struct obj *' [-Wformat] dprintf("getpos %o %d\n", p, corner); ~~ ^ misc.c:236:2: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("there is no %dth last", n); ^ misc.c:260:2: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("there is no %dth ", n); ^ misc.c:271:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror(".%s is not in that block", s); ^ misc.c:274:13: warning: cast to 'struct symtab *' from smaller integer type 'int' [-Wint-to-pointer-cast] for (stp = (struct symtab *) p->o_dotdash; stp != NULL; stp = stp->s_next) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:275:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(s, stp->s_name) == 0) { ^ misc.c:275:7: note: include the header or explicitly provide a declaration for 'strcmp' misc.c:280:2: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("there is no .%s in that []", s); ^ misc.c:301:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("out of space in makenode\n"); ^ misc.c:317:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // misc.c:322:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // misc.c:324:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("objlist overflow\n"); ^ misc.c:331:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extreme(x, y) /* record max and min x and y values */ ^ 21 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c symtab.c -o symtab.o In file included from symtab.c:3: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' symtab.c:15:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("no such variable as %s", s); ^ symtab.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setfval(s, f) /* set variable s to f */ ^ symtab.c:49:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(s, p->s_name) == 0) ^ symtab.c:49:7: note: include the header or explicitly provide a declaration for 'strcmp' symtab.c:54:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("out of symtab space with %s", s); ^ symtab.c:55:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ symtab.c:55:4: note: include the header or explicitly provide a declaration for 'exit' symtab.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] freesymtab(p) /* free space used by symtab at p */ ^ symtab.c:83:3: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(p->s_name); /* assumes done with tostring */ ^ symtab.c:83:3: note: include the header or explicitly provide a declaration for 'free' 8 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c blockgen.c -o blockgen.o In file included from blockgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' blockgen.c:53:33: warning: cast to smaller integer type 'int' from 'struct symtab *' [-Wpointer-to-int-cast] p->o_dotdash = q->o_dotdash = (int) stack[nstack+1].p_symtab; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockgen.c:120:4: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(attr[i].a_type, attr[i].a_val.p); ^ blockgen.c:152:2: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(x0, y0); ^ blockgen.c:179:2: warning: implicit declaration of function 'blockadj' is invalid in C99 [-Wimplicit-function-declaration] blockadj(p); /* fix up coords for enclosed blocks */ ^ blockgen.c:185:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] blockadj(p) /* adjust coords in block starting at p */ ^ 6 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c boxgen.c -o boxgen.o In file included from boxgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' boxgen.c:59:4: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(attr[i].a_type, attr[i].a_val.p); ^ boxgen.c:91:2: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(x0, y0); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c circgen.c -o circgen.o In file included from circgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' circgen.c:26:4: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(attr[i].a_type, attr[i].a_val.p); ^ circgen.c:91:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("%s has invalid radius %g\n", (type==CIRCLE) ? "circle" ^ circgen.c:95:2: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(curx+r, cury+r2); ^ 4 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c arcgen.c -o arcgen.o In file included from arcgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' arcgen.c:32:4: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(attr[i].a_type, attr[i].a_val.p); ^ arcgen.c:135:6: warning: implicit declaration of function 'is_onarc' is invalid in C99 [-Wimplicit-function-declaration] if (is_onarc(0.0,start,stop)) extreme(cx4,cy4); ^ arcgen.c:135:32: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] if (is_onarc(0.0,start,stop)) extreme(cx4,cy4); ^ arcgen.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] is_onarc(pt,start,stop) ^ 5 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c linegen.c -o linegen.o In file included from linegen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' linegen.c:39:4: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(attr[i].a_type, attr[i].a_val.p); ^ linegen.c:210:3: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(nx += dx[i], ny += dy[i]); ^ linegen.c:220:2: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(p->o_x, p->o_y); ^ linegen.c:107:5: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] radi[2] = ppos->o_val[1]; ^ ~ linegen.c:13:2: note: array 'radi' declared here float chop3, rad[2], radi[2]; ^ linegen.c:133:5: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] rad[2] = ppos->o_val[1]; ^ ~ linegen.c:13:2: note: array 'rad' declared here float chop3, rad[2], radi[2]; ^ linegen.c:163:12: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] chop3 = rad[2]; ^ ~ linegen.c:13:2: note: array 'rad' declared here float chop3, rad[2], radi[2]; ^ linegen.c:176:12: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] chop3 = radi[2]; ^ ~ linegen.c:13:2: note: array 'radi' declared here float chop3, rad[2], radi[2]; ^ 8 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c movegen.c -o movegen.o In file included from movegen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' movegen.c:21:4: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(attr[i].a_type, attr[i].a_val.p); ^ movegen.c:77:2: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(curx, cury); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c texgen.c -o texgen.o In file included from texgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' texgen.c:8:6: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp(s, ".PS", 3) == 0) ^ texgen.c:8:6: note: include the header or explicitly provide a declaration for 'strncmp' texgen.c:9:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror(".PS found inside .PS/.PE"); ^ texgen.c:10:2: warning: implicit declaration of function 'savetext' is invalid in C99 [-Wimplicit-function-declaration] savetext(CENTER, s); /* use the existing text mechanism */ ^ texgen.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] savetext(t, s) /* record text elements for current object */ ^ texgen.c:28:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("too many text strings (%d)\n", ntext); ^ texgen.c:29:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ texgen.c:29:3: note: include the header or explicitly provide a declaration for 'exit' 7 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c textgen.c -o textgen.o In file included from textgen.c:2: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' textgen.c:51:29: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] dprintf("T %c %s\n", type, s); ~~ ^ %d textgen.c:52:2: warning: implicit declaration of function 'extreme' is invalid in C99 [-Wimplicit-function-declaration] extreme(curx, cury); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c pic2.c -o pic2.o In file included from pic2.c:3: ./pic.h:98:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *tostring(); ^ ./pic.h:98:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' pic2.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] definition(s) /* collect definition for s and install */ ^ pic2.c:18:18: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] while ((delim = input()) == ' ' || delim == '\t') ^ pic2.c:22:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("definition of %s is too long", s); ^ pic2.c:23:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ pic2.c:23:4: note: include the header or explicitly provide a declaration for 'exit' pic2.c:26:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("end of file while defining %s", s); ^ pic2.c:36:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("%s used as variable and definition\n", s); ^ pic2.c:39:3: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(stp->s_val.p); ^ pic2.c:39:3: note: include the header or explicitly provide a declaration for 'free' pic2.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dodef(stp) /* collect args and push back defn for name in table slot n */ ^ pic2.c:61:6: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] if (input() != '(') ^ pic2.c:62:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("disaster in dodef\n"); ^ pic2.c:63:29: warning: implicit declaration of function 'getarg' is invalid in C99 [-Wimplicit-function-declaration] for (argp = argval; (len = getarg(argp)) != -1; argp += len) { ^ pic2.c:81:5: warning: implicit declaration of function 'pbstr' is invalid in C99 [-Wimplicit-function-declaration] pbstr(argstk[*p - '0' - 1]); ^ pic2.c:85:5: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(*p); ^ pic2.c:87:4: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(*p); ^ pic2.c:92:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getarg(p) /* pick up single argument, store in p, return length */ ^ pic2.c:99:7: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] c = input(); ^ pic2.c:101:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("end of file in getarg!\n"); ^ pic2.c:117:2: warning: implicit declaration of function 'unput' is invalid in C99 [-Wimplicit-function-declaration] unput(c); ^ pic2.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] input() ^ pic2.c:139:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("end of file inside .PS/.PE"); ^ pic2.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unput(c) ^ pic2.c:151:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("pushback overflow\n"); ^ pic2.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pbstr(s) ^ pic2.c:164:6: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] n = strlen(s); ^ pic2.c:164:6: note: include the header or explicitly provide a declaration for 'strlen' pic2.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyerror(s, s1, s2, s3, s4) ^ pic2.c:177:2: warning: implicit declaration of function 'eprint' is invalid in C99 [-Wimplicit-function-declaration] eprint(); ^ pic2.c:181:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eprint() /* try to print context around error */ ^ pic2.c:204:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yywrap() {;} ^ 29 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c plfig.c -o plfig.o plfig.c:46:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] openpl() /* initialize device */ ^ plfig.c:50:2: warning: implicit declaration of function 'fig_begin_drawing' is invalid in C99 [-Wimplicit-function-declaration] fig_begin_drawing(); ^ plfig.c:68:7: warning: implicit declaration of function 'space' is invalid in C99 [-Wimplicit-function-declaration] space(xmin, ymin, xmin + ymax-ymin, ymax); ^ plfig.c:74:6: warning: implicit declaration of function 'space' is invalid in C99 [-Wimplicit-function-declaration] space(sxmin, symin, sxmax, symax); ^ plfig.c:76:6: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] if (xconv(xmax) >= 32768 || yconv(ymax) >= 32768) { /* internal tro ^ plfig.c:76:30: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] if (xconv(xmax) >= 32768 || yconv(ymax) >= 32768) { /* internal tro ^ plfig.c:79:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ plfig.c:79:3: note: include the header or explicitly provide a declaration for 'exit' plfig.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] closepl() /* clean up after finished */ ^ plfig.c:85:2: warning: implicit declaration of function 'movehv' is invalid in C99 [-Wimplicit-function-declaration] movehv(0, 0); /* get back to where we started */ ^ plfig.c:86:2: warning: implicit declaration of function 'fig_end_drawing' is invalid in C99 [-Wimplicit-function-declaration] fig_end_drawing(); ^ plfig.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] move(x, y) /* go to position x, y in external coords */ ^ plfig.c:92:2: warning: implicit declaration of function 'hgoto' is invalid in C99 [-Wimplicit-function-declaration] hgoto(xconv(x)); ^ plfig.c:92:8: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] hgoto(xconv(x)); ^ plfig.c:93:2: warning: implicit declaration of function 'vgoto' is invalid in C99 [-Wimplicit-function-declaration] vgoto(yconv(y)); ^ plfig.c:93:8: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] vgoto(yconv(y)); ^ plfig.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] movehv(h, v) /* go to internal position h, v */ ^ plfig.c:99:2: warning: implicit declaration of function 'hgoto' is invalid in C99 [-Wimplicit-function-declaration] hgoto(h); ^ plfig.c:100:2: warning: implicit declaration of function 'vgoto' is invalid in C99 [-Wimplicit-function-declaration] vgoto(v); ^ plfig.c:103:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hgoto(n) ^ plfig.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] vgoto(n) ^ plfig.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hvflush() /* get to proper point for output */ ^ plfig.c:115:2: warning: implicit declaration of function 'fig_hvflush' is invalid in C99 [-Wimplicit-function-declaration] fig_hvflush((float) hpos, (float) vpos); ^ plfig.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flyback() /* return to upper left corner (entry point) */ ^ plfig.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] troff(s) ^ plfig.c:168:9: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp (s, ".ps", 3) == 0) { ^ plfig.c:168:9: note: include the header or explicitly provide a declaration for 'strncmp' plfig.c:172:6: warning: implicit declaration of function 'pensize' is invalid in C99 [-Wimplicit-function-declaration] pensize (size); ^ plfig.c:226:2: warning: implicit declaration of function 'texture' is invalid in C99 [-Wimplicit-function-declaration] texture (pcount, bitpattern); ^ plfig.c:233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] label(s, t, nh) /* text s of type t nh half-lines up */ ^ plfig.c:247:1: warning: '/*' within block comment [-Wcomment] /* quarter_lines * res in points * quarter_baseline */ ^ plfig.c:254:3: warning: implicit declaration of function 'fig_text_at' is invalid in C99 [-Wimplicit-function-declaration] fig_text_at(s, atx, aty, 0); ^ plfig.c:267:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] line(x0, y0, x1, y1) /* draw line from x0,y0 to x1,y1 */ ^ plfig.c:271:2: warning: implicit declaration of function 'cont' is invalid in C99 [-Wimplicit-function-declaration] cont(x1, y1); ^ plfig.c:274:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dashed_line(x0, y0, x1, y1, inchesperdash, dotted) ^ plfig.c:280:10: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] h1 = xconv(x1); ^ plfig.c:281:10: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] v1 = yconv(y1); ^ plfig.c:284:5: warning: implicit declaration of function 'fig_drawto' is invalid in C99 [-Wimplicit-function-declaration] fig_drawto((float) h1, (float) v1); ^ plfig.c:285:5: warning: implicit declaration of function 'send_dashed_path' is invalid in C99 [-Wimplicit-function-declaration] send_dashed_path(inchesperdash, dotted); ^ plfig.c:286:5: warning: implicit declaration of function 'clearpath' is invalid in C99 [-Wimplicit-function-declaration] clearpath(); ^ plfig.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arrow(x0, y0, x1, y1, w, h) /* draw arrow (without line), head wid w & len ^ plfig.c:314:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] box(x0, y0, x1, y1) ^ plfig.c:318:2: warning: implicit declaration of function 'cont' is invalid in C99 [-Wimplicit-function-declaration] cont(x0, y1); ^ plfig.c:324:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cont(x, y) /* continue line from here to x,y */ ^ plfig.c:329:7: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] h1 = xconv(x); ^ plfig.c:330:7: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] v1 = yconv(y); ^ plfig.c:333:2: warning: implicit declaration of function 'fig_drawto' is invalid in C99 [-Wimplicit-function-declaration] fig_drawto((float) h1, (float) v1); ^ plfig.c:338:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] circle(x, y, r) ^ plfig.c:341:2: warning: implicit declaration of function 'fig_flush' is invalid in C99 [-Wimplicit-function-declaration] fig_flush(); ^ plfig.c:342:2: warning: implicit declaration of function 'fig_circle' is invalid in C99 [-Wimplicit-function-declaration] fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); ^ plfig.c:342:21: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); ^ plfig.c:342:39: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); ^ plfig.c:342:57: warning: implicit declaration of function 'xsc' is invalid in C99 [-Wimplicit-function-declaration] fig_circle((float) xconv(x), (float) yconv(y), (float) xsc(r)); ^ plfig.c:346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tpspline(x, y, n, p) ^ plfig.c:356:13: warning: implicit declaration of function 'xsc' is invalid in C99 [-Wimplicit-function-declaration] xx[num] = xsc(p[i]); ^ plfig.c:357:13: warning: implicit declaration of function 'ysc' is invalid in C99 [-Wimplicit-function-declaration] yy[num] = ysc(p[i+1]); ^ plfig.c:366:2: warning: implicit declaration of function 'draw_fig_spline' is invalid in C99 [-Wimplicit-function-declaration] draw_fig_spline(xx, yy, num); ^ plfig.c:370:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ellipse(x, y, r1, r2) ^ plfig.c:373:2: warning: implicit declaration of function 'fig_flush' is invalid in C99 [-Wimplicit-function-declaration] fig_flush(); ^ plfig.c:374:2: warning: implicit declaration of function 'fig_ellipse' is invalid in C99 [-Wimplicit-function-declaration] fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), ^ plfig.c:374:22: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), ^ plfig.c:374:40: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), ^ plfig.c:374:58: warning: implicit declaration of function 'xsc' is invalid in C99 [-Wimplicit-function-declaration] fig_ellipse((float) xconv(x), (float) yconv(y), (float) xsc(r1), ^ plfig.c:375:15: warning: implicit declaration of function 'ysc' is invalid in C99 [-Wimplicit-function-declaration] (float) abs(ysc(r2))); ^ plfig.c:381:1: warning: '/*' within block comment [-Wcomment] /* start and stop are calculated in reverse because the positive y direction * ^ plfig.c:383:1: warning: '/*' within block comment [-Wcomment] /* on the Imagen is downwards, which reverses "counterclockwise" */ ^ plfig.c:384:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arc(x, y, x0, y0, x1, y1, r) ^ plfig.c:389:2: warning: implicit declaration of function 'fig_flush' is invalid in C99 [-Wimplicit-function-declaration] fig_flush(); ^ plfig.c:390:6: warning: implicit declaration of function 'xsc' is invalid in C99 [-Wimplicit-function-declaration] r = xsc(r); ^ plfig.c:391:24: warning: implicit declaration of function 'ysc' is invalid in C99 [-Wimplicit-function-declaration] start = atan2((float) ysc(y1-y), (float) xsc(x1-x)); ^ plfig.c:397:2: warning: implicit declaration of function 'fig_arc' is invalid in C99 [-Wimplicit-function-declaration] fig_arc((float) xconv(x), (float) yconv(y), r, r, start, stop); ^ plfig.c:397:18: warning: implicit declaration of function 'xconv' is invalid in C99 [-Wimplicit-function-declaration] fig_arc((float) xconv(x), (float) yconv(y), r, r, start, stop); ^ plfig.c:397:36: warning: implicit declaration of function 'yconv' is invalid in C99 [-Wimplicit-function-declaration] fig_arc((float) xconv(x), (float) yconv(y), r, r, start, stop); ^ plfig.c:402:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] space(x0, y0, x1, y1) /* set limits of page */ ^ plfig.c:415:2: warning: implicit declaration of function 'fig_window' is invalid in C99 [-Wimplicit-function-declaration] fig_window(x0, y0, x1, y1, x0/res, y1/res, x1/res, y0/res); ^ plfig.c:418:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xconv(x) /* convert x from external to internal form */ ^ plfig.c:427:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xsc(x) /* convert x from external to internal form, scaling only */ ^ plfig.c:436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yconv(y) /* convert y from external to internal form */ ^ plfig.c:446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ysc(y) /* convert y from external to internal form, scaling only */ ^ 77 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c figd.c -o figd.o figd.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_window(lox, loy, hix, hiy, loxpage, hiypage, hixpage, loypage) ^ figd.c:84:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static sendpath(); ~~~~~~ ^ figd.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pensize(x) ^ figd.c:93:6: warning: implicit declaration of function 'clearpath' is invalid in C99 [-Wimplicit-function-declaration] clearpath(); ^ figd.c:102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] texture (pcount, bitpattern) ^ figd.c:109:5: warning: implicit declaration of function 'clearpath' is invalid in C99 [-Wimplicit-function-declaration] clearpath (); ^ figd.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clearpath() ^ figd.c:133:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ckbounds(x, y) ~~~~~~ ^ figd.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] map(x, y, ix, iy, bounds) ^ figd.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_text_at(text, x, y, position) ^ figd.c:180:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif TEXT_LEFT_ONLY ^ // figd.c:235:96: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] O_TEXT, position, -1, 0,-1,font,ifontsize,0.0, 4,Pix_To_Figpix(FONT_HT),Pix_To_Figpix(strlen(cp)*FONT_WIDTH), ^ figd.c:235:96: note: include the header or explicitly provide a declaration for 'strlen' figd.c:235:103: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] O_TEXT, position, -1, 0,-1,font,ifontsize,0.0, 4,Pix_To_Figpix(FONT_HT),Pix_To_Figpix(strlen(cp)*FONT_WIDTH), ^~ figd.c:44:52: note: expanded from macro 'Pix_To_Figpix' #define Pix_To_Figpix(x) ((int)(FIGRES * Pix_To_In(x))) ^ figd.c:37:33: note: expanded from macro 'Pix_To_In' #define Pix_To_In(x) (((float) x) / RES) ^ figd.c:252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_drawto(x, y) ^ figd.c:258:2: warning: implicit declaration of function 'fig_raw_drawto' is invalid in C99 [-Wimplicit-function-declaration] fig_raw_drawto(x0, y0); ^ figd.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_raw_drawto(x, y) ^ figd.c:283:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static sendpath() ~~~~~~ ^ figd.c:332:25: warning: data argument not used by format string [-Wformat-extra-args] if (dbg) printf("\n", Pix_To_Figpix(xx[i]), Pix_To_Figpix(yy[i])); ~~~~ ^ figd.c:44:26: note: expanded from macro 'Pix_To_Figpix' #define Pix_To_Figpix(x) ((int)(FIGRES * Pix_To_In(x))) ^ figd.c:345:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] send_dashed_path(inchesperdash, dotted) ^ figd.c:381:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static draw() ~~~~~~ ^ figd.c:392:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_hvflush(x, y) ^ figd.c:408:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_flush() ^ figd.c:417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_arc(xcenter, ycenter, xradius, yradius, start, stop) ^ figd.c:426:9: warning: implicit declaration of function 'is_onarc' is invalid in C99 [-Wimplicit-function-declaration] if (is_onarc(0.0, start, stop)) ckbounds(X0+xrad, Y0); ^ figd.c:515:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_circle(xcenter, ycenter, radius) ^ figd.c:526:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_ellipse(xcenter, ycenter, xradius, yradius) ^ figd.c:538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_begin_drawing() ^ figd.c:596:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_end_drawing() ^ figd.c:617:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_fig_spline(xx, yy, N) ^ figd.c:694:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_shade() ^ figd.c:704:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fig_whiten() ^ 31 warnings generated. cc -fstack-protector-strong -o pic2fig picy.o picl.o main.o print.o misc.o symtab.o blockgen.o boxgen.o circgen.o arcgen.o linegen.o movegen.o texgen.o textgen.o pic2.o plfig.o figd.o -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pic2fig-1.4_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/print/pic2fig/work/pic2fig/pic2fig /wrkdirs/usr/ports/print/pic2fig/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/print/pic2fig/work/pic2fig/pic2fig.1 /wrkdirs/usr/ports/print/pic2fig/work/stage/usr/local/share/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T02:10:04+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=f23955f536' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for pic2fig-1.4_3 ===> Building pic2fig-1.4_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pic2fig-1.4_3 build of print/pic2fig | pic2fig-1.4_3 ended at Fri Apr 5 03:10:12 BST 2024 build time: 00:00:08