=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Installing for spice-3f5.1nb6 => Creating installation directories cd /usr/pkgsrc/work/cad/spice/work && env WRKSRC=/usr/pkgsrc/work/cad/spice/work USETOOLS=no CC=cc CFLAGS=-O2\ -march=i586\ -Dbsd\ -I/usr/include CPPFLAGS=-I/usr/include CXX=c++ CXXFLAGS=-O2\ -march=i586\ -Dbsd\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/work/cad/spice/work/.wrapper/bin:/usr/pkgsrc/work/cad/spice/work/.buildlink/bin:/usr/pkgsrc/work/cad/spice/work/.tools/bin:/usr/pkg/bin::/usr/pbulk/bin:/usr/pbulk/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/X11R7/bin:/usr/X11R7/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/games:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/usr/pkgsrc/work/cad/spice/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11R7 X11PREFIX=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ operator\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/work/cad/spice/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/work/cad/spice/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/work/cad/spice/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/work/cad/spice/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg DESTDIR=/usr/pkgsrc/work/cad/spice/work/.destdir util/build NetBSD install Begin build on minix for NetBSD on Wed Dec 3 08:03:13 GMT 2014: Making "install" in work Creating "/usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3" Creating "/usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/helpdir" Creating "/usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/scripts" UPDATING /usr/pkgsrc/work/cad/spice/work/NetBSD/tmp/spice Making "install" in src Making "install" in lib Making "install" in dev Making "install" in disto Done with work/src/lib/dev/disto Making "install" in asrc gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in bjt Done with work/src/lib/dev/bjt Making "install" in bsim1 Done with work/src/lib/dev/bsim1 Making "install" in bsim2 Done with work/src/lib/dev/bsim2 Making "install" in cap Done with work/src/lib/dev/cap Making "install" in cccs Done with work/src/lib/dev/cccs Making "install" in ccvs Done with work/src/lib/dev/ccvs Making "install" in csw Done with work/src/lib/dev/csw Making "install" in dio Done with work/src/lib/dev/dio Making "install" in ind Done with work/src/lib/dev/ind Making "install" in isrc Done with work/src/lib/dev/isrc Making "install" in jfet Done with work/src/lib/dev/jfet Making "install" in ltra Done with work/src/lib/dev/ltra Making "install" in mes Done with work/src/lib/dev/mes Making "install" in mos1 Done with work/src/lib/dev/mos1 Making "install" in mos2 Done with work/src/lib/dev/mos2 Making "install" in mos3 Done with work/src/lib/dev/mos3 Making "install" in mos6 Done with work/src/lib/dev/mos6 Making "install" in res Done with work/src/lib/dev/res Making "install" in sw Done with work/src/lib/dev/sw Making "install" in tra Done with work/src/lib/dev/tra Making "install" in urc Done with work/src/lib/dev/urc Making "install" in vccs Done with work/src/lib/dev/vccs Making "install" in vcvs Done with work/src/lib/dev/vcvs Making "install" in vsrc Done with work/src/lib/dev/vsrc Done with work/src/lib/dev Making "install" in ckt gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//acsetp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//acsetp.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltm.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltm.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltm.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 3 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktdltn.c:24:12: warning: implicit declaration of function 'CKTdltNNum' is invalid in C99 [-Wimplicit-function-declaration] return CKTdltNNum(ckt, ((CKTnode *) node)->number); ^ 4 warnings and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktsetup.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktsetup.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//cktsetup.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//ckttroub.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//ckttroub.c:6: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//ckttroub.c:8: /usr/pkgsrc/work/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//ckttroub.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctran.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctran.c:10: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctran.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] /* TRANdefs.h - defs for transient analyses */ ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctran.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctran.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctran.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctrcurv.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctrcurv.c:7: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dctrcurv.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dsetparm.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//dsetparm.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//nsetparm.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/ckt//nsetparm.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in cp gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//alias.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//alias.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//backq.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//backq.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//backq.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:221:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (pw = getpwent()) { ~~~^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:221:23: note: place parentheses around the assignment to silence this warning while (pw = getpwent()) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:221:23: note: use '==' to turn this assignment into an equality comparison while (pw = getpwent()) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (de = readdir(wdir)) ~~~^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:252:15: note: place parentheses around the assignment to silence this warning while (de = readdir(wdir)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:252:15: note: use '==' to turn this assignment into an equality comparison while (de = readdir(wdir)) ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:399:19: error: variable has incomplete type 'struct tchars' struct tchars tbuf; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:399:12: note: forward declaration of 'struct tchars' struct tchars tbuf; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:400:19: error: variable has incomplete type 'struct sgttyb' struct sgttyb sbuf; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:400:12: note: forward declaration of 'struct sgttyb' struct sgttyb sbuf; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:410:33: error: use of undeclared identifier 'TIOCGETC' (void) ioctl(fileno(cp_in), TIOCGETC, (char *) &tbuf); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:415:33: error: use of undeclared identifier 'TIOCSETC' (void) ioctl(fileno(cp_in), TIOCSETC, (char *) &tbuf); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:417:33: error: use of undeclared identifier 'TIOCGETP' (void) ioctl(fileno(cp_in), TIOCGETP, (char *) &sbuf); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:418:24: error: use of undeclared identifier 'RAW' sbuf.sg_flags &= ~(RAW|CBREAK); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:418:28: error: use of undeclared identifier 'CBREAK' sbuf.sg_flags &= ~(RAW|CBREAK); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//complete.c:419:33: error: use of undeclared identifier 'TIOCSETP' (void) ioctl(fileno(cp_in), TIOCSETP, (char *) &sbuf); ^ 5 warnings and 13 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk' extern char *sbrk(); ^ /usr/include/unistd.h:270:7: note: previous declaration is here void *sbrk(intptr_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:369:21: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] r = wait((union wait *) NULL); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:483:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getcwd(localbuf, sizeof(localbuf))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:483:11: note: place parentheses around the assignment to silence this warning if (s = getcwd(localbuf, sizeof(localbuf))) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//cshpar.c:483:11: note: use '==' to turn this assignment into an equality comparison if (s = getcwd(localbuf, sizeof(localbuf))) ^ == 2 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//front.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 3 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//glob.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//glob.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//glob.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//glob.c:488:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (bc = *p++) { ~~~^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//glob.c:488:23: note: place parentheses around the assignment to silence this warning while (bc = *p++) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//glob.c:488:23: note: use '==' to turn this assignment into an equality comparison while (bc = *p++) { ^ == 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c:123:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(buf, '?')) ~~^~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c:123:19: note: place parentheses around the assignment to silence this warning if (s = index(buf, '?')) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c:123:19: note: use '==' to turn this assignment into an equality comparison if (s = index(buf, '?')) ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//history.c:280:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 2 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//input.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteinput.h:25: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//input.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteinput.h:25: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c:12: /usr/include/errno.h:61:27: error: redefinition of 'sys_errlist' with a different type: 'const char *const *' vs 'char *[]' extern const char *const *sys_errlist __RENAME(__sys_errlist14); ^ /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:87:14: note: previous definition is here extern char *sys_errlist[]; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c:124:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '\\' && DIR_TERM != '\\' || c == '\026' /* ^V */ ) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c:124:23: note: place parentheses around the '&&' expression to silence this warning if (c == '\\' && DIR_TERM != '\\' || c == '\026' /* ^V */ ) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//lexical.c:335:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] i = read((int) fileno(fp), &c, 1); ^ 2 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//modify.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//modify.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//modify.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_clear( ) ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:241:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(clear_chars, 1, outfn); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:247:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_home( ) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:253:8: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] tputs(tgoto(motion_chars, 1, 1), 1, outfn); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_cleol( ) ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:275:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tcap_init( ) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:287:6: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] if (tgetent(tbuf, s) != -1) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:288:14: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] xsize = tgetnum("co"); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//output.c:292:29: warning: implicit declaration of function 'tgetstr' is invalid in C99 [-Wimplicit-function-declaration] clear_chars = (char *) tgetstr("cl", &charbuf); ^ 9 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//quote.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//quote.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//quote.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *str) { ~~^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//quote.c:26:11: note: place parentheses around the assignment to silence this warning while (c = *str) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//quote.c:26:11: note: use '==' to turn this assignment into an equality comparison while (c = *str) { ^ == 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//std.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//std.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//std.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk' extern char *sbrk(); ^ /usr/include/unistd.h:270:7: note: previous declaration is here void *sbrk(intptr_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:109:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = readdir(pdir)) { ~~~~~~^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: place parentheses around the assignment to silence this warning while (entry = readdir(pdir)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: use '==' to turn this assignment into an equality comparison while (entry = readdir(pdir)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:191:2: warning: implicit declaration of function 'fixdescriptors' is invalid in C99 [-Wimplicit-function-declaration] fixdescriptors(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//unixcom.c:200:22: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] j = wait(&status); ^~~~~~~ /usr/include/sys/wait.h:175:17: note: passing argument to parameter here pid_t wait(int *); ^ 3 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:7: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:8: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:9: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:261:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (s = index(name, '=')) { ~~^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:261:22: note: place parentheses around the assignment to silence this warning } else if (s = index(name, '=')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:261:22: note: use '==' to turn this assignment into an equality comparison } else if (s = index(name, '=')) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:400:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] "cp_remvar: Internal Error: var %d\n", varname); ~~ ^~~~~~~ %s /usr/pkgsrc/work/cad/spice/work/src/lib/cp//variable.c:409:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] "cp_remvar: Internal Error: var %d\n", varname); ~~ ^~~~~~~ %s 7 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:52:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(s = index(t, cp_dol)) { ~~^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:52:17: note: place parentheses around the assignment to silence this warning while(s = index(t, cp_dol)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:52:17: note: use '==' to turn this assignment into an equality comparison while(s = index(t, cp_dol)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(string, '[')) { ~~^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:111:11: note: place parentheses around the assignment to silence this warning if (s = index(string, '[')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:111:11: note: use '==' to turn this assignment into an equality comparison if (s = index(string, '[')) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:307:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:307:11: note: place parentheses around the assignment to silence this warning if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/cp//var2.c:307:11: note: use '==' to turn this assignment into an equality comparison if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) ^ == 6 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//wlist.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//wlist.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//wlist.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/cp//numparse.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//numparse.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/cp//numparse.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in fte gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//agraf.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//agraf.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//agraf.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteinput.h:25: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteinput.h:25: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] countargs(wl) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:66:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_print(wl, command) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_plot(wl, command) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:84:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_load(wl, command) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_let(wl, command) ^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_set(wl, command) ^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//arg.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] arg_display() ^~~~~~~~~~~ 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:100:11: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] pid = fork(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:110:16: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] (void) dup2(fileno(stdout), fileno(stderr)); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:112:16: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl(spicepath, spicepath, "-r", raw, 0); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:191:20: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] pid = wait(&status); ^~~~~~~ /usr/include/sys/wait.h:175:17: note: passing argument to parameter here pid_t wait(int *); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:220:16: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(p->pr_rawfile); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:284:9: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(to_serv) < 0) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:306:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(to_serv[1]); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:318:2: warning: implicit declaration of function 'execlp' is invalid in C99 [-Wimplicit-function-declaration] execlp(remote_shell, remote_shell, rhost, program, "-s", 0); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:377:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = fread(buf, 1, BSIZE_SP, serv)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:377:14: note: place parentheses around the assignment to silence this warning while (i = fread(buf, 1, BSIZE_SP, serv)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:377:14: note: use '==' to turn this assignment into an equality comparison while (i = fread(buf, 1, BSIZE_SP, serv)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//aspice.c:394:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] num, pos); ^~~ 11 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:135:5: warning: implicit declaration of function 'settrace' is invalid in C99 [-Wimplicit-function-declaration] settrace(wl, VF_PRINT, 0); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:253:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] } else if ((d->db_type == DB_DEADIPLOT)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:253:32: note: remove extraneous parentheses around the comparison to silence this warning } else if ((d->db_type == DB_DEADIPLOT)) { ~ ^ ~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:253:32: note: use '=' to turn this equality comparison into an assignment } else if ((d->db_type == DB_DEADIPLOT)) { ^~ = /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp.c:480:21: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] dt->db_iteration); ^~~~~~~~~~~~~~~~ 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//circuits.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//circuits.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//circuits.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//clip.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//clip.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//clip.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//clip.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath1.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath1.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath1.c:21: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath2.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath2.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath2.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath2.c:343:1: warning: '/*' within block comment [-Wcomment] /* Calling methods for these functions are: ^ 2 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath3.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath3.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath3.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath4.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath4.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cmath4.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//compose.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(buf, "r")) { ~~~^~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:211:13: note: place parentheses around the assignment to silence this warning if (fp = fopen(buf, "r")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:211:13: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(buf, "r")) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:225:5: warning: implicit declaration of function 'tcap_init' is invalid in C99 [-Wimplicit-function-declaration] tcap_init( ); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:301:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = inp_pathopen(s, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:301:12: note: place parentheses around the assignment to silence this warning if (fp = inp_pathopen(s, "r")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//cpitf.c:301:12: note: use '==' to turn this assignment into an equality comparison if (fp = inp_pathopen(s, "r")) { ^ == 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//debugcom.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//debugcom.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//debugcom.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:21: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:408:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:454:12: warning: declaration of 'struct pn' will not be visible outside of this function [-Wvisibility] struct pn *pn; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//define.c:456:13: warning: incompatible pointer types passing 'struct pn *' to parameter of type 'struct pnode *' [-Wincompatible-pointer-types] prtree1(pn, cp_err); ^~ 7 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:159:7: warning: implicit declaration of function 'dgen_nth_next' is invalid in C99 [-Wimplicit-function-declaration] dg; dgen_nth_next(&dg, count)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:172:8: warning: implicit declaration of function 'dgen_for_n' is invalid in C99 [-Wimplicit-function-declaration] j = dgen_for_n(dg, count, printstr, "n", i); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:189:7: warning: implicit declaration of function 'param_forall' is invalid in C99 [-Wimplicit-function-declaration] param_forall(dg, param_flag); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:193:7: warning: implicit declaration of function 'wl_forall' is invalid in C99 [-Wimplicit-function-declaration] wl_forall(params, listparam, dg); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:241:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] printf(" % 9.9s", dg->instance->GENname); ~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:243:21: warning: trigraph ignored [-Wtrigraphs] printf(" "); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:246:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] printf(" % 9.9s", dg->model->GENmodName); ~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:248:21: warning: trigraph ignored [-Wtrigraphs] printf(" "); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] param_forall(dg, flags) ^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:297:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] listparam(p, dg) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bogus1(dg) ^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:370:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bogus2(dg) ^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:428:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] printf(" % 9.9s", val.v.vec.sVec[i]); ~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:431:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] printf(" % 9.9s", val.v.vec.uVec[i]); ~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:454:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] printf(" % 9.9s", val.sValue); ~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:457:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] printf(" % 9.9s ", val.uValue); ~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//device.c:574:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] com_altermod(wl) ^~~~~~~~~~~~ 18 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//diff.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:6: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:6: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:73:19: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (int, int, int, double, double)' [-Wincompatible-pointer-types] X11_DrawLine, X11_Arc, X11_Text, X11_DefineColor, X11_DefineLinestyle, ^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:75:26: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (REQUEST *, RESPONSE *)' [-Wincompatible-pointer-types] nodev, nodev, nodev, X11_Input, ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:152:5: warning: implicit declaration of function 'internalerror' is invalid in C99 [-Wimplicit-function-declaration] internalerror(ErrorMessage); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:196:2: warning: implicit declaration of function 'externalerror' is invalid in C99 [-Wimplicit-function-declaration] externalerror( ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DevClose() ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DevClear() ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawLine(x1, y1, x2, y2) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Arc(x0, y0, radius, theta1, theta2) ^~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:247:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Text(text, x, y) ^~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DefineColor(colorid, red, green, blue) ^~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DefineLinestyle(linestyleid, mask) ^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:274:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetLinestyle(linestyleid) ^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetColor(colorid) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:290:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Update() ^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:301:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gen_DatatoScreen(graph, x, y, screenx, screeny) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:342:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DatatoScreen(graph, x, y, screenx, screeny) ^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Input(request, response) ^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gen_Input(request, response) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:400:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nodev() ~~~~~~ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SaveText(graph, text, x, y) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//display.c:440:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DevSwitch(devname) ^~~~~~~~~ 22 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteinput.h:25: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteinput.h:25: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:137:9: warning: implicit declaration of function 'Input' is invalid in C99 [-Wimplicit-function-declaration] Input(&request, &response); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:143:10: warning: implicit declaration of function 'DevSwitch' is invalid in C99 [-Wimplicit-function-declaration] if (DevSwitch(devtype)) return; ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:146:10: warning: implicit declaration of function 'NewViewport' is invalid in C99 [-Wimplicit-function-declaration] if (NewViewport(tempgraph)) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:150:6: warning: implicit declaration of function 'gr_resize' is invalid in C99 [-Wimplicit-function-declaration] gr_resize(tempgraph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:151:6: warning: implicit declaration of function 'gr_redraw' is invalid in C99 [-Wimplicit-function-declaration] gr_redraw(tempgraph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:152:6: warning: implicit declaration of function 'DestroyGraph' is invalid in C99 [-Wimplicit-function-declaration] DestroyGraph(tempgraph->graphid); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//doplot.c:236:16: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(fname); ^ 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:105:3: warning: implicit declaration of function 'com_save2' is invalid in C99 [-Wimplicit-function-declaration] com_save2(w, name); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:165:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:572:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (t = gettok(&s)) { ~~^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: place parentheses around the assignment to silence this warning while (t = gettok(&s)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: use '==' to turn this assignment into an equality comparison while (t = gettok(&s)) { ^ == 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//error.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//error.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//error.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//error.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] internalerror(message) ^~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//error.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] externalerror(message) ^~~~~~~~~~~~~ 3 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//evaluate.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//fourier.c:19: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:21: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype, ^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:99:5: warning: implicit declaration of function 'SetGraphContext' is invalid in C99 [-Wimplicit-function-declaration] SetGraphContext(graph->graphid); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:140:7: warning: implicit declaration of function 'internalerror' is invalid in C99 [-Wimplicit-function-declaration] internalerror("gr_init: no range specified"); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:154:9: warning: implicit declaration of function 'NewViewport' is invalid in C99 [-Wimplicit-function-declaration] if (NewViewport(graph) == 1) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:166:5: warning: implicit declaration of function 'DevClear' is invalid in C99 [-Wimplicit-function-declaration] DevClear(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:208:5: warning: implicit declaration of function 'gr_redrawgrid' is invalid in C99 [-Wimplicit-function-declaration] gr_redrawgrid(graph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:253:5: warning: implicit declaration of function 'DatatoScreen' is invalid in C99 [-Wimplicit-function-declaration] DatatoScreen(currentgraph, oldx, oldy, &fromx, &fromy); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:273:7: warning: implicit declaration of function 'SetLinestyle' is invalid in C99 [-Wimplicit-function-declaration] SetLinestyle(dv->v_linestyle); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:280:5: warning: implicit declaration of function 'SetColor' is invalid in C99 [-Wimplicit-function-declaration] SetColor(dv->v_color); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:289:6: warning: implicit declaration of function 'DrawLine' is invalid in C99 [-Wimplicit-function-declaration] DrawLine(fromx, fromy, tox, toy); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:290:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tics = (double *) currentgraph->ticdata) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:290:11: note: place parentheses around the assignment to silence this warning if (tics = (double *) currentgraph->ticdata) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:290:11: note: use '==' to turn this assignment into an equality comparison if (tics = (double *) currentgraph->ticdata) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:293:7: warning: implicit declaration of function 'Text' is invalid in C99 [-Wimplicit-function-declaration] Text("x", (int) (tox - currentgraph->fontwidth / 2), ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:295:7: warning: implicit declaration of function 'SaveText' is invalid in C99 [-Wimplicit-function-declaration] SaveText(currentgraph, "x", ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:415:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_relinestyle(graph) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:468:5: warning: implicit declaration of function 'Update' is invalid in C99 [-Wimplicit-function-declaration] Update(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:512:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_resize(graph) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:581:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_redraw(graph) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:588:5: warning: implicit declaration of function 'PushGraphContext' is invalid in C99 [-Wimplicit-function-declaration] PushGraphContext(graph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:613:5: warning: implicit declaration of function 'gr_restoretext' is invalid in C99 [-Wimplicit-function-declaration] gr_restoretext(graph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:615:5: warning: implicit declaration of function 'PopGraphContext' is invalid in C99 [-Wimplicit-function-declaration] PopGraphContext(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:619:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_restoretext(graph) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:647:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] iplot(pl, id) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:730:2: warning: implicit declaration of function 'Input' is invalid in C99 [-Wimplicit-function-declaration] Input(&reqst, 0); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:818:45: warning: too many arguments in call to 'gr_pmsg' gr_pmsg("Resizing screen", false); ~~~~~~~ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:907:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_trace( ) ^~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:956:4: warning: implicit declaration of function 'term_clear' is invalid in C99 [-Wimplicit-function-declaration] term_clear( ); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:958:4: warning: implicit declaration of function 'term_home' is invalid in C99 [-Wimplicit-function-declaration] term_home( ); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:963:7: warning: implicit declaration of function 'term_cleol' is invalid in C99 [-Wimplicit-function-declaration] term_cleol( ); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graf.c:1023:3: warning: implicit declaration of function 'DestroyGraph' is invalid in C99 [-Wimplicit-function-declaration] DestroyGraph(db->db_graphid); ^ 30 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:46:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static RunningId = 1; ~~~~~~ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:62:7: warning: implicit declaration of function 'internalerror' is invalid in C99 [-Wimplicit-function-declaration] internalerror("can't allocate a listgraph"); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:118:7: warning: implicit declaration of function 'SaveText' is invalid in C99 [-Wimplicit-function-declaration] SaveText(ret, k->text, k->x, k->y); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:219:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreeGraphs() ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetGraphContext(graphid) ^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PushGraphContext(graph) ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//graphdb.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PopGraphContext() ^~~~~~~~~~~~~~~ 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:51:5: warning: implicit declaration of function 'SetColor' is invalid in C99 [-Wimplicit-function-declaration] SetColor(1); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:52:5: warning: implicit declaration of function 'SetLinestyle' is invalid in C99 [-Wimplicit-function-declaration] SetLinestyle(1); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gr_redrawgrid(graph) ^~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:121:7: warning: implicit declaration of function 'Text' is invalid in C99 [-Wimplicit-function-declaration] Text(graph->grid.xlabel, ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:355:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = ft_typabbrev(type)) { ~~^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:355:11: note: place parentheses around the assignment to silence this warning if (s = ft_typabbrev(type)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:355:11: note: use '==' to turn this assignment into an equality comparison if (s = ft_typabbrev(type)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:509:17: warning: implicit declaration of function 'DrawLine' is invalid in C99 [-Wimplicit-function-declaration] DrawLine(graph->viewportxoff + i, ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:552:5: warning: implicit declaration of function 'Update' is invalid in C99 [-Wimplicit-function-declaration] Update(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = ft_typabbrev(type)) { ~~^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:637:11: note: place parentheses around the assignment to silence this warning if (s = ft_typabbrev(type)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:637:11: note: use '==' to turn this assignment into an equality comparison if (s = ft_typabbrev(type)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//grid.c:921:5: warning: implicit declaration of function 'Arc' is invalid in C99 [-Wimplicit-function-declaration] Arc(graph->grid.xaxis.circular.center, ^ 13 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c:136:45: warning: data argument not used by format string [-Wformat-extra-args] here->li_error, file); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c:317:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inp.c:659:20: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(filename); ^ 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(buf, mode)) ~~~^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:97:16: note: place parentheses around the assignment to silence this warning if (fp = fopen(buf, mode)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:97:16: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(buf, mode)) ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:118:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (buffer = readline(fp)) { ~~~~~~~^~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: place parentheses around the assignment to silence this warning while (buffer = readline(fp)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: use '==' to turn this assignment into an equality comparison while (buffer = readline(fp)) { ^ == 3 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//interp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//interp.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//interp.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//interp.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//linear.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//linear.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//linear.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//linear.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//linear.c:84:13: warning: implicit declaration of function 'lincopy' is invalid in C99 [-Wimplicit-function-declaration] lincopy(v, newtime->v_realdata, len, oldtime); ^ 2 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//misccoms.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//misccoms.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//misccoms.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//miscvars.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//miscvars.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//miscvars.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutctab.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutctab.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutctab.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutinp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutinp.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutinp.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutinp.c:83:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutinp.c:225:24: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ 3 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//nutmegif.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:148:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tv = cp_enqvar("plots")) { ~~~^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:148:12: note: place parentheses around the assignment to silence this warning if (tv = cp_enqvar("plots")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:148:12: note: use '==' to turn this assignment into an equality comparison if (tv = cp_enqvar("plots")) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:152:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tv = cp_enqvar("curplot")) { ~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:152:12: note: place parentheses around the assignment to silence this warning if (tv = cp_enqvar("curplot")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:152:12: note: use '==' to turn this assignment into an equality comparison if (tv = cp_enqvar("curplot")) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:156:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tv = cp_enqvar("curplottitle")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:156:12: note: place parentheses around the assignment to silence this warning if (tv = cp_enqvar("curplottitle")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:156:12: note: use '==' to turn this assignment into an equality comparison if (tv = cp_enqvar("curplottitle")) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tv = cp_enqvar("curplotname")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:160:12: note: place parentheses around the assignment to silence this warning if (tv = cp_enqvar("curplotname")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:160:12: note: use '==' to turn this assignment into an equality comparison if (tv = cp_enqvar("curplotname")) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:164:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tv = cp_enqvar("curplotdate")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:164:12: note: place parentheses around the assignment to silence this warning if (tv = cp_enqvar("curplotdate")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//options.c:164:12: note: use '==' to turn this assignment into an equality comparison if (tv = cp_enqvar("curplotdate")) { ^ == 6 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:178:16: warning: implicit declaration of function 'ft_getSaves' is invalid in C99 [-Wimplicit-function-declaration] numsaves = ft_getSaves(&saves); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:275:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (numNames && (run->numData == 1 && run->refIndex != -1 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:275:40: note: place parentheses around the '&&' expression to silence this warning if (numNames && (run->numData == 1 && run->refIndex != -1 ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:276:27: warning: '&&' within '||' [-Wlogical-op-parentheses] || run->numData == 0 && run->refIndex == -1)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:276:27: note: place parentheses around the '&&' expression to silence this warning || run->numData == 0 && run->refIndex == -1)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:286:21: warning: implicit declaration of function 'ft_getOutReq' is invalid in C99 [-Wimplicit-function-declaration] run->writeOut = ft_getOutReq(&run->fp, &run->runPlot, &run->binary, ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:910:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(n1, '(')) { ~~^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:910:11: note: place parentheses around the assignment to silence this warning if (s = index(n1, '(')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:910:11: note: use '==' to turn this assignment into an equality comparison if (s = index(n1, '(')) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(n2, '(')) { ~~^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:917:11: note: place parentheses around the assignment to silence this warning if (s = index(n2, '(')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:917:11: note: use '==' to turn this assignment into an equality comparison if (s = index(n2, '(')) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:943:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (vv = if_getstat(run->circuit, &desc->name[1])) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:943:19: note: place parentheses around the assignment to silence this warning } else if (vv = if_getstat(run->circuit, &desc->name[1])) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//outitf.c:943:19: note: use '==' to turn this assignment into an equality comparison } else if (vv = if_getstat(run->circuit, &desc->name[1])) { ^ == 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//parse.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:6: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Init() ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_NewViewport(graph) ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:55:7: warning: implicit declaration of function 'gr_relinestyle' is invalid in C99 [-Wimplicit-function-declaration] gr_relinestyle(graph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Close() ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Clear() ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_DrawLine(x1, y1, x2, y2) ^~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Arc(x0, y0, radius, theta1, theta2) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Text(text, x, y) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:129:5: warning: implicit declaration of function 'Plt5_SetLinestyle' is invalid in C99 [-Wimplicit-function-declaration] Plt5_SetLinestyle(SOLID); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:150:7: warning: implicit declaration of function 'internalerror' is invalid in C99 [-Wimplicit-function-declaration] internalerror("bad linestyleid"); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_SetColor(colorid) ^~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plot5.c:167:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Plt5_Update() ^~~~~~~~~~~ 12 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plotcurv.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plotcurv.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plotcurv.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plotcurv.c:135:3: warning: '&&' within '||' [-Wlogical-op-parentheses] && xs->v_plot->pl_scale == xs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//plotcurv.c:135:3: note: place parentheses around the '&&' expression to silence this warning && xs->v_plot->pl_scale == xs) ^ 2 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//points.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//points.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//points.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//points.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//points.c:89:6: warning: implicit declaration of function 'SMITH_tfm' is invalid in C99 [-Wimplicit-function-declaration] SMITH_tfm( v->v_realdata[i], 0.0, &d, &d2 ); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//points.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SMITH_tfm(re, im, x, y) ^~~~~~~~~ 3 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:51:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rhs = index(p, '=')) { ~~~~^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: place parentheses around the assignment to silence this warning if (rhs = index(p, '=')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: use '==' to turn this assignment into an equality comparison if (rhs = index(p, '=')) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:57:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(p, '[')) { ~~^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: place parentheses around the assignment to silence this warning if (s = index(p, '[')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: use '==' to turn this assignment into an equality comparison if (s = index(p, '[')) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:64:35: warning: '&&' within '||' [-Wlogical-op-parentheses] for (q = s; *q && (*q != ']' && *q != ',' || depth > 0); q++) { ~~~~~~~~~~^~~~~~~~~~~~ ~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:64:35: note: place parentheses around the '&&' expression to silence this warning for (q = s; *q && (*q != ']' && *q != ',' || depth > 0); q++) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:805:13: warning: enumeration values 'GRID_NONE' and 'GRID_LIN' not handled in switch [-Wswitch] switch (d->v_gridtype) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postcoms.c:831:13: warning: enumeration value 'PLOT_LIN' not handled in switch [-Wswitch] switch (d->v_plottype) { ^ 9 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Init() ^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_NewViewport(graph) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Close() ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:243:7: warning: implicit declaration of function 'DestroyGraph' is invalid in C99 [-Wimplicit-function-declaration] DestroyGraph(hcopygraphid); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Clear() ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_DrawLine(x1, y1, x2, y2) ^~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:288:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Arc(x0, y0, r, theta1, theta2) ^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Text(text, x, y) ^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:321:5: warning: implicit declaration of function 'PS_SetLinestyle' is invalid in C99 [-Wimplicit-function-declaration] PS_SetLinestyle(SOLID); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:353:7: warning: implicit declaration of function 'internalerror' is invalid in C99 [-Wimplicit-function-declaration] internalerror("bad linestyleid"); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:371:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_SetColor(colorid) ^~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//postsc.c:387:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PS_Update() ^~~~~~~~~ 15 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:308:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (t = gettok(&s)) { ~~^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: place parentheses around the assignment to silence this warning while (t = gettok(&s)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: use '==' to turn this assignment into an equality comparison while (t = gettok(&s)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:433:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = gettok(&s)) ~~^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: place parentheses around the assignment to silence this warning if (t = gettok(&s)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: use '==' to turn this assignment into an equality comparison if (t = gettok(&s)) ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:455:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (t = gettok(&s)) { ~~^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: place parentheses around the assignment to silence this warning while (t = gettok(&s)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: use '==' to turn this assignment into an equality comparison while (t = gettok(&s)) { ^ == 7 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:15: /usr/include/unistd.h:270:7: error: conflicting types for 'sbrk' void *sbrk(intptr_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:153:14: note: previous declaration is here extern char *sbrk(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:72:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_time() ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:222:16: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] cpu_elapsed, total, totalu); ^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//resource.c:222:23: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] cpu_elapsed, total, totalu); ^~~~~~ 4 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c:22: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c:22: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//shyu.c:22: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//signal.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//signal.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//signal.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spcmdtab.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spcmdtab.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spcmdtab.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c:22: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c:22: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//spiceif.c:22: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//subckt.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//subckt.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//subckt.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//types.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//types.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//types.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//types.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//vectors.c:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//where.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//where.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//where.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//where.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:19: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftegraph.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:24: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Init() ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:105:4: warning: implicit declaration of function 'internalerror' is invalid in C99 [-Wimplicit-function-declaration] internalerror("Can't open X display."); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:147:19: warning: incompatible pointer types passing 'void (Display *, XErrorEvent *)' to parameter of type 'XErrorHandler' (aka 'int (*)(Display *, XErrorEvent *)') [-Wincompatible-pointer-types] XSetErrorHandler(errorhandler); ^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/.x11-buildlink/include/X11/Xlib.h:1862:1: note: passing argument to parameter here ); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:159:2: warning: implicit declaration of function 'externalerror' is invalid in C99 [-Wimplicit-function-declaration] externalerror(ErrorMessage); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_NewViewport(graph) ^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:394:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Close() ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:399:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_DrawLine(x1, y1, x2, y2) ^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Text(text, x, y) ^~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:466:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_DefineColor(colorid, red, green, blue) ^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:476:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_DefineLinestyle(linestyleid, mask) ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:483:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_SetLinestyle(linestyleid) ^~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:503:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (linestyleid == 0 || numdispplanes > 1 && linestyleid != 1) { ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:503:46: note: place parentheses around the '&&' expression to silence this warning if (linestyleid == 0 || numdispplanes > 1 && linestyleid != 1) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:518:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_SetColor(colorid) ^~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:528:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Update() ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:536:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] X11_Clear() ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:558:2: warning: implicit declaration of function 'PushGraphContext' is invalid in C99 [-Wimplicit-function-declaration] PushGraphContext(graph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:560:2: warning: implicit declaration of function 'SetColor' is invalid in C99 [-Wimplicit-function-declaration] SetColor(1); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:561:2: warning: implicit declaration of function 'Text' is invalid in C99 [-Wimplicit-function-declaration] Text(text, keyev->x, graph->absolute.height - keyev->y); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:563:2: warning: implicit declaration of function 'SaveText' is invalid in C99 [-Wimplicit-function-declaration] SaveText(graph, text, keyev->x, graph->absolute.height - keyev->y); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:568:2: warning: implicit declaration of function 'PopGraphContext' is invalid in C99 [-Wimplicit-function-declaration] PopGraphContext(); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:600:6: warning: implicit declaration of function 'zoomin' is invalid in C99 [-Wimplicit-function-declaration] zoomin((GRAPH *) clientdata); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:688:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] zoomin(graph) ^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:765:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = index(buf2, ':')) ~~^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:765:8: note: place parentheses around the assignment to silence this warning if (t = index(buf2, ':')) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:765:8: note: use '==' to turn this assignment into an equality comparison if (t = index(buf2, ':')) ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:770:26: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", ~~^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:770:33: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", ~~^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:770:47: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", ~~^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:770:54: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", ~~^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:812:2: warning: implicit declaration of function 'DestroyGraph' is invalid in C99 [-Wimplicit-function-declaration] DestroyGraph(graph->graphid); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:860:2: warning: implicit declaration of function 'gr_redraw' is invalid in C99 [-Wimplicit-function-declaration] gr_redraw(graph); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//x11.c:886:2: warning: implicit declaration of function 'gr_resize' is invalid in C99 [-Wimplicit-function-declaration] gr_resize(graph); ^ 34 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:2: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:3: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:3: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:3: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:3: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:7: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:15:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wl_forall(wl, fn, data) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//gens.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dgen_nth_next(dg, n) ^~~~~~~~~~~~~ 6 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:10: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:49:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = index(w->wl_word, '[')) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:49:12: note: place parentheses around the assignment to silence this warning if (p = index(w->wl_word, '[')) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:49:12: note: use '==' to turn this assignment into an equality comparison if (p = index(w->wl_word, '[')) ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:139:57: warning: '&&' within '||' [-Wlogical-op-parentheses] } else if (state == 4 || state < 2 && (state != 0 || p && *p)) { ~~ ~~^~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:139:57: note: place parentheses around the '&&' expression to silence this warning } else if (state == 4 || state < 2 && (state != 0 || p && *p)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:139:37: warning: '&&' within '||' [-Wlogical-op-parentheses] } else if (state == 4 || state < 2 && (state != 0 || p && *p)) { ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:139:37: note: place parentheses around the '&&' expression to silence this warning } else if (state == 4 || state < 2 && (state != 0 || p && *p)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:210:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (wl = wlast); ~~~^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: place parentheses around the assignment to silence this warning } while (wl = wlast); ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: use '==' to turn this assignment into an equality comparison } while (wl = wlast); ^ == 8 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//dimens.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 3 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//xgraph.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//xgraph.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//xgraph.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms2.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms2.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms2.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/fte//runcoms2.c:49:5: warning: implicit declaration of function 'reset_trace' is invalid in C99 [-Wimplicit-function-declaration] reset_trace( ); ^ 2 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp2.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp2.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/fte//breakp2.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in hlp gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//help.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//help.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//help.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//provide.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//provide.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//provide.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:84:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*buf = '\0' || ~~~~~^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: place parentheses around the assignment to silence this warning if (*buf = '\0' || ^ /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: use '==' to turn this assignment into an equality comparison if (*buf = '\0' || ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:119:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (topiclink = getsubtoplink(&s)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: place parentheses around the assignment to silence this warning if (topiclink = getsubtoplink(&s)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: use '==' to turn this assignment into an equality comparison if (topiclink = getsubtoplink(&s)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:136:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (topiclink = getsubtoplink(&s)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: place parentheses around the assignment to silence this warning if (topiclink = getsubtoplink(&s)) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: use '==' to turn this assignment into an equality comparison if (topiclink = getsubtoplink(&s)) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = index(s, ':')) { ~~~~^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: place parentheses around the assignment to silence this warning if (tmp = index(s, ':')) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: use '==' to turn this assignment into an equality comparison if (tmp = index(s, ':')) { ^ == 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//textdisp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//textdisp.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//x11disp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//x11disp.c:8: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//x11disp.c:8: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//xdisplay.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//xdisplay.c:7: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/hlp//xdisplay.c:7: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in inp gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:9: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/lib/inp//ifnewuid.c:83:21: warning: implicit declaration of function 'INPremTerm' is invalid in C99 [-Wimplicit-function-declaration] error = INPremTerm(uid, (INPtables *)ft_curckt->ci_symtab); ^ 5 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2b.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2b.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2b.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2c.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2c.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2c.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2d.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2d.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2d.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2dot.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2e.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2e.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2e.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2f.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2f.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2f.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2g.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2g.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2g.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2h.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2h.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2h.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2i.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2i.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2i.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2j.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2j.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2j.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2k.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2k.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2k.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2l.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2l.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2l.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2m.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2m.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2m.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2o.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2o.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2o.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2q.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2q.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2q.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2r.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2r.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2r.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2s.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2s.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2s.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2t.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2t.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2t.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2u.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2u.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2u.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2v.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2v.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2v.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2w.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2w.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2w.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2z.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2z.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/fteparse.h:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedata.h:12: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inp2z.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpaname.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:9: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpapnam.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:17: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdoopt.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:20: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpdpar.c:21: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpfindl.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpfindl.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpfindl.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:9: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:11: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgmod.c:12: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtitl.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtok.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtok.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgtok.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppas2.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned int, unsigned int)' /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:109:7: error: conflicting types for 'calloc' void *calloc(size_t, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here extern char *calloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:117:7: error: conflicting types for 'malloc' void *malloc(size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here extern char *malloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:8: /usr/include/stdlib.h:120:7: error: conflicting types for 'realloc' void *realloc(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here extern char *realloc(); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inppname.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 4 warnings and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpptree.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpptree.c:7: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpptree.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpptree.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpptree.c:15: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c:16: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c:17: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpsymt.c:18: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 1 warning and 5 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inptyplk.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inptyplk.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inptyplk.c:14: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgstr.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgstr.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc' extern char *malloc(); ^ /usr/include/stdlib.h:117:7: note: previous declaration is here void *malloc(size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc' extern char *calloc(); ^ /usr/include/stdlib.h:109:7: note: previous declaration is here void *calloc(size_t, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/inp//inpgstr.c:13: /usr/pkgsrc/work/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc' extern char *realloc(); ^ /usr/include/stdlib.h:120:7: note: previous declaration is here void *realloc(void *, size_t); ^ 4 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in mfb gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfb3d.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfb3d.c:23: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:23: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBSetLineStyle(styleId) ^~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBSetFillPattern(styleId) ^~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:735:41: warning: implicitly declaring library function 'abs' with type 'int (int)' MFBCurrent->sumLineLength += MFBmax(abs(X1-X2),abs(Y1-Y2)); ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:71:22: note: expanded from macro 'MFBmax' #define MFBmax(a,b) (a > b ? a : b) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:735:41: note: please include the header or explicitly provide a declaration for 'abs' /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:71:22: note: expanded from macro 'MFBmax' #define MFBmax(a,b) (a > b ? a : b) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:935:27: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' MFBCurrent->nChars += strlen(text); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:935:27: note: please include the header or explicitly provide a declaration for 'strlen' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:1083:1: warning: '/*' within block comment [-Wcomment] /* WINDOW CONTROL ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:1084:1: warning: '/*' within block comment [-Wcomment] /* ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbbasic.c:1085:1: warning: '/*' within block comment [-Wcomment] /***********************************************************************/ ^ 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:27: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:88:23: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] cnt = read(mfbcapDesc, inputBuffer, BUFSIZE); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:90:24: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if(close(mfbcapDesc) < 0) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:127:12: warning: implicit declaration of function 'mfbnamatch' is invalid in C99 [-Wimplicit-function-declaration] if(mfbnamatch(name)){ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:153:19: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' p = mfb_buf + strlen(mfb_buf); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:153:19: note: please include the header or explicitly provide a declaration for 'strlen' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mfbnamatch(np) ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBGetFlag(id) ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbcaps.c:361:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBGetNum(id) ^~~~~~~~~ 8 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbclip.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbclip.c:23: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ 1 warning and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbdec.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbdec.c:24: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbdec.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBDecode(PM) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbdec.c:278:23: warning: implicitly declaring library function 'abs' with type 'int (int)' which = abs(c); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbdec.c:278:23: note: please include the header or explicitly provide a declaration for 'abs' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbdec.c:298:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mfbdecnum( base, maxdigits ) ^~~~~~~~~ 4 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:23: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:28:13: error: conflicting types for 'ftime' extern void ftime(); ^ /usr/include/sys/timeb.h:54:5: note: previous declaration is here int ftime(struct timeb *); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) { ~~^~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: place parentheses around the assignment to silence this warning while (c = *cp++) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:307:20: warning: '&' within '|' [-Wbitwise-op-parentheses] extra = x1 & 03 | ((y1 & 03) << 2); ~~~^~~~ ~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:307:20: note: place parentheses around the '&' expression to silence this warning extra = x1 & 03 | ((y1 & 03) << 2); ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:312:36: warning: '&' within '|' [-Wbitwise-op-parentheses] oextra = MFBCurrent->lastX & 03 | ((MFBCurrent->lastY & 3)<<2); ~~~~~~~~~~~~~~~~~~^~~~ ~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:312:36: note: place parentheses around the '&' expression to silence this warning oextra = MFBCurrent->lastX & 03 | ((MFBCurrent->lastY & 3)<<2); ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:411:17: warning: implicitly declaring library function 'abs' with type 'int (int)' which = abs(which); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbgnc.c:411:17: note: please include the header or explicitly provide a declaration for 'abs' 5 warnings and 3 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:23: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:116:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBPutchar(c) ^~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MFBPutstr(c,n) ^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:331:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(buf, "r")) { ~~~^~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:331:16: note: place parentheses around the assignment to silence this warning if (fp = fopen(buf, "r")) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:331:16: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(buf, "r")) { ^ == /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:346:22: warning: implicit declaration of function 'MFBGetEnt' is invalid in C99 [-Wimplicit-function-declaration] if((*errorcode = MFBGetEnt(gEntBuf,TerminalName,mfbcapFile)) <= 0) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:353:8: warning: implicit declaration of function 'MFBGetFlag' is invalid in C99 [-Wimplicit-function-declaration] if(MFBGetFlag("TTY")) { ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:394:17: warning: implicit declaration of function 'MFBGetNum' is invalid in C99 [-Wimplicit-function-declaration] mfb->maxX = MFBGetNum("MXC"); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:697:12: error: use of undeclared identifier 'TIOCGETP' if(ioget(1, &MFBCurrent->kybrdTtyb.oldttyb) < 0) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:36:38: note: expanded from macro 'ioget' #define ioget(FD, TTYB_P) (ioctl(FD, TIOCGETP, (char *) TTYB_P)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:699:12: error: use of undeclared identifier 'TIOCLGET' if(iogetl(1, &MFBCurrent->oldstat.kybrdttyw) < 0) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:37:37: note: expanded from macro 'iogetl' #define iogetl(FD, BITS) (ioctl(FD, TIOCLGET, (char *) BITS)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:703:2: error: use of undeclared identifier 'ALLDELAY' iosetmfb_flags(MFBCurrent->kybrdTtyb.newttyb); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:40:50: note: expanded from macro 'iosetmfb_flags' #define iosetmfb_flags(TTYB) ((TTYB.sg_flags &= (ALLDELAY & ~XTABS)), \ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:703:2: error: use of undeclared identifier 'XTABS' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:40:62: note: expanded from macro 'iosetmfb_flags' #define iosetmfb_flags(TTYB) ((TTYB.sg_flags &= (ALLDELAY & ~XTABS)), \ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:703:2: error: use of undeclared identifier 'ODDP' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:41:27: note: expanded from macro 'iosetmfb_flags' (TTYB.sg_flags |= ODDP | EVENP | CBREAK)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:703:2: error: use of undeclared identifier 'EVENP' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:41:34: note: expanded from macro 'iosetmfb_flags' (TTYB.sg_flags |= ODDP | EVENP | CBREAK)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:703:2: error: use of undeclared identifier 'CBREAK' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:41:42: note: expanded from macro 'iosetmfb_flags' (TTYB.sg_flags |= ODDP | EVENP | CBREAK)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:708:12: error: use of undeclared identifier 'TIOCSETN' if(ioset(1, &MFBCurrent->kybrdTtyb.newttyb) < 0) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:34:38: note: expanded from macro 'ioset' #define ioset(FD, TTYB_P) (ioctl(FD, TIOCSETN, (char *) TTYB_P)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:726:12: error: use of undeclared identifier 'TIOCGETP' if(ioget(MFBCurrent->fileDesc, &MFBCurrent->graphTtyb.oldttyb) < 0) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:36:38: note: expanded from macro 'ioget' #define ioget(FD, TTYB_P) (ioctl(FD, TIOCGETP, (char *) TTYB_P)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:728:12: error: use of undeclared identifier 'TIOCLGET' if(iogetl(MFBCurrent->fileDesc, &MFBCurrent->oldstat.graphttyw) < 0) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:37:37: note: expanded from macro 'iogetl' #define iogetl(FD, BITS) (ioctl(FD, TIOCLGET, (char *) BITS)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:732:2: error: use of undeclared identifier 'ALLDELAY' iosetmfb_flags(MFBCurrent->graphTtyb.newttyb); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:40:50: note: expanded from macro 'iosetmfb_flags' #define iosetmfb_flags(TTYB) ((TTYB.sg_flags &= (ALLDELAY & ~XTABS)), \ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:732:2: error: use of undeclared identifier 'XTABS' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:40:62: note: expanded from macro 'iosetmfb_flags' #define iosetmfb_flags(TTYB) ((TTYB.sg_flags &= (ALLDELAY & ~XTABS)), \ ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:732:2: error: use of undeclared identifier 'ODDP' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:41:27: note: expanded from macro 'iosetmfb_flags' (TTYB.sg_flags |= ODDP | EVENP | CBREAK)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:732:2: error: use of undeclared identifier 'EVENP' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:41:34: note: expanded from macro 'iosetmfb_flags' (TTYB.sg_flags |= ODDP | EVENP | CBREAK)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:732:2: error: use of undeclared identifier 'CBREAK' /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:41:42: note: expanded from macro 'iosetmfb_flags' (TTYB.sg_flags |= ODDP | EVENP | CBREAK)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:743:10: error: use of undeclared identifier 'TIOCLBIS' if (iolitout(MFBCurrent->fileDesc, ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:38:38: note: expanded from macro 'iolitout' #define iolitout(FD, CODE) (ioctl(FD,TIOCLBIS,(char *) LLITOUT)) ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:748:6: error: use of undeclared identifier 'RAW' iosetraw(MFBCurrent->graphTtyb.newttyb); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbio.c:39:42: note: expanded from macro 'iosetraw' #define iosetraw(TTYB) (TTYB.sg_flags |= RAW, 0) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbtext.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/mfb//mfbtext.c:23: /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:19: error: field has incomplete type 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:123:19: error: field has incomplete type 'struct sgttyb' struct sgttyb newttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:122:12: note: forward declaration of 'struct sgttyb' struct sgttyb oldttyb; ^ /usr/pkgsrc/work/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] extern struct err { ^ 1 warning and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in misc gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//alloc.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//alloc.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//dos_dirs.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//dos_dirs.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//ivars.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//ivars.c:6: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/misc//ivars.c:38:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' sprintf(buffer, "%s%s%s", b, DIR_PATHSEP, v); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/misc//ivars.c:38:2: note: please include the header or explicitly provide a declaration for 'sprintf' /usr/pkgsrc/work/cad/spice/work/src/lib/misc//ivars.c:60:15: warning: incompatible pointer types passing 'int *' to parameter of type 'char **' [-Wincompatible-pointer-types] env_overr(&AsciiRawFile, "SPICE_ASCIIRAWFILE"); ^~~~~~~~~~~~~ 2 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//math.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//math.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//mktemp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//mktemp.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//string.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//string.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/misc//string.c:34:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = tmalloc(strlen(str) + 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/misc//string.c:34:11: note: place parentheses around the assignment to silence this warning if (p = tmalloc(strlen(str) + 1)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/misc//string.c:34:11: note: use '==' to turn this assignment into an equality comparison if (p = tmalloc(strlen(str) + 1)) ^ == 1 warning and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//tilde.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//tilde.c:7: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/misc//tilde.c:39:23: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^ 1 warning and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/misc//time.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/misc//time.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Making "install" in ni Done with work/src/lib/ni Making "install" in sparse gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spalloc.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spalloc.c:73: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spbuild.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spbuild.c:72: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spfactor.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spfactor.c:71: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spoutput.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spoutput.c:60: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsmp.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsmp.c:115: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsmp.c:459:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (diag = Diag[I]) ~~~~~^~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: place parentheses around the assignment to silence this warning if (diag = Diag[I]) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: use '==' to turn this assignment into an equality comparison if (diag = Diag[I]) ^ == 1 warning and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsolve.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spsolve.c:61: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//sputils.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//sputils.c:74: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -c /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spextra.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spextra.c:28: In file included from /usr/pkgsrc/work/cad/spice/work/src/lib/sparse/spdefs.h:40: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/lib/sparse//spextra.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] spConstMult(matrix, constant) ^~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Done with work/src/lib Making "install" in bin gcc -c -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -DSIMULATOR /usr/pkgsrc/work/cad/spice/work/src/bin//main.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:126:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static started = false; ~~~~~~ ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int' void ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:334:5: warning: implicit declaration of function 'ivars' is invalid in C99 [-Wimplicit-function-declaration] ivars( ); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:352:20: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] istty = (bool) isatty(fileno(stdin)); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:357:5: warning: implicit declaration of function 'init_time' is invalid in C99 [-Wimplicit-function-declaration] init_time( ); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:359:11: warning: implicit declaration of function 'SIMinit' is invalid in C99 [-Wimplicit-function-declaration] err = SIMinit(&nutmeginfo,&ft_sim); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:535:13: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(".spiceinit", 0) == 0) ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:538:27: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:564:9: warning: implicit declaration of function 'DevInit' is invalid in C99 [-Wimplicit-function-declaration] DevInit( ); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:636:13: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(tempfile); ^ 11 warnings and 2 errors generated. *** Error code 1 (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/fte.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/ckt.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/hlp.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/inp.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/mfb.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/sparse.a (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/misc.a (continuing) Creating conf.c: /usr/pkgsrc/work/cad/spice/work/util/mkvers.sh "asrc bjt bsim1 bsim2 cap cccs ccvs csw dio ind isrc jfet ltra mes mos1 mos2 mos3 mos6 res sw tra urc vccs vcvs vsrc" "op dc tf ac tran pz disto noise sense" "3f5.1" "" > conf.c cat /usr/pkgsrc/work/cad/spice/work/src/bin//config.c >> conf.c chmod -w "conf.c" gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c conf.c < /dev/null Creating tune.c chmod -w "tune.c" gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c tune.c < /dev/null gcc -c -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:11: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:15: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:16: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:126:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static started = false; ~~~~~~ ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int' void ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:334:5: warning: implicit declaration of function 'ivars' is invalid in C99 [-Wimplicit-function-declaration] ivars( ); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:352:20: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] istty = (bool) isatty(fileno(stdin)); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:357:5: warning: implicit declaration of function 'init_time' is invalid in C99 [-Wimplicit-function-declaration] init_time( ); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:359:11: warning: implicit declaration of function 'SIMinit' is invalid in C99 [-Wimplicit-function-declaration] err = SIMinit(&nutmeginfo,&ft_sim); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:535:13: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(".spiceinit", 0) == 0) ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:538:27: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//main.c:564:9: warning: implicit declaration of function 'DevInit' is invalid in C99 [-Wimplicit-function-declaration] DevInit( ); ^ 10 warnings and 2 errors generated. Creating nconf.c: *** Error code 1 (continuing) /usr/pkgsrc/work/cad/spice/work/util/mkvers.sh "" "" "3f5.1" "" > nconf.c cat /usr/pkgsrc/work/cad/spice/work/src/bin//nconfig.c >> nconf.c chmod -w "nconf.c" gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c nconf.c < /dev/null gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:12: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:13: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/ftedefs.h:56: /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] extern void main(); ^ /usr/pkgsrc/work/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int' extern void main(); ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:39:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:39:1: note: change return type to 'int' void ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:76:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = fread(buf, 1, sizeof(buf), stdin)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:76:22: note: place parentheses around the assignment to silence this warning while (i = fread(buf, 1, sizeof(buf), stdin)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:76:22: note: use '==' to turn this assignment into an equality comparison while (i = fread(buf, 1, sizeof(buf), stdin)) ^ == /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:148:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = fread(buf, 1, sizeof(buf), fp)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:148:18: note: place parentheses around the assignment to silence this warning while (i = fread(buf, 1, sizeof(buf), fp)) ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:148:18: note: use '==' to turn this assignment into an equality comparison while (i = fread(buf, 1, sizeof(buf), fp)) ^ == /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:151:16: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(infile); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//sconvert.c:235:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] a, i); ^ 6 warnings and 2 errors generated. *** Error code 1 (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/fte/rawfile.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/fte/types.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/fte/error.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/numparse.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/quote.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/std.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/wlist.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/input.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/lexical.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/variable.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/cp/var2.o (continuing) bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj/lib/fte/dimens.o (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -DWANT_X11 -I/usr/X11R7/include -I/usr/X11R7/include/X11 -I/usr/X11R7/include/X11/Xmu -I/usr/X11R7/include/X11/Xaw -c -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ /usr/pkgsrc/work/cad/spice/work/src/bin//help.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//help.c:29: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:16: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//help.c:29: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//help.c:49:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /usr/pkgsrc/work/cad/spice/work/src/bin//help.c:49:1: note: change return type to 'int' void ^~~~ int /usr/pkgsrc/work/cad/spice/work/src/bin//help.c:64:5: warning: implicit declaration of function 'ivars' is invalid in C99 [-Wimplicit-function-declaration] ivars( ); ^ 2 warnings and 2 errors generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/bin//proc2mod.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//proc2mod.c:9: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//proc2mod.c:54:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /usr/pkgsrc/work/cad/spice/work/src/bin//proc2mod.c:54:1: note: change return type to 'int' void ^~~~ int 1 warning and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -c -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c:10: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c:24:2: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *s++) { ~~~^~~~~~ /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c:50:13: note: place parentheses around the assignment to silence this warning while (ch = *s++) { ^ ( ) /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c:50:13: note: use '==' to turn this assignment into an equality comparison while (ch = *s++) { ^ == /usr/pkgsrc/work/cad/spice/work/src/bin//multidec.c:229:1: warning: implicit declaration of function 'spErrorMessage' is invalid in C99 [-Wimplicit-function-declaration] spErrorMessage(othermatrix,stderr,NULL); ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) gcc -O2 -pipe -I/usr/pkgsrc/work/cad/spice/work/src/include -O2 -march=i586 -Dbsd -I/usr/include -I/usr/pkgsrc/work/cad/spice/work/src/include -I/usr/pkgsrc/work/cad/spice/work/src//lib/dev/ -c /usr/pkgsrc/work/cad/spice/work/src/bin//makeidx.c < /dev/null In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//makeidx.c:8: /usr/pkgsrc/work/cad/spice/work/src/include/misc.h:105:12: error: conflicting types for 'bzero' extern int bzero(); ^ /usr/include/strings.h:54:7: note: previous declaration is here void bzero(void *, size_t); ^ In file included from /usr/pkgsrc/work/cad/spice/work/src/bin//makeidx.c:10: In file included from /usr/pkgsrc/work/cad/spice/work/src/include/cpdefs.h:14: /usr/pkgsrc/work/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv' extern void setenv(); ^ /usr/include/stdlib.h:238:6: note: previous declaration is here int setenv(const char *, const char *, int); ^ /usr/pkgsrc/work/cad/spice/work/src/bin//makeidx.c:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ 1 warning and 2 errors generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Done with work/src Making "install" in lib rm -f /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/mfbcap cp /usr/pkgsrc/work/cad/spice/work/lib/mfbcap /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/mfbcap rm -f /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/news cp /usr/pkgsrc/work/cad/spice/work/lib/news /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/news rm -f /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/scripts/setplot cp /usr/pkgsrc/work/cad/spice/work/lib/scripts/setplot /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/scripts/setplot rm -f /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/scripts/spinit cp /usr/pkgsrc/work/cad/spice/work/lib/scripts/spinit /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/scripts/spinit rm -f /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/helpdir/spice.txt cp /usr/pkgsrc/work/cad/spice/work/lib/helpdir/spice.txt /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/share/spice3/helpdir/spice.txt bmake: don't know how to make /usr/pkgsrc/work/cad/spice/work/NetBSD/obj//bin/makeidx (continuing) Done with work/lib `recursive' not remade because of errors. Done with work Done with build at Wed Dec 3 08:03:25 GMT 2014 /bin/chmod a+rx /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/spice3 /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/nutmeg /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/sconvert /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/help /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/proc2mod /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/multidec chmod: /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/spice3: No such file or directory chmod: /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/nutmeg: No such file or directory chmod: /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/sconvert: No such file or directory chmod: /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/help: No such file or directory chmod: /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/proc2mod: No such file or directory chmod: /usr/pkgsrc/work/cad/spice/work/.destdir/usr/pkg/bin/multidec: No such file or directory *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/cad/spice *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/cad/spice